View previous topic :: View next topic |
Author |
Message |
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Thu Mar 11, 2004 7:58 pm Post subject: What is this crap? |
|
|
I can't find g77 (fortran compiler).
I'm thinking about becoming a gentoo developer...
But part from that,... I think I'm going to like Gentoo, really going to like it, once I really understand it. |
|
Back to top |
|
|
db_404 Guru
Joined: 05 Dec 2002 Posts: 336
|
Posted: Thu Mar 11, 2004 8:15 pm Post subject: |
|
|
Seems to be part of gcc, its available for me..
Code: |
$ which g77
/usr/i686-pc-linux-gnu/gcc-bin/3.3/g77
$ etcat belongs /usr/i686-pc-linux-gnu/gcc-bin/3.3/g77
Searching for /usr/i686-pc-linux-gnu/gcc-bin/3.3/g77 in * ...
sys-devel/gcc-3.3.2-r5
|
|
|
Back to top |
|
|
Mnemia Guru
Joined: 17 May 2002 Posts: 476
|
Posted: Thu Mar 11, 2004 8:33 pm Post subject: |
|
|
g77 is available and working for me; used it the other day. What version of gcc do you have installed? Otherwise try re-emerging gcc. |
|
Back to top |
|
|
oldefortran l33t
Joined: 28 Feb 2004 Posts: 652
|
Posted: Thu Mar 11, 2004 8:44 pm Post subject: |
|
|
Mnemia wrote: | g77 is available and working for me; used it the other day. What version of gcc do you have installed? Otherwise try re-emerging gcc. |
Well, it's here. I can't understand why the command g77 didn't work earlier. |
|
Back to top |
|
|
uglyb0b Apprentice
Joined: 07 Sep 2003 Posts: 280
|
Posted: Fri Mar 12, 2004 1:22 am Post subject: |
|
|
Gcc inserts some stuff into $PATH. so, for example, if you're on a system and re-merge gcc, then try to use some portion of gcc later, it'll go "oops, I'm not here" when it actually is. I don't know if env-update fixes this, I just logout then log back in after big emerges like that. It's the same with KDE as well. _________________ Blog.
Linux geek and Mac whore. |
|
Back to top |
|
|
tlepo Tux's lil' helper
Joined: 04 Sep 2003 Posts: 131 Location: Elouges (Belg.)
|
Posted: Thu May 13, 2004 5:38 pm Post subject: |
|
|
Hello,
As root, I cannot use g77 and which g77 do not enble me to detect the command.
As a user, it works.
I am wandering why root cannot use g77? Apparently g77 is not spontaneously involved in PAT for root...
Cheers,
T |
|
Back to top |
|
|
Roptaty Apprentice
Joined: 12 May 2002 Posts: 184 Location: Norway
|
Posted: Thu May 13, 2004 5:47 pm Post subject: |
|
|
Have you updated gcc lately? Do you have f77 in your USE flags?
-Edit
I didn't read your last post.
Use su -. The profile.env file will be sourced then. _________________ This signature will selfdestruct in ten seconds...
ten - nine - eight - seven - six - five - four - three - two - one - BSOD (System crashed, please restart the self-destruct sequence) |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
|
Back to top |
|
|
Vulpes_ Tux's lil' helper
Joined: 24 Apr 2004 Posts: 119 Location: Hungary
|
Posted: Mon May 17, 2004 1:19 pm Post subject: |
|
|
robmoss2k wrote: | The Fortran compiler now requires a USE flag. You must put "f77" into your USE flags in order for it to be compiled as part of GCC. |
This "f77" flag is not included in the "Currently available USE variables" table here: http://www.gentoo.org/dyn/use-index.xml |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Mon May 17, 2004 1:25 pm Post subject: |
|
|
Rather a lot is not included there. You can always check what useflags a package takes with emerge -pv package. More useflags are mentioned in /usr/portage/profiles/use.desc and /usr/portage/profiles/use.local.desc _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
avenj Retired Dev
Joined: 11 Oct 2002 Posts: 495 Location: New Hampshire
|
Posted: Mon May 17, 2004 1:42 pm Post subject: |
|
|
use-index.xml only indexes global USE flags. The f77 flag is local. |
|
Back to top |
|
|
Vulpes_ Tux's lil' helper
Joined: 24 Apr 2004 Posts: 119 Location: Hungary
|
Posted: Mon May 17, 2004 1:52 pm Post subject: |
|
|
I see... BTW, meanwhile I re-compiled GCC (USE="f77" emerge gcc), even did a reboot, but I still get "f77: installation problem, cannot exec `f771': No such file or directory"! |
|
Back to top |
|
|
Vulpes_ Tux's lil' helper
Joined: 24 Apr 2004 Posts: 119 Location: Hungary
|
Posted: Mon May 17, 2004 5:04 pm Post subject: |
|
|
Vulpes_ wrote: | I see... BTW, meanwhile I re-compiled GCC (USE="f77" emerge gcc), even did a reboot, but I still get "f77: installation problem, cannot exec `f771': No such file or directory"! |
Creating a symlink to include the "F771" folder (/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2") in PATH made the error message above disappear, but left me with a "ld: cannot find -lg2c" message. However, running g77 instead of f77 seems to get the job done... The f77 was the default command in the install-script of the application I tried to compile. |
|
Back to top |
|
|
|