[LORENE] error compiling

Jerome Novak Jerome.Novak at obspm.fr
Thu Dec 28 17:30:41 CET 2006


Hi Sebastiano,

sebastiano bernuzzi wrote:
> 
> local_settings_linux_gcc
> -----------------------------------
> make[3]: Entering directory
> `/home/bernuzzi/Lorene/C++/Source/Non_class_members/PDE'
> solh_helmholtz_minus.C:54:31: gsl/gsl_sf_bessel.h: No such file or directory
> g++ -c -g -pedantic -Wall -W -Wundef -Wshadow -Wcast-qual -Wcast-align
> -Wconversion -Winline -Wabi -Wold-style-cast -Woverloaded-virtual 
> -I/home/bernuzzi/Lorene/C++/Include
> -I/home/bernuzzi/Lorene/C++/Include_extra  solh_helmholtz_minus.C
> solh_helmholtz_minus.C:54:31: gsl/gsl_sf_bessel.h: No such file or directory

Apparently, the compiler cannot find this include file (gsl_sf_bessl.h).
Either it is not installed on your computer or it is in an unusual place
(not in /usr/include nor /usr/local/include). If you use RPM-like
packages, you need the GSL (GNU Scientific library, see the Lorene
install page http://www.lorene.obspm.fr/prerequisites.html) package
installed , as well as the development one (must be something like
"gsl-devel"). If these packages are installed, but on some unusual place
(for example /opt/include), you can add the path to the GSL include
files in the local_settings file:

# Path for the include files:
# --------------------------
INC	= -I$(HOME_LORENE)/C++/Include \
          -I$(HOME_LORENE)/C++/Include_extra \
	  -I/opt/include


> 
> local_settings_linux_gcc-4_x86-64
> -------------------------------------------------
> make[3]: Entering directory
> `/home/bernuzzi/Lorene/C++/Source/Non_class_members/Coef/FFTW3'
> g++ -c -m64 -mtune=athlon64 -g -pedantic -Wall -W -Wundef -Wshadow
> -Wcast-qual -Wcast-align -Wconversion -Winline -Wabi -Wold-style-cast
> -Woverloaded-virtual  -I/home/bernuzzi/Lorene/C++/Include
> -I/home/bernuzzi/Lorene/C++/Include_extra  admissible_fft.C
> cfpcossin.C:102:19: fftw3.h: No such file or directory
> g++ -c -m64 -mtune=athlon64 -g -pedantic -Wall -W -Wundef -Wshadow
> -Wcast-qual -Wcast-align -Wconversion -Winline -Wabi -Wold-style-cast
> -Woverloaded-virtual  -I/home/bernuzzi/Lorene/C++/Include
> -I/home/bernuzzi/Lorene/C++/Include_extra  cfpcossin.C
> cfpcossin.C:102:19: fftw3.h: No such file or directory

The same here, but for the fftw3 package (together with fftw3-devel).
You need to have fftw3.h installed somewhere in your system. I guess it
has stopped here before, but you'll get the same problem with the GSL
later, if you install fftw3.

I wish a nice 2007 to you too,

-- 
Jerome Novak
Laboratoire de l'Univers et de ses THeories (LUTH)
Observatoire de Meudon       92195 Meudon FRANCE
tel: (33) 01 45 07 75 82     fax: (33) 01 45 07 79 71


More information about the Lorene.list mailing list