help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave installation problem - linux/limits.h


From: Martin Helm
Subject: Re: octave installation problem - linux/limits.h
Date: Sat, 12 Jun 2010 13:29:54 +0200
User-agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; )

Am Samstag, 12. Juni 2010 07:20:48 schrieb bijoy:
> Hi all,
> 
> I installed lapack as mentioned by Andy,
> 
> Now the error shifted to fftw3
> 
> ==========================
> octave:1> pkg install miscellaneous-1.0.9.tar.gz
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
>  cannot find -lfftw3 collect2: ld returned 1 exit status
> configure: error: Could not run mkoctfile
> error: the configure script returned the following error: checking for
>  gcc... 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 gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for mkoctfile... mkoctfile
> error: called from `pkg:configure_make' in file
>  /usr/share/octave/3.0.2/m/pkg/pkg.m near line 1235, column 2
> 
> ========================
> 
> 
> But I have installed fftw3 already, I do not know why octave complains that
>  fftw3 could not be found.
> 
> Is there any problem with 64-bit installation of octave ?
> 
> Please help me.
> 
> Regards
> Bijoy
> 


There is no problem with 64 opensuse bit and octave. It is in general 
necessary to install the devel packages if you want to compile something (and 
this is what happens when you use the pkg command in octave - something will 
be compiled)
So if you have fftw3 installed you also need fftw3-devel

sudo zypper in fftw3-devel

from the command line (or use yast if you like to do it with the gui).

If there then a similar error with a different package while compiling later, 
do the same for the missing package install the -devel which belongs to it.

- mh


reply via email to

[Prev in Thread] Current Thread [Next in Thread]