Hiya! I have been unable to compile version 0.9.0 of the library. My system details:
Debian 2.6.17-2-amd64 gsl v1.8 python v2.4.4 numpy v1.0.1 gcc v4.1.2 gsl-config v1.9 The output I get is attached below. As suggested in another thread, I've tried v0.3.2, and do get a successful compilation, but many tests fail, as per the 2006-10-05 message from Stuart Stock. Finally, I've tried the CVS version, and on the _second_ compilation, it worked. Some tests fail, but it is much cleaner than v0.3.2. When imported into Python, the CVS version of the pygsl library reports its version as '0.3.2'. Please let me know what other information might be needed/useful. Thanks, Mike Taschuk ================================= Output from compilation of 0.9.0: ================================= janus:pygsl-0.9.0/#python ./setup.py install Using 'Numeric' as array object ['gsl_dist.array_includes', 'gsl_dist.__init__', 'gsl_dist.swig_extension', 'gsl_dist.gsl_Extension', 'gsl_dist.gsl_site_example'] running install running build running build_py running build_ext building 'init' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=1 -DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=9 -UNDEBUG -I/usr/include -IInclude -I. -I/usr/include/python2.4 -c src/init/initmodule.c -o build/temp.linux-x86_64-2.4/src/init/initmodule.o In file included from src/init/initmodule.c:51: src/init/block_helpers.c: In function 'PyGSL_PyArray_Check': src/init/block_helpers.c:243: error: 'PyArray_BYTE' undeclared (first use in this function) src/init/block_helpers.c:243: error: (Each undeclared identifier is reported only once src/init/block_helpers.c:243: error: for each function it appears in.) src/init/block_helpers.c:243: error: 'PyArray_STRING' undeclared (first use in this function) error: command 'gcc' failed with exit status 1 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ pygsl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pygsl-discuss
