On Tuesday 22 September 2009 Pierre SCHNIZER wrote:
> Dear Jose,
> 
>       thanks for the report. The tool described in the documentation (yes
> there is a bit ;-) in section 1.4.4
> http://pygsl.sourceforge.net/reference/pygsl/module-pygsl.diff.html
> had a bug and did not update the relevant files (CGS, MKS).
> 
> I fixed it and now it compiles for me. I updated the files in CVS.
> Please drop me a line if it does not work for you
> 
> Sincerely yours
>       Pierre

In order to compile a new version I have applied the patch that you committed 
last Tuesday.

This is what I get:

compile options: '-DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=1 -
DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=13 -UNDEBUG -
I/usr/include -IInclude -I. -I/usr/lib/python2.6/site-
packages/numpy/core/include -I/usr/include/python2.6 -c'
gcc: src/constmodule.c
In file included from src/constmodule.c:73:
src/const_cgsm_array.c:80: error: 'GSL_CONST_CGSM_GAUSS' undeclared here (not 
in a function)
In file included from src/constmodule.c:73:
src/const_cgsm_array.c:80: error: 'GSL_CONST_CGSM_GAUSS' undeclared here (not 
in a function)
error: Command "gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -
O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --
param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-
tables -fPIC -DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=1 -
DPYGSL_GSL_MAJOR_VERSION=1 -DPYGSL_GSL_MINOR_VERSION=13 -UNDEBUG -
I/usr/include -IInclude -I. -I/usr/lib/python2.6/site-
packages/numpy/core/include -I/usr/include/python2.6 -c src/constmodule.c -o 
build/temp.linux-i686-2.6/src/constmodule.o" failed with exit status 1

This is related with my previous observation that I had problems with 
CGSM_GAUSS. This is weird in any case. :-)

FWIW I have applied your patch to a pristine pygsl-0.9.4.

Regards,
-- 
José Abílio

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss

Reply via email to