From help-request at octave dot org Sat Apr 16 08:03:13 2005 Subject: Re: api-v10 From: =?ISO-8859-1?Q?S=F8ren_Hauberg?= To: "John W. Eaton" CC: octave help mailing list Date: Sat, 16 Apr 2005 15:02:21 +0200 Hi I've just compiled 2.1.69 from source and things work now. So it's not a bug in octave but in Ubuntu Linux. I don't know much about these things, but my guess is that the version Octave that comes with Ubuntu is compiled with a different version of gcc then the one I have installed. Would that make sense? (I'm trying to figure out what to put in the bug report I'll be filling to Ubuntu). /Søren John W. Eaton wrote: > On 14-Apr-2005, Søren Hauberg wrote: > > | > | > | John W. Eaton wrote: > | > On 14-Apr-2005, Søren Hauberg wrote: > | [snip] > | > Odd. My guess is that something is not installed properly on your > | > system. Are you sure that the header files installed on your system > | > match the version of Octave you are running? Try the -v option for > | > mkoctfile and see if that gives you any clues. > | mkoctfile -v gives > | /usr/bin/g++ -shared -Wl,-Bsymbolic -o .oct -L/usr/lib/octave-2.1.64 > | -loctinterp -loctave -lcruft -s -llapack-3 -lblas-3 -lfftw3 -lreadline > | -lncurses -ldl -lhdf5 -lz -lm -L/usr/lib/gcc-lib/i486-linux/3.3.5 > | -L/usr/lib/gcc-lib/i486-linux/3.3.5/../../.. -lhdf5 -lz -lfrtbegin -lg2c > | -lm -lgcc_s > | > | I don't know if anything is wrong in the above. > > Sorry, I meant for you to use -v when compiling a .cc file. That > should tell you precisely what directories it is looking in for header > files as well as libraries (which is about all you get above). > > BTW, this seems to point out a bug in mkoctfile, since it should not > try to run g++ if you give it -v and no input file. > > jwe > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- > ------------------------------------------------------------- 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 -------------------------------------------------------------