From help-octave-request at bevo dot che dot wisc dot edu Mon Aug 25 13:41:41 2003 Subject: Re: octave-2.1.50 with octave-forge-2.1.36 From: Julius Smith To: help-octave at bevo dot che dot wisc dot edu Cc: bug-octave at bevo dot che dot wisc dot edu, "T.Sariyski" Date: Mon, 25 Aug 2003 11:39:40 -0700 Thanks to some tips from from Paul Kienzle, I found that this problem is caused by building Octave with shared-libraries disabled (the default). Apparently, on a Red Hat 9 Linux system, one MUST add the configure option configure --enable-shared The INSTALL.OCTAVE file even documents this potential problem: `--enable-shared' Create shared libraries. ... It will make your `.oct' files much smaller and on some systems it may be necessary to build shared libraries in order to use dynamically linked functions. I would suggest that Octave's configure script should enable shared libraries by default, at least on all systems (such as Red Hat 9) where it is known to be required for Octave Forge compatibility. Julius At 12:08 PM 8/23/2003 -0700, Julius Smith wrote: >Since the Octave Forge package is said to have been tested with >octave-2.1.49, I tried rolling back to that, but the failure is the same. >-- jos > >At 11:30 AM 8/23/2003 -0700, Julius Smith wrote: >>I just obtained identical results (a month later) using the same packages >>on my RedHat 9 system. No workaround as yet. -- jos >> >>At 04:33 PM 7/28/2003 -0400, T.Sariyski wrote: >>>Hi, >>> >>>I just compiled octave-2.1.50 with octave-forge-2.1.36 >>>on >>>an i386/RedHat9.0. The compilation of octave were fluent. >>> >>>make check gave: >>> >>>FAIL: octave.test/eval-catch/eval-catch-9.m >>>FAIL: octave.test/eval-catch/eval-catch-10.m >>>FAIL: octave.test/try/try-9.m >>>FAIL: octave.test/try/try-10.m >>> === octave Summary === >>># of expected passes 1532 >>># of unexpected failures 4 >>>make[2]: *** [check] Error 1 >>>make[2]: Leaving directory `/u/ted/octave-2.1.50/test' >>>make[1]: *** [check] Error 2 >>>make[1]: Leaving directory `/u/ted/octave-2.1.50' >>>make: *** [check] Error 2 >>> >>>I don't know how fatal are the above failure but I was able to run >>>octave. Compilation of octave-forge was also fluent but 'make check' >>>returns 'dispatch.oct is not a valid shared library': >>> >>># make check >>>octave -q batch_test.m >>>error: >>>/usr/local/libexec/octave/2.1.50/site/oct/i686-pc-linux-gnu/octave-forge/dispatch.oct >>>is not a valid shared library >>>error: `dispatch' undefined near line 2 column 1 >>>error: near line 2 of file >>>`/usr/local/share/octave/2.1.50/site/m/octave-forge/comm//PKG_ADD' >>>[main/optim] >>> >leval >>>error: /u/ted/octave-forge-2003.06.02/main/optim/leval.oct is not a >>>valid shared library >>>error: `leval' undefined near line 8 column 24 >>>error: evaluating argument list element number 1 >>> >>>I get the same error when I run octave. >>> >>>I'll highly appreciate any help. >>> >>>Thanks in advance, >>>Ted >>> >>> >>> >>> >>>------------------------------------------------------------- >>>Octave is freely available under the terms of the GNU GPL. >>> >>>Octave's home on the web: http://www.octave.org >>>How to fund new projects: http://www.octave.org/funding.html >>>Subscription information: http://www.octave.org/archive.html >>>------------------------------------------------------------- >> >>_____________________________ >>Julius O. Smith III >>Assoc. Prof. of Music and (by courtesy) Electrical Engineering >>CCRMA, Stanford University >>http://www-ccrma.stanford.edu/~jos/ >> >> >> >>------------------------------------------------------------- >>Octave is freely available under the terms of the GNU GPL. >> >>Octave's home on the web: http://www.octave.org >>How to fund new projects: http://www.octave.org/funding.html >>Subscription information: http://www.octave.org/archive.html >>------------------------------------------------------------- > >_____________________________ >Julius O. Smith III >Assoc. Prof. of Music and (by courtesy) Electrical Engineering >CCRMA, Stanford University >http://www-ccrma.stanford.edu/~jos/ > > > >------------------------------------------------------------- >Octave is freely available under the terms of the GNU GPL. > >Octave's home on the web: http://www.octave.org >How to fund new projects: http://www.octave.org/funding.html >Subscription information: http://www.octave.org/archive.html >------------------------------------------------------------- _____________________________ Julius O. Smith III Assoc. Prof. of Music and (by courtesy) Electrical Engineering CCRMA, Stanford University http://www-ccrma.stanford.edu/~jos/ ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------