Hi there,

I'm trying to build PyGSL 0.9.3 under Fedora Core 3 Linux with gcc version
3.4.4 and Python 2.3, with GSL 1.3, and when I run "setup.py build" I get
the following compilation errors:

running build_ext
building 'const' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -fPIC

compile options: '-DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=0
-DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=5 -UNDEBUG
-I/usr/include -IInclude -I.
-I/net/homes/ageers/pythonlib/usr/lib/python2.3/site-packages/numpy/core/include
-I/usr/include/python2.3 -c'
gcc: src/constmodule.c
In file included from src/constmodule.c:65:
src/const_mksa_array.c:101: error: `GSL_CONST_MKSA_DEBYE' undeclared here
(not in a function)
src/const_mksa_array.c:101: error: initializer element is not constant
src/const_mksa_array.c:101: error: (near initialization for
`mksa_array[100].value')
src/const_mksa_array.c:101: error: initializer element is not constant
src/const_mksa_array.c:101: error: (near initialization for
`mksa_array[100]')
src/constmodule.c:66: error: initializer element is not constant
src/constmodule.c:66: error: (near initialization for `mksa_array[101]')
In file included from src/constmodule.c:65:
src/const_mksa_array.c:101: error: `GSL_CONST_MKSA_DEBYE' undeclared here
(not in a function)
src/const_mksa_array.c:101: error: initializer element is not constant
src/const_mksa_array.c:101: error: (near initialization for
`mksa_array[100].value')
src/const_mksa_array.c:101: error: initializer element is not constant
src/const_mksa_array.c:101: error: (near initialization for
`mksa_array[100]')
src/constmodule.c:66: error: initializer element is not constant
src/constmodule.c:66: error: (near initialization for `mksa_array[101]')
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -fPIC -DSWIG_COBJECT_TYPES=1
-DDEBUG=1 -DNUMERIC=0 -DPYGSL_GSL_MAJOR_VERSION=1
-DPYGSL_GSL_MINOR_VERSION=5 -UNDEBUG -I/usr/include -IInclude -I.
-I/net/homes/ageers/pythonlib/usr/lib/python2.3/site-packages/numpy/core/include
-I/usr/include/python2.3 -c src/constmodule.c -o
/net/homes/ageers/temp.linux-i686-2.3/src/constmodule.o" failed with exit
status 1


I've also tried building PyGSL 0.9.1 and I get the same errors.

Thanks for any help you can give me!

Andy Geers
-- 
http://www.geero.net/
twitter: andygeers
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss

Reply via email to