In /usr/share/octave/2.1.57/site/m/octave-forge/graceplot/grace_octave_path.m, I see: __pl_grace_octave_path = /local/tmp/portage/octave-forge-2004.02.12/image//usr/share/octave/2.1.57/site/octave-forge-alternatives/m/graceplot"; Needless to say, this breaks the module ;-) Reproducible: Always Steps to Reproduce:
Found a fix, not yet in portage... maybe tomorrow.
Fix for 2004.11.16 is in portage now (-r1). 2004.02 still waiting, will have to use an older gcc to test this.
couldn't compile here >>> Unpacking source... >>> Unpacking octave-forge-2004.11.16.tar.gz to /var/tmp/portage/octave-forge-2004.11.16-r1/work * Applying 2004.11.16.patch ... [ ok ] >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for mkoctfile... mkoctfile /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfrtbegin collect2: ld returned 1 exit status configure: error: Could not run mkoctfile !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/octave-forge-2004.11.16-r1/work/octave-forge-2004.11.16/config.log !!! ERROR: sci-mathematics/octave-forge-2004.11.16-r1 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 53018 [details] The log
Most likely a problem with your gcc version. Will upgrade and try.
Patrizio, please try mkoctfile --print FLIBS If you don't see the paths to your gcc version there, you must recompile octave with the same gcc version you use to compile octave-forge.
Tried the old version with the same change to the ebuild (octave-forge-2004.11.16-r1), works as expected. Closing. If there are still problems, just let me know.