> Dear Gnu GSL help team member > > I am trying to install GSL libraries on my computer, os X 10.6.8 using > gcc4.4.1. > > I made : ./configure --disable-shared CFLAGS="-Wno-long-double -g -02" > the : sudo make install > > I have the following error : > > make[1]: Entering directory `/Users/Ammelune/Downloads/gsl-1.9/matrix' > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. > -I.. -I.. -Wno-long-double -g -02 -c -o init.lo init.c > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -Wno-long-double -g -02 -c init.c > -o init.o > gcc: unrecognized option '-02' > In file included from > /Library/Frameworks/gsl.framework/Headers/gsl_matrix.h:4, > from init.c:3: > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_long_double.h:251: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘gsl_complex_long_double’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_long_double.h:252: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_long_double.h:254: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘gsl_complex_long_double’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_long_double.h:255: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_long_double.h:260: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘gsl_complex_long_double’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_long_double.h:283: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_long_double.h:304: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘gsl_complex_long_double’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_long_double.h:325: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’ > In file included from > /Library/Frameworks/gsl.framework/Headers/gsl_matrix.h:5, > from init.c:3: > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_double.h:251: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gsl_complex’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_double.h:252: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_double.h:254: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gsl_complex’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_double.h:255: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_double.h:260: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gsl_complex’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_double.h:283: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_double.h:304: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gsl_complex’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_double.h:325: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’ > In file included from > /Library/Frameworks/gsl.framework/Headers/gsl_matrix.h:6, > from init.c:3: > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_float.h:251: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘gsl_complex_float’ > In file included from > /Library/Frameworks/gsl.framework/Headers/gsl_matrix.h:6, > from init.c:3: > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_float.h:252: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_float.h:254: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘gsl_complex_float’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_float.h:255: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_float.h:260: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘gsl_complex_float’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_float.h:283: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_float.h:304: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘gsl_complex_float’ > /Library/Frameworks/GSL.framework/Headers/gsl_matrix_complex_float.h:325: > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’ > cc1: warning: unrecognized command line option "-Wno-long-double" > make[1]: *** [init.lo] Error 1 > make[1]: Leaving directory `/Users/Ammelune/Downloads/gsl-1.9/matrix' > make: *** [install-recursive] Error 1 > > > The error remains the same if I do not put the -Wno-long-double options to > CFLAGS (only the warning disappear). > > Thanks in advance for your help . > > Emmanuel > >
====================================== Emmanuel Cordier Université de La Réunion Laboratoire GéoSciences Réunion - LGSR [email protected] tel : +262 (0)2 62 93 86 82 gsm : +262 (0)6 92 24 28 05
