Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What is this crap?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
oldefortran
l33t
l33t


Joined: 28 Feb 2004
Posts: 652

PostPosted: Thu Mar 11, 2004 7:58 pm    Post subject: What is this crap? Reply with quote

I can't find g77 (fortran compiler). 8O

I'm thinking about becoming a gentoo developer... 8)
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
View user's profile Send private message
db_404
Guru
Guru


Joined: 05 Dec 2002
Posts: 336

PostPosted: Thu Mar 11, 2004 8:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mnemia
Guru
Guru


Joined: 17 May 2002
Posts: 476

PostPosted: Thu Mar 11, 2004 8:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
oldefortran
l33t
l33t


Joined: 28 Feb 2004
Posts: 652

PostPosted: Thu Mar 11, 2004 8:44 pm    Post subject: Reply with quote

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. :oops:
Back to top
View user's profile Send private message
uglyb0b
Apprentice
Apprentice


Joined: 07 Sep 2003
Posts: 280

PostPosted: Fri Mar 12, 2004 1:22 am    Post subject: Reply with quote

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
View user's profile Send private message
tlepo
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 131
Location: Elouges (Belg.)

PostPosted: Thu May 13, 2004 5:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Roptaty
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 184
Location: Norway

PostPosted: Thu May 13, 2004 5:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Thu May 13, 2004 5:57 pm    Post subject: Reply with quote

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.
_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
Vulpes_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2004
Posts: 119
Location: Hungary

PostPosted: Mon May 17, 2004 1:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Mon May 17, 2004 1:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
avenj
Retired Dev
Retired Dev


Joined: 11 Oct 2002
Posts: 495
Location: New Hampshire

PostPosted: Mon May 17, 2004 1:42 pm    Post subject: Reply with quote

use-index.xml only indexes global USE flags. The f77 flag is local.
Back to top
View user's profile Send private message
Vulpes_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2004
Posts: 119
Location: Hungary

PostPosted: Mon May 17, 2004 1:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vulpes_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2004
Posts: 119
Location: Hungary

PostPosted: Mon May 17, 2004 5:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum