problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

View: New views
14 Messages — Rating Filter:   Alert me  

problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Bugzilla from hinow@uwm.edu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

my problem is that compilation goes on for quite a while, but then ends with the following error
g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  (.....)
../libcruft/libcruft.so: undefined reference to `r_imag'
(.... many more such messages ...)

If I try
make check
../run-octave --norc --silent --no-history ./fntests.m .
exec: 73: /home/peter/octave-3.2.2/src/octave: not found
and indeed, this directory does not exist. I downloaded the file octave-3.2.2.tar.gz just today from
http://www.gnu.org/software/octave/download.html

Please let me know what to do or how to diagnose this better.
Thank you and best regards,
       Peter
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Bugzilla from hinow@uwm.edu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This problam may have solved itself. It was discussed in a thread
"Compiling 3.2.2 on Ubuntu 9.04" (August 2009)
The recommendation is to run the following two commands

sudo apt-get build-dep octave3.0
sudo apt-get install libftgl-dev



----- Original Message -----
From: "Peter Hinow" <hinow@...>
To: help-octave@...
Sent: Thursday, September 17, 2009 1:54:48 PM GMT -06:00 US/Canada Central
Subject: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

Hello all,

my problem is that compilation goes on for quite a while, but then ends with the following error
g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  (.....)
../libcruft/libcruft.so: undefined reference to `r_imag'
(.... many more such messages ...)

If I try
make check
../run-octave --norc --silent --no-history ./fntests.m .
exec: 73: /home/peter/octave-3.2.2/src/octave: not found
and indeed, this directory does not exist. I downloaded the file octave-3.2.2.tar.gz just today from
http://www.gnu.org/software/octave/download.html

Please let me know what to do or how to diagnose this better.
Thank you and best regards,
       Peter
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Parent Message unknown Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Bugzilla from hinow@uwm.edu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, unfortunately not. The problem persists.


----- Original Message -----
From: "Peter Hinow" <hinow@...>
To: help-octave@...
Sent: Thursday, September 17, 2009 3:18:26 PM GMT -06:00 US/Canada Central
Subject: Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

This problem may have solved itself. It was discussed in a thread
"Compiling 3.2.2 on Ubuntu 9.04" (August 2009)
The recommendation is to run the following two commands

sudo apt-get build-dep octave3.0
sudo apt-get install libftgl-dev


_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Judd Storrs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you post more of the error?

--judd


On Thu, Sep 17, 2009 at 4:42 PM, Peter Hinow <hinow@...> wrote:
No, unfortunately not. The problem persists.


----- Original Message -----
From: "Peter Hinow" <hinow@...>
To: help-octave@...
Sent: Thursday, September 17, 2009 3:18:26 PM GMT -06:00 US/Canada Central
Subject: Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

This problem may have solved itself. It was discussed in a thread
"Compiling 3.2.2 on Ubuntu 9.04" (August 2009)
The recommendation is to run the following two commands

sudo apt-get build-dep octave3.0
sudo apt-get install libftgl-dev


_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave


_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Hielos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am having the same problem: (Jaunty 64 bits)

gcc -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H  -Wall -W -Wshadow -Wformat -g -O2 main.c -o main.o
g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2 -rdynamic \
        -L..  -fPIC  -o octave \
        main.o  \
        -L../liboctave -L../libcruft -L../src -Wl,-rpath -Wl,/usr/local/lib/octave-3.2.2 \
        -loctinterp -loctave  -lcruft   \
         -lumfpack -lamd -lcamd -lcolamd \
        -lcholmod -lccolamd -lcxsparse -llapack -lcblas -lf77blas -latlas \
        -lfftw3 -lfftw3f  -larpack -lftgl -lfreetype -lz -L/usr/X11R6/lib -lGL -lGLU \
        -lX11  -lreadline  -lncurses -ldl -lcblas -lf77blas -latlas -lhdf5 -lz -lm  
../libcruft/libcruft.so: undefined reference to `r_imag'
../libcruft/libcruft.so: undefined reference to `c_exp'
../libcruft/libcruft.so: undefined reference to `i_len'
../libcruft/libcruft.so: undefined reference to `d_int'
../libcruft/libcruft.so: undefined reference to `c_sqrt'
../libcruft/libcruft.so: undefined reference to `e_wsfi'
../libcruft/libcruft.so: undefined reference to `d_sign'
../libcruft/libcruft.so: undefined reference to `s_wsle'
../libcruft/libcruft.so: undefined reference to `r_mod'
../libcruft/libcruft.so: undefined reference to `c_div'
../libcruft/libcruft.so: undefined reference to `r_cnjg'
../libcruft/libcruft.so: undefined reference to `s_copy'
../libcruft/libcruft.so: undefined reference to `s_cmp'
../src/liboctinterp.so: undefined reference to `s_wsfe'
../libcruft/libcruft.so: undefined reference to `do_lio'
../libcruft/libcruft.so: undefined reference to `c_log'
../libcruft/libcruft.so: undefined reference to `r_int'
../libcruft/libcruft.so: undefined reference to `pow_dd'
../libcruft/libcruft.so: undefined reference to `i_indx'
../libcruft/libcruft.so: undefined reference to `s_wsfi'
../libcruft/libcruft.so: undefined reference to `z_abs'
../libcruft/libcruft.so: undefined reference to `s_stop'
../libcruft/libcruft.so: undefined reference to `r_sign'
../libcruft/libcruft.so: undefined reference to `pow_di'
../libcruft/libcruft.so: undefined reference to `d_lg10'
../libcruft/libcruft.so: undefined reference to `pow_ri'
../libcruft/libcruft.so: undefined reference to `e_wsle'
../libcruft/libcruft.so: undefined reference to `s_cat'
../src/liboctinterp.so: undefined reference to `do_fio'
../src/liboctinterp.so: undefined reference to `e_wsfe'
../libcruft/libcruft.so: undefined reference to `c_abs'
../libcruft/libcruft.so: undefined reference to `d_mod'
collect2: ld devolvió el estado de salida 1
make[2]: *** [octave] Error 1
make[2]: se sale del directorio `/home/edgar/octave-3.2.2/src'
make[1]: *** [src] Error 2
make[1]: se sale del directorio `/home/edgar/octave-3.2.2'
make: *** [all] Error 2



Judd Storrs wrote:
Can you post more of the error?

--judd


On Thu, Sep 17, 2009 at 4:42 PM, Peter Hinow <hinow@uwm.edu> wrote:

> No, unfortunately not. The problem persists.
>
>
> ----- Original Message -----
> From: "Peter Hinow" <hinow@uwm.edu>
> To: help-octave@octave.org
> Sent: Thursday, September 17, 2009 3:18:26 PM GMT -06:00 US/Canada Central
> Subject: Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)
>
> This problem may have solved itself. It was discussed in a thread
> "Compiling 3.2.2 on Ubuntu 9.04" (August 2009)
> The recommendation is to run the following two commands
>
> sudo apt-get build-dep octave3.0
> sudo apt-get install libftgl-dev
>
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>

_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Jaroslav Hajek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Sep 17, 2009 at 10:42 PM, Peter Hinow <hinow@...> wrote:
> No, unfortunately not. The problem persists.
>

Please send your config.log. Either use a pastebin service or send it
compressed.


--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Jaroslav Hajek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 13, 2009 at 7:10 PM, Hielos <efrios@...> wrote:

>
> I am having the same problem: (Jaunty 64 bits)
>
> gcc -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
> -Wall -W -Wshadow -Wformat -g -O2 main.c -o main.o
> g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
> -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2
> -rdynamic \
>        -L..  -fPIC  -o octave \
>        main.o  \
>        -L../liboctave -L../libcruft -L../src -Wl,-rpath
> -Wl,/usr/local/lib/octave-3.2.2 \
>        -loctinterp -loctave  -lcruft   \
>         -lumfpack -lamd -lcamd -lcolamd \
>        -lcholmod -lccolamd -lcxsparse -llapack -lcblas -lf77blas -latlas \
>        -lfftw3 -lfftw3f  -larpack -lftgl -lfreetype -lz -L/usr/X11R6/lib -lGL
> -lGLU \
>        -lX11  -lreadline  -lncurses -ldl -lcblas -lf77blas -latlas -lhdf5 -lz -lm
> ../libcruft/libcruft.so: undefined reference to `r_imag'
> ../libcruft/libcruft.so: undefined reference to `c_exp'
> ../libcruft/libcruft.so: undefined reference to `i_len'
> ../libcruft/libcruft.so: undefined reference to `d_int'
> ../libcruft/libcruft.so: undefined reference to `c_sqrt'
> ../libcruft/libcruft.so: undefined reference to `e_wsfi'
> ../libcruft/libcruft.so: undefined reference to `d_sign'
> ../libcruft/libcruft.so: undefined reference to `s_wsle'
> ../libcruft/libcruft.so: undefined reference to `r_mod'
> ../libcruft/libcruft.so: undefined reference to `c_div'
> ../libcruft/libcruft.so: undefined reference to `r_cnjg'
> ../libcruft/libcruft.so: undefined reference to `s_copy'
> ../libcruft/libcruft.so: undefined reference to `s_cmp'
> ../src/liboctinterp.so: undefined reference to `s_wsfe'
> ../libcruft/libcruft.so: undefined reference to `do_lio'
> ../libcruft/libcruft.so: undefined reference to `c_log'
> ../libcruft/libcruft.so: undefined reference to `r_int'
> ../libcruft/libcruft.so: undefined reference to `pow_dd'
> ../libcruft/libcruft.so: undefined reference to `i_indx'
> ../libcruft/libcruft.so: undefined reference to `s_wsfi'
> ../libcruft/libcruft.so: undefined reference to `z_abs'
> ../libcruft/libcruft.so: undefined reference to `s_stop'
> ../libcruft/libcruft.so: undefined reference to `r_sign'
> ../libcruft/libcruft.so: undefined reference to `pow_di'
> ../libcruft/libcruft.so: undefined reference to `d_lg10'
> ../libcruft/libcruft.so: undefined reference to `pow_ri'
> ../libcruft/libcruft.so: undefined reference to `e_wsle'
> ../libcruft/libcruft.so: undefined reference to `s_cat'
> ../src/liboctinterp.so: undefined reference to `do_fio'
> ../src/liboctinterp.so: undefined reference to `e_wsfe'
> ../libcruft/libcruft.so: undefined reference to `c_abs'
> ../libcruft/libcruft.so: undefined reference to `d_mod'
> collect2: ld devolvió el estado de salida 1
> make[2]: *** [octave] Error 1
> make[2]: se sale del directorio `/home/edgar/octave-3.2.2/src'
> make[1]: *** [src] Error 2
> make[1]: se sale del directorio `/home/edgar/octave-3.2.2'
> make: *** [all] Error 2
>
>

Likewise, please send your config.log, either via pastebin or compressed.

regards

--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Parent Message unknown Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Thomas Meurer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I followed the instructions on the site

http://wiki.octave.org/wiki.pl?EnableLargeArrays

to compile Octave from source on Ubuntu Jaunty. It worked perfectly fine
for me including the large array option.

Thomas


_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Hielos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here it is. Thanks
config.log


Jaroslav Hajek-2 wrote:
On Tue, Oct 13, 2009 at 7:10 PM, Hielos <efrios@yahoo.com> wrote:
>
> I am having the same problem: (Jaunty 64 bits)
>
> gcc -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
> -Wall -W -Wshadow -Wformat -g -O2 main.c -o main.o
> g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
> -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2
> -rdynamic \
>        -L..  -fPIC  -o octave \
>        main.o  \
>        -L../liboctave -L../libcruft -L../src -Wl,-rpath
> -Wl,/usr/local/lib/octave-3.2.2 \
>        -loctinterp -loctave  -lcruft   \
>         -lumfpack -lamd -lcamd -lcolamd \
>        -lcholmod -lccolamd -lcxsparse -llapack -lcblas -lf77blas -latlas \
>        -lfftw3 -lfftw3f  -larpack -lftgl -lfreetype -lz -L/usr/X11R6/lib -lGL
> -lGLU \
>        -lX11  -lreadline  -lncurses -ldl -lcblas -lf77blas -latlas -lhdf5 -lz -lm
> ../libcruft/libcruft.so: undefined reference to `r_imag'
> ../libcruft/libcruft.so: undefined reference to `c_exp'
> ../libcruft/libcruft.so: undefined reference to `i_len'
> ../libcruft/libcruft.so: undefined reference to `d_int'
> ../libcruft/libcruft.so: undefined reference to `c_sqrt'
> ../libcruft/libcruft.so: undefined reference to `e_wsfi'
> ../libcruft/libcruft.so: undefined reference to `d_sign'
> ../libcruft/libcruft.so: undefined reference to `s_wsle'
> ../libcruft/libcruft.so: undefined reference to `r_mod'
> ../libcruft/libcruft.so: undefined reference to `c_div'
> ../libcruft/libcruft.so: undefined reference to `r_cnjg'
> ../libcruft/libcruft.so: undefined reference to `s_copy'
> ../libcruft/libcruft.so: undefined reference to `s_cmp'
> ../src/liboctinterp.so: undefined reference to `s_wsfe'
> ../libcruft/libcruft.so: undefined reference to `do_lio'
> ../libcruft/libcruft.so: undefined reference to `c_log'
> ../libcruft/libcruft.so: undefined reference to `r_int'
> ../libcruft/libcruft.so: undefined reference to `pow_dd'
> ../libcruft/libcruft.so: undefined reference to `i_indx'
> ../libcruft/libcruft.so: undefined reference to `s_wsfi'
> ../libcruft/libcruft.so: undefined reference to `z_abs'
> ../libcruft/libcruft.so: undefined reference to `s_stop'
> ../libcruft/libcruft.so: undefined reference to `r_sign'
> ../libcruft/libcruft.so: undefined reference to `pow_di'
> ../libcruft/libcruft.so: undefined reference to `d_lg10'
> ../libcruft/libcruft.so: undefined reference to `pow_ri'
> ../libcruft/libcruft.so: undefined reference to `e_wsle'
> ../libcruft/libcruft.so: undefined reference to `s_cat'
> ../src/liboctinterp.so: undefined reference to `do_fio'
> ../src/liboctinterp.so: undefined reference to `e_wsfe'
> ../libcruft/libcruft.so: undefined reference to `c_abs'
> ../libcruft/libcruft.so: undefined reference to `d_mod'
> collect2: ld devolvió el estado de salida 1
> make[2]: *** [octave] Error 1
> make[2]: se sale del directorio `/home/edgar/octave-3.2.2/src'
> make[1]: *** [src] Error 2
> make[1]: se sale del directorio `/home/edgar/octave-3.2.2'
> make: *** [all] Error 2
>
>

Likewise, please send your config.log, either via pastebin or compressed.

regards

--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Hielos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ignorant here:

When trying to follow the post http://wiki.octave.org/wiki.pl?EnableLargeArrays, I thought that I should do the following:
(1) decompress octave-3.2.3.tar.bz2
(2) cd octave-3.2.3 (go to directory octave 3.2.3)

Then without really knowing what I was doing, I looked for the 'make.inc' file in that directory:
(3) ls make*

Since there was no such a file, I ran the configure instruction using gfortran:
(4) ./configure --with-f77=gfortran

Then I ran the line (in substitution of 'make.inc')
(5) make FORTRAN=gfortran OPTS="-fPIC -O3 -fdefault-integer-8" BLASLIB=libblas.a

After a while, I got the same error about libcruft:
  ../libcruft/libcruft.so: undefined reference to `r_imag'
  [many more lines like that]
  ../libcruft/libcruft.so: undefined reference to `d_mod'

Could you please instruct me on which is the right way to do it, please? What did I do wrong? Thanks.

Thomas Meurer-2 wrote:
I followed the instructions on the site

http://wiki.octave.org/wiki.pl?EnableLargeArrays

to compile Octave from source on Ubuntu Jaunty. It worked perfectly fine
for me including the large array option.

Thomas


_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Judd Storrs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There's a lot going on here. Have you successfully built octave without large arrays first?

--judd



On Thu, Oct 15, 2009 at 4:01 PM, Hielos <efrios@...> wrote:

Ignorant here:

When trying to follow the post
http://wiki.octave.org/wiki.pl?EnableLargeArrays, I thought that I should do
the following:
(1) decompress octave-3.2.3.tar.bz2
(2) cd octave-3.2.3 (go to directory octave 3.2.3)

Then without really knowing what I was doing, I looked for the 'make.inc'
file in that directory:
(3) ls make*

Since there was no such a file, I ran the configure instruction using
gfortran:
(4) ./configure --with-f77=gfortran

Then I ran the line (in substitution of 'make.inc')
(5) make FORTRAN=gfortran OPTS="-fPIC -O3 -fdefault-integer-8"
BLASLIB=libblas.a

After a while, I got the same error about libcruft:
 ../libcruft/libcruft.so: undefined reference to `r_imag'
 [many more lines like that]
 ../libcruft/libcruft.so: undefined reference to `d_mod'

Could you please instruct me on which is the right way to do it, please?
What did I do wrong? Thanks.


Thomas Meurer-2 wrote:
>
> I followed the instructions on the site
>
> http://wiki.octave.org/wiki.pl?EnableLargeArrays
>
> to compile Octave from source on Ubuntu Jaunty. It worked perfectly fine
> for me including the large array option.
>
> Thomas
>
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>

--
View this message in context: http://www.nabble.com/problem-installing-Octave-3.2.2-on-my-desktop-%28Ubuntu-9.04%29-tp25497238p25915093.html
Sent from the Octave - General mailing list archive at Nabble.com.

_______________________________________________


_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Judd Storrs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you haven't compiled octave without large arrays, this may help:

http://www.nabble.com/Re%3A-Octave-3.2.2-for-Ubuntu9.04----How-to-compile-from-sources-p25525152.html

A few corrections followed:

leave out: libhdf5-lam-dev libhdf5-mpich-dev
add: libftgl-dev libfltk-dev

http://www.nabble.com/Re%3A-Octave-3.2.2-for-Ubuntu9.04----How-to-compile-from-sources-p25538464.html


--judd


On Thu, Oct 15, 2009 at 4:34 PM, Judd Storrs <storrsjm@...> wrote:
There's a lot going on here. Have you successfully built octave without large arrays first?

--judd




On Thu, Oct 15, 2009 at 4:01 PM, Hielos <efrios@...> wrote:

Ignorant here:

When trying to follow the post
http://wiki.octave.org/wiki.pl?EnableLargeArrays, I thought that I should do
the following:
(1) decompress octave-3.2.3.tar.bz2
(2) cd octave-3.2.3 (go to directory octave 3.2.3)

Then without really knowing what I was doing, I looked for the 'make.inc'
file in that directory:
(3) ls make*

Since there was no such a file, I ran the configure instruction using
gfortran:
(4) ./configure --with-f77=gfortran

Then I ran the line (in substitution of 'make.inc')
(5) make FORTRAN=gfortran OPTS="-fPIC -O3 -fdefault-integer-8"
BLASLIB=libblas.a

After a while, I got the same error about libcruft:
 ../libcruft/libcruft.so: undefined reference to `r_imag'
 [many more lines like that]
 ../libcruft/libcruft.so: undefined reference to `d_mod'

Could you please instruct me on which is the right way to do it, please?
What did I do wrong? Thanks.


Thomas Meurer-2 wrote:
>
> I followed the instructions on the site
>
> http://wiki.octave.org/wiki.pl?EnableLargeArrays
>
> to compile Octave from source on Ubuntu Jaunty. It worked perfectly fine
> for me including the large array option.
>
> Thomas
>
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>

--
View this message in context: http://www.nabble.com/problem-installing-Octave-3.2.2-on-my-desktop-%28Ubuntu-9.04%29-tp25497238p25915093.html
Sent from the Octave - General mailing list archive at Nabble.com.

_______________________________________________



_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Hielos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, actually I haven't. Is this the right place to be asking how to install it?

Judd Storrs wrote:
There's a lot going on here. Have you successfully built octave without
large arrays first?

--judd



On Thu, Oct 15, 2009 at 4:01 PM, Hielos <efrios@yahoo.com> wrote:

>
> Ignorant here:
>
> When trying to follow the post
> http://wiki.octave.org/wiki.pl?EnableLargeArrays, I thought that I should
> do
> the following:
> (1) decompress octave-3.2.3.tar.bz2
> (2) cd octave-3.2.3 (go to directory octave 3.2.3)
>
> Then without really knowing what I was doing, I looked for the 'make.inc'
> file in that directory:
> (3) ls make*
>
> Since there was no such a file, I ran the configure instruction using
> gfortran:
> (4) ./configure --with-f77=gfortran
>
> Then I ran the line (in substitution of 'make.inc')
> (5) make FORTRAN=gfortran OPTS="-fPIC -O3 -fdefault-integer-8"
> BLASLIB=libblas.a
>
> After a while, I got the same error about libcruft:
>   ../libcruft/libcruft.so: undefined reference to `r_imag'
>   [many more lines like that]
>  ../libcruft/libcruft.so: undefined reference to `d_mod'
>
> Could you please instruct me on which is the right way to do it, please?
> What did I do wrong? Thanks.
>
>
> Thomas Meurer-2 wrote:
> >
> > I followed the instructions on the site
> >
> > http://wiki.octave.org/wiki.pl?EnableLargeArrays
> >
> > to compile Octave from source on Ubuntu Jaunty. It worked perfectly fine
> > for me including the large array option.
> >
> > Thomas
> >
> >
> > _______________________________________________
> > Help-octave mailing list
> > Help-octave@octave.org
> > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/problem-installing-Octave-3.2.2-on-my-desktop-%28Ubuntu-9.04%29-tp25497238p25915093.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>

_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: problem installing Octave 3.2.2 on my desktop (Ubuntu 9.04)

by Hielos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the last answer, I just didn't want to make anybody angry.

>  leave out: libhdf5-lam-dev libhdf5-mpich-dev
Is this going to affect the performance of octave somehow?
How do I leave them out? (I guess it has something to do with the "./configure" command, but I would not know how to do it. I have tried leaving out or including libraries before without success)

>  add: libftgl-dev libfltk-dev
How do I add these? (do they also have to do with "./configure"?)

About the following, I used the *amd64.deb version. I am guessing that there is no problem.
>  http://www.nabble.com/Re%3A-Octave-3.2.2-for-Ubuntu9.04----How-to-compile-from-sources-p25525152.html
>>   $ dpkg -i libqrupdate1_1.0.1-1_i386.deb libqrupdate-dev_1.0.1-1_i386.deb


*Error*
After running 'make', I get the same "libcruft" error as before. And by the way, I had already installed the 'libqrupdate.so' library (built it and copied to '/usr/lib/'), and I think that './configure' is using it. I had already installed libqrupdate1 and libqrupdate-dev before, but it kept telling me that Octave would be slow with Cholesky.

Thanks, again.

Judd Storrs wrote:
If you haven't compiled octave without large arrays, this may help:

http://www.nabble.com/Re%3A-Octave-3.2.2-for-Ubuntu9.04----How-to-compile-from-sources-p25525152.html

A few corrections followed:

leave out: libhdf5-lam-dev libhdf5-mpich-dev
add: libftgl-dev libfltk-dev

http://www.nabble.com/Re%3A-Octave-3.2.2-for-Ubuntu9.04----How-to-compile-from-sources-p25538464.html


--judd


On Thu, Oct 15, 2009 at 4:34 PM, Judd Storrs <storrsjm@email.uc.edu> wrote:

> There's a lot going on here. Have you successfully built octave without
> large arrays first?
>
> --judd
>
>
>
>
> On Thu, Oct 15, 2009 at 4:01 PM, Hielos <efrios@yahoo.com> wrote:
>
>>
>> Ignorant here:
>>
>> When trying to follow the post
>> http://wiki.octave.org/wiki.pl?EnableLargeArrays, I thought that I should
>> do
>> the following:
>> (1) decompress octave-3.2.3.tar.bz2
>> (2) cd octave-3.2.3 (go to directory octave 3.2.3)
>>
>> Then without really knowing what I was doing, I looked for the 'make.inc'
>> file in that directory:
>> (3) ls make*
>>
>> Since there was no such a file, I ran the configure instruction using
>> gfortran:
>> (4) ./configure --with-f77=gfortran
>>
>> Then I ran the line (in substitution of 'make.inc')
>> (5) make FORTRAN=gfortran OPTS="-fPIC -O3 -fdefault-integer-8"
>> BLASLIB=libblas.a
>>
>> After a while, I got the same error about libcruft:
>>   ../libcruft/libcruft.so: undefined reference to `r_imag'
>>   [many more lines like that]
>>  ../libcruft/libcruft.so: undefined reference to `d_mod'
>>
>> Could you please instruct me on which is the right way to do it, please?
>> What did I do wrong? Thanks.
>>
>>
>> Thomas Meurer-2 wrote:
>> >
>> > I followed the instructions on the site
>> >
>> > http://wiki.octave.org/wiki.pl?EnableLargeArrays
>> >
>> > to compile Octave from source on Ubuntu Jaunty. It worked perfectly fine
>> > for me including the large array option.
>> >
>> > Thomas
>> >
>> >
>> > _______________________________________________
>> > Help-octave mailing list
>> > Help-octave@octave.org
>> > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/problem-installing-Octave-3.2.2-on-my-desktop-%28Ubuntu-9.04%29-tp25497238p25915093.html
>> Sent from the Octave - General mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Help-octave mailing list
>> Help-octave@octave.org
>> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>>
>
>

_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave