I was unable to compile octave 2.1.50 with ebuild specified in summary. I have gcc compiled without g77, so I emerged f2c (after configure of octave failed) and the compilation started. It failed at linking of main exec - the reason was that configure script was unable to locate libf2c.so (it should add -lf2c to FLIBS) with error /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libf2c.so: undefined reference to `MAIN__' WORKAROUND: I added CPPFLAGS="-u MAIN__" in octave-2.1.50.ebuild to arguments passed by ebuild to configure and then 'emerge octave' succeded Reproducible: Always Steps to Reproduce: 1. gcc 3.3.3 compiled without g77, no other fortran compiler 2. emerge f2c # (20030320) 3. emerge octave # (2.1.50) Actual Results: Compilation of octave failed with linker errors. Expected Results: Compile and install octave. Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe -DNDEBUG -DG_DISABLE_ASSERTS -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS " CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe -DNDEBUG -DG_DISABLE_ASSERTS -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.du.se/pub/os/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.lug.ro/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acl acpi alsa apache2 avi berkdb cdr crypt cups dga doc dvd emacs encode esd fam fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg junit leim libg++ libwww linguas_pl mad mikmod mmx motif mozilla mpeg mysql ncurses nhc98 nls nptl oggvorbis opengl pam pdflib perl plotutils png postgres python qt quicktime readline samba sdl slang spell ssl stroke svga tcltk tcpd tetex truetype unicode wxwindows x86 xml2 xmms xv xvid zlib"
Since you didn't give any details, I mark this as the duplicate of another bug which most likely describes the same problem, but more verbose. *** This bug has been marked as a duplicate of 66193 ***