Problem in installing octave-3.2.3 in Suse Linux 2.6.16.60-0.42.7

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem in installing octave-3.2.3 in Suse Linux 2.6.16.60-0.42.7

srini-23
Dear member,

I am a newby in Octave. I tried to install Octave-3.2.3 in Linux machine with Suse 2.6.16.60-0.42.7. The GCC version is 4.4.1

I am seeing the following errors after I Run "make."

../libcruft/libcruft.so: undefined reference to `csrot_'
../libcruft/libcruft.so: undefined reference to `zdrot_'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/mnt/gpfs/usrpeople/srini/octave-3.2.3/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/mnt/gpfs/usrpeople/srini/octave-3.2.3'
make: *** [all] Error 2


Not sure what this means. Can anybody please help me out here?

Regards,
Srini



_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Problem in installing octave-3.2.3 in Suse Linux 2.6.16.60-0.42.7

Jordi Gutiérrez Hermoso
2009/11/12 srini <[hidden email]>:

> ../libcruft/libcruft.so: undefined reference to `csrot_'
> ../libcruft/libcruft.so: undefined reference to `zdrot_'
> collect2: ld returned 1 exit status
> make[2]: *** [octave] Error 1
> make[2]: Leaving directory `/mnt/gpfs/usrpeople/srini/octave-3.2.3/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/mnt/gpfs/usrpeople/srini/octave-3.2.3'
> make: *** [all] Error 2
>
> Not sure what this means. Can anybody please help me out here?

These are linker errors, and if I recall correctly, those are symbols
from the Fortran library.

Can you provide a few more details? How are you building Octave?
Output from your config.log files might be useful.

Also, someone in the list was recently attempting to build Octave for
SuSE. Search the list archives; some suggestions were provided
therein.
_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Problem in installing octave-3.2.3 in Suse Linux 2.6.16.60-0.42.7

srini-23
Please find the attached zip file of the config.log file.

Regards,
Srini

2009/11/15 Jordi Gutiérrez Hermoso <[hidden email]>
009/11/15 srini <[hidden email]>:
> Attached is the output of the config.log file. I'd appreciate your help a
> lot.

Please zip it and post it to the list so that others may help.


_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

config.zip (59K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem in installing octave-3.2.3 in Suse Linux 2.6.16.60-0.42.7

srini-23
Dear members,

Could you find the problem with the attached config.log file? I am badly in need to install Octave-3.2.3 on Suse Linux 2.6.16.60-0.42.7 machine and start using it. You help would be highly appreciated.

Regards,
Srini

On Sun, Nov 15, 2009 at 11:09 PM, srini <[hidden email]> wrote:
Please find the attached zip file of the config.log file.

Regards,
Srini

2009/11/15 Jordi Gutiérrez Hermoso <[hidden email]>
009/11/15 srini <[hidden email]>:

> Attached is the output of the config.log file. I'd appreciate your help a
> lot.

Please zip it and post it to the list so that others may help.



_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Problem in installing octave-3.2.3 in Suse Linux 2.6.16.60-0.42.7

Sebastian Schöps
Dear Srini,

compiling octave is not a trivial task! Anyway, I had a brief look at
your log-file: It is very likely that some dependencies are not
fulfilled. Did you install all needed packages prior to octave (e.g.
Suitesparse, qhull, ...)? Did you specify their directories when running
configure, if they are installed in a non-standard location?

Have a look at the wiki:
http://wiki.octave.org/wiki.pl?EnableLargeArrays

I was able to install octave 3.2.3 on OpenSUSE 11.1 using the following
steps (although I have the impression, that my build is not very fast):

1. add some additional sources (if not already available)

sudo zypper ar
http://download.opensuse.org/repositories/openSUSE:Factory:Contrib/standard 
openSUSE:Factory:Contrib
sudo zypper ar
http://download.opensuse.org/repositories/home:/ars3niy:/octave/openSUSE_11.1/ 
ars3niy:Octave
sudo zypper ar http://ftp.gwdg.de/pub/linux/misc/packman/ Packman

2. we will need the following packages incl. some devel packages; install:

sudo zypper install bison build fftw3 fftw3-devel flex fltk fltk-devel \
gcc-c++ gcc-fortran glpk glpk-devel libglpk0 \
gmp-devel libgmp3 gnuplot gperf \
ImageMagick libbz2 libbz2-devel \
libcurl libcurl-devel hdf5 hdf5-devel \
libltdl3 ncurses ncurses-devel \
pcre pcre-devel readline readline-devel zlib zlib-devel \
libqrupdate1 libqrupdate1-devel \
Suitesparse Suitesparse-devel \
qhull qhull-devel \
libamd libamd-devel

2b. Add a link to hdf5 library (if necessary)

cd /usr/lib64
sudo ln libhdf5.so libhdf5.so.0

3. install source package( if you like you could compile additionally:
libamd Suitesparse qhull ...)
sudo zypper source-install octave

4. download octave-3.2.3.tar.gz and save it to
/usr/src/packages/SOURCES, e.g.

cd /usr/src/packages/SOURCES
wget ftp://ftp.octave.org/pub/octave/octave-3.2.3.tar.gz

5. modify octave.spec for the new version

edit /usr/src/packages/SPECS/octave.spec
- change version number (Version: 3.2.3)
- add additional entry to the "%file" section "%{_datadir}/applications/"

6. compile all packages according to their spec files

cd /usr/src/packages/SPECS
sudo rpmbuild -ba octave.spec

7. install the packages (this depends on your architecture, e.g. for x86_64)

cd /usr/src/packages/RPMS/x86_64
sudo rpm --install octave*.rpm

Bye
Sebastian

Am 18.11.09 00:00, schrieb srini:

> Dear members,
>
> Could you find the problem with the attached config.log file? I am badly in
> need to install Octave-3.2.3 on Suse Linux 2.6.16.60-0.42.7 machine and
> start using it. You help would be highly appreciated.
>
> Regards,
> Srini
>
> On Sun, Nov 15, 2009 at 11:09 PM, srini<[hidden email]>wrote:
>
>> Please find the attached zip file of the config.log file.
>>
>> Regards,
>> Srini
>>
>> 2009/11/15 Jordi Gutiérrez Hermoso<[hidden email]>
>>
>>> 009/11/15 srini<[hidden email]>:
>>>
>>>> Attached is the output of the config.log file. I'd appreciate your help
>>> a
>>>> lot.
>>>
>>> Please zip it and post it to the list so that others may help.
>>>
_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave