Hello, Sean. Thanks for your report. I've been able to reproduce your build error on my Intel OS 10.5.8, 32-bit Fink box.
I'm also CC'ing the maintainer of pygsl-py, Sébastien. On 31/12/2009, at 23:27, Sean Lake wrote: > Hello all, > > It appears that pygsl-py26 has been broken by a recent upgrade of > gsl. This fact came to my attention when I attempted to run an > python script of mine that gave the following warning: > > Warning: This pygsl module was compiled for GSL version 1.12 but it > is used with version 1.13! > > Attempting to rebuild pygsl led to the error at the end of the email. > > Version information from currently installed packages: > fink --version > Package manager version: 0.29.10 > Distribution version: selfupdate-rsync Thu Dec 31 17:20:24 2009, > 10.6, x86_64 > > gsl-1.13-1 > pygsl-py26-0.9.0-1 > > Thanks, > Sean Lake > > > gcc -L/sw/lib -bundle -L/sw/lib/python2.6/config -lpython2.6 -L/sw/ > lib -I/sw/include build/temp.macosx-10.6-i386-2.6/swig_src/ > block_wrap.o -L/sw/lib -lgsl -lgslcblas -lm -o build/lib.macosx-10.6- > i386-2.6/pygsl/__block.so > building '_siman' extension > C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall - > Wstrict-prototypes -I/sw/include > > compile options: '-DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=0 - > DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=13 -UNDEBUG -I/ > sw/include -IInclude -I. -I/sw/lib/python2.6/site-packages/numpy/ > core/include -I/sw/include/python2.6 -c' > gcc: src/simanmodule.c > gcc -L/sw/lib -bundle -L/sw/lib/python2.6/config -lpython2.6 -L/sw/ > lib -I/sw/include build/temp.macosx-10.6-i386-2.6/src/simanmodule.o - > L/sw/lib -lgsl -lgslcblas -lm -o build/lib.macosx-10.6-i386-2.6/ > pygsl/_siman.so > building 'const' extension > C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall - > Wstrict-prototypes -I/sw/include > > compile options: '-DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=0 - > DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=13 -UNDEBUG -I/ > sw/include -IInclude -I. -I/sw/lib/python2.6/site-packages/numpy/ > core/include -I/sw/include/python2.6 -c' > gcc: src/constmodule.c > In file included from src/constmodule.c:62: > src/const_cgs_array.c:17: error: 'GSL_CONST_CGS_BOHR_MAGNETON' > undeclared here (not in a function) > src/const_cgs_array.c:18: error: 'GSL_CONST_CGS_NUCLEAR_MAGNETON' > undeclared here (not in a function) > src/const_cgs_array.c:19: error: > 'GSL_CONST_CGS_ELECTRON_MAGNETIC_MOMENT' undeclared here (not in a > function) > src/const_cgs_array.c:20: error: > 'GSL_CONST_CGS_PROTON_MAGNETIC_MOMENT' undeclared here (not in a > function) > src/const_cgs_array.c:79: error: 'GSL_CONST_CGS_FARADAY' undeclared > here (not in a function) > src/const_cgs_array.c:80: error: 'GSL_CONST_CGS_ELECTRON_CHARGE' > undeclared here (not in a function) > src/const_cgs_array.c:81: error: 'GSL_CONST_CGS_GAUSS' undeclared > here (not in a function) > In file included from src/constmodule.c:76: > src/const_cgsm_array.c:80: error: 'GSL_CONST_CGSM_GAUSS' undeclared > here (not in a function) > src/const_cgsm_array.c:80: error: initializer element is not constant > src/const_cgsm_array.c:80: error: (near initialization for > 'cgsm_array[79].value') > In file included from src/constmodule.c:62: > src/const_cgs_array.c:17: error: 'GSL_CONST_CGS_BOHR_MAGNETON' > undeclared here (not in a function) > src/const_cgs_array.c:18: error: 'GSL_CONST_CGS_NUCLEAR_MAGNETON' > undeclared here (not in a function) > src/const_cgs_array.c:19: error: > 'GSL_CONST_CGS_ELECTRON_MAGNETIC_MOMENT' undeclared here (not in a > function) > src/const_cgs_array.c:20: error: > 'GSL_CONST_CGS_PROTON_MAGNETIC_MOMENT' undeclared here (not in a > function) > src/const_cgs_array.c:79: error: 'GSL_CONST_CGS_FARADAY' undeclared > here (not in a function) > src/const_cgs_array.c:80: error: 'GSL_CONST_CGS_ELECTRON_CHARGE' > undeclared here (not in a function) > src/const_cgs_array.c:81: error: 'GSL_CONST_CGS_GAUSS' undeclared > here (not in a function) > In file included from src/constmodule.c:76: > src/const_cgsm_array.c:80: error: 'GSL_CONST_CGSM_GAUSS' undeclared > here (not in a function) > src/const_cgsm_array.c:80: error: initializer element is not constant > src/const_cgsm_array.c:80: error: (near initialization for > 'cgsm_array[79].value') > error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 - > Wall -Wstrict-prototypes -I/sw/include -DSWIG_COBJECT_TYPES=1 - > DDEBUG=1 -DNUMERIC=0 -DPYGSL_GSL_MAJOR_VERSION=1 - > DPYGSL_GSL_MINOR_VERSION=13 -UNDEBUG -I/sw/include -IInclude -I. -I/ > sw/lib/python2.6/site-packages/numpy/core/include -I/sw/include/ > python2.6 -c src/constmodule.c -o build/temp.macosx-10.6-i386-2.6/ > src/constmodule.o" failed with exit status 1 -- monipol http://finkers.wordpress.com Submitting a Fink bug report? Read this: http://www.finkproject.org/doc/netiquette/index.php http://finkers.wordpress.com/2009/06/03/bug-reports/ ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
