Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50777 - octave-2.1.57-r1 seems to have a missing dep
Summary: octave-2.1.57-r1 seems to have a missing dep
Status: VERIFIED REMIND
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 51137 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-11 11:18 UTC by Radek Podgorny
Modified: 2005-09-10 02:13 UTC (History)
2 users (show)

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 Radek Podgorny 2004-05-11 11:18:09 UTC
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


BUT:

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...
Radek
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-11 22:41:26 UTC
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 ***
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-05-12 04:50:39 UTC
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
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2004-05-12 09:56:04 UTC
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
else
   g77 "standard" procedure
fi
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
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2004-05-15 12:59:08 UTC
George: I copied that lapack-atlas check routine over to octave ebuild, as well as the new ifc useflag and its dependency.
Comment 5 Danny van Dyk (RETIRED) gentoo-dev 2004-05-15 12:59:55 UTC
*** Bug 51137 has been marked as a duplicate of this bug. ***
Comment 6 Peter Bienstman (RETIRED) gentoo-dev 2005-09-10 02:13:39 UTC
Closing, this seems to have been resolved quite a while ago (see 
http://bugs.gentoo.org/show_bug.cgi?id=66193 )