On Mar 26, 11:07 am, William Stein <[email protected]> wrote: > > I just tried PyGSL -- I downloaded the tarball, change into the > pygsl-0.9.5 directory, and typed > > sage -python setup.py > > Unfortunately, the build fails for me under OS X and Ubuntu 8.10 Linux > with Sage-4.3.4: > > In file included from testing/src/sf/sfmodule_testing.c:49: > testing/src/sf/sf__data.c:779: error: ‘gsl_sf_exprel_n_CF_e’ > undeclared here (not in a function) > testing/src/sf/sfmodule_testing.c:102: warning: initialization from > incompatible pointer type > testing/src/sf/sfmodule_testing.c:102: warning: initialization from > incompatible pointer type > testing/src/sf/sfmodule_testing.c:145: warning: initialization from > incompatible pointer type > testing/src/sf/sfmodule_testing.c:145: warning: initialization from > incompatible pointer type > testing/src/sf/sfmodule_testing.c: In function ‘init_ufuncs’: > testing/src/sf/sfmodule_testing.c:167: warning: cast from pointer to > integer of different size > error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall > -Wstrict-prototypes -fPIC -DSWIG_COBJECT_TYPES=1 -DGSL_RANGE_CHECK=1 > -DDEBUG=1 -DNUMERIC=0 -DPYGSL_GSL_MAJOR_VERSION=1 > -DPYGSL_GSL_MINOR_VERSION=10 -UNDEBUG > -I/home/wstein/build/production/sage/local/include -IInclude -I. > -I/home/wstein/build/production/sage/local/lib/python2.6/site-packages/numpy/core/include > -I/home/wstein/build/production/sage/local/include/python2.6 -c > testing/src/sf/sfmodule_testing.c -o > build/temp.linux-x86_64-2.6/testing/src/sf/sfmodule_testing.o" failed > with exit status 1 > > --- > > If somebody gets PyGSL to work, that would be very good (it would be > great to have an optional spkg!). Please note one issue though, which > is that SWIG wrappers (PyGSL is a swig wrapper) have a significant > *performance* penalty. > > -- William > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://wstein.org
I get it working through a local installation (Fedora 12). Only some tests fail in tests/block_test.py when I run python run_test.py I will see if I can install it from within the Sage. -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org To unsubscribe from this group, send email to sage-devel+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
