sol radek # emerge octave -pv
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] app-sci/octave-2.1.57-r1 [2.1.57] -emacs -hdf5 -mpi +readline -static +tetex +zlib 0 kB
Total size of downloads: 0 kB
sol radek # emerge octave
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking for f2c... no
configure: WARNING: in order to build octave, you must have a compatible
configure: WARNING: Fortran compiler or f2c installed and in your path.
configure: error: See the file INSTALL for more information.
!!! ERROR: app-sci/octave-2.1.57-r1 failed.
!!! Function src_compile, Line 52, Exitcode 1
!!! configure failed
If you need more info, please ask...
Hopefully the gcc guys will get the "f77" flag set on by default before they unmask it.
*** This bug has been marked as a duplicate of 50360 ***
Add "f77" to your useflags and remerge gcc. That should allow you to procede.
I added a conditional warning to app-sci/octave in case g77 is missing.
I only added a warning, as there are more fortran compilers than GNU Fortran !
@Phosphan: I just saw that I'm some minutes too late *G
Well, AFAICSee we only have ifc in the tree (that is in addition to the gcc), oh and cfal, but that one will only work for Alpha. For the general population there are mostly these two and IIRC ifc requires somewhat different invocation parameters for the most part. Meaning it has to be processed in a special way, like
if use ifc ; then
ifc invocations or patches
g77 "standard" procedure
or some such.
I am about to add ifc to use.desc, as it is already used by blas-reference and lapack-atlas (both masked atm, but if you would like to use this flag I can go right ahead with adding it). So you might consider adding a pkg_setup thingy like lapack-atlas does. In such case just let me know and I'll add the ifc flag.
George: I copied that lapack-atlas check routine over to octave ebuild, as well as the new ifc useflag and its dependency.
*** Bug 51137 has been marked as a duplicate of this bug. ***
Closing, this seems to have been resolved quite a while ago (see