Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129857 - octave fails to build with gcc >=4.0.0 due to gfortran name change
Summary: octave fails to build with gcc >=4.0.0 due to gfortran name change
Status: RESOLVED DUPLICATE of bug 108781
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-13 12:59 UTC by John Sonnenschein
Modified: 2006-04-13 15:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Sonnenschein 2006-04-13 12:59:01 UTC
which: no g77 in (/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.0.3:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/oracle/product/10.2.0.1/bin)
 * No fortran compiler found on the system!
 * Please add fortran to your USE flags and reemerge gcc!

gcc is compiled with fortran support, the only problem is that it looks for g77 instead of gfortran (which is the new naming scheme). 
A workaround is 
# ln -s /usr/bin/gfortran /usr/bin/g77
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-13 14:47:24 UTC
Which version?
Comment 2 John Sonnenschein 2006-04-13 15:39:38 UTC
2.1.69
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-13 15:42:23 UTC
So use 2.1.72 ;)

*** This bug has been marked as a duplicate of 108781 ***