RE: [fluka-discuss]: install FLUKA in ubuntu 12.04

From: Anton Lechner <Anton.Lechner_at_cern.ch>
Date: Thu, 3 Jul 2014 08:06:32 +0000

Dear Ahmed,

I appears that you have the same problem as already previously discussed on the list, i.e. it seems you don't have the gcc compatibility libraries or they are just not found. Following answers may help:
http://www.fluka.org/web_archive/earchive/new-fluka-discuss/5097.html (not that the file proposed for download in this answer was for a previous Ubuntu version)
http://www.fluka.org/web_archive/earchive/new-fluka-discuss/5099.html
http://www.fluka.org/web_archive/earchive/new-fluka-discuss/5591.html

[I suppose you are using a 32bit system, as you specified previously]

Cheers, Anton


________________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Shakeel Ahmed, Dr. [shakeel_at_pinstech.org.pk]
Sent: 03 July 2014 07:17
To: nozarm_at_triumf.ca
Cc: fluka-discuss_at_fluka.org
Subject: RE: [fluka-discuss]: install FLUKA in ubuntu 12.04

Thanks Mina
I tried and successfully install g77 but now I am getting different type of error which is

gcc version 3.4.6 (Ubuntu 3.4.6-6ubuntu5)
 /usr/lib/gcc/i486-linux-gnu/3.4.6/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o flukahp crt1.o crti.o /usr/lib/gcc/i486-linux-gnu/3.4.6/crtbegin.o -L/home/shakeel/FLUKA -L/usr/lib/gcc/i486-linux-gnu/3.4.6 -L/usr/lib/gcc/i486-linux-gnu/3.4.6 -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../.. -L/lib/../lib -L/usr/lib/../lib -Map flukahp.map fluka.o -lflukahp -lfrtbegin -lg2c -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i486-linux-gnu/3.4.6/crtend.o crtn.o
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
cd flutil; FLUPRO=/home/shakeel/FLUKA make all; cd ..
make[1]: Entering directory `/home/shakeel/FLUKA/flutil'
g77 -O3 -g -mcpu=pentiumpro -fexpensive-optimizations -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -ffortran-bounds-check -m32 -o actdline actdline.o
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[1]: *** [actdline] Error 1
make[1]: Leaving directory `/home/shakeel/FLUKA/flutil'

Can any one help me in this regards
thanks
shakeel




________________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] On Behalf Of Mina Nozar [nozarm_at_triumf.ca]
Sent: Thursday, July 03, 2014 3:31 AM
To: felixpino_at_usb.ve; fluka-discuss_at_fluka.org
Subject: Re: [fluka-discuss]: install FLUKA in ubuntu 12.04

Hello Felix (?)

Try building g77 from the tar file:

http://conquer-ur-computer.blogspot.ca/2011/02/g77-offline-installation-for-all-ubuntu.html

Let me know how it goes.
Mina

On 14-07-02 01:34 PM, felixpino_at_usb.ve wrote:
> Dear experts,
>
> Has someone installed FLUKA in ubuntu 12.04 (32 bit)?. I have a
> problem with the g77 compiler, how can I get this compiler for ubuntu
> 12.04?
>
> Thanks
>
Received on Thu Jul 03 2014 - 11:36:43 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 03 2014 - 11:36:46 CEST