[SciPy-user] Sparse Compilation Issues (again)

Travis Oliphant oliphant.travis at ieee.org
Thu Dec 19 10:14:10 EST 2002


On Thu, 2002-12-19 at 01:48, Costas Malamas wrote:
> 
> I've been trying to compile sparse on win32 to no avail.  I tried both 
> mingw32 with pre-built ATLAS and LAPACK and Cygwin, both with the Scipy CVS. 
>   Both setups work OK (well, cluster also fails on Cygwin, but I took it 
> out), and they crash more-or-less with the same error ("parse error before 
> numeric constant", below).  Extensive Googling shows that this means a 
> numeric constant is already used somewhere else, but I got no solution to 
> work around it...
> 
> Ideas?
> 
> Thanks,
> 
> Costas
> 
> 
> gcc -shared -Wl,--enable-auto-image-base 
> build/temp.cygwin-1.3.17-i686-2.2/convo
> lve.o build/temp.cygwin-1.3.17-i686-2.2/fortranobject.o 
> build/temp.cygwin-1.3.17
> -i686-2.2/convolvemodule.o -Lbuild/temp.cygwin-1.3.17-i686-2.2 
> -L/usr/lib/python
> 2.2/config -Lbuild/temp.cygwin-1.3.17-i686-2.2 -ldfftpack -lpython2.2 
> -lc_misc -
> lcephes -lrootfind -lsuperlu -lmyblas -lg2c -o 
> build/lib.cygwin-1.3.17-i686-2.2/
> scipy/fftpack/convolve.dll
> building 'scipy.sparse._zsuperlu' extension
> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT 
> -I/usr/include/pyt
> hon2.2 -c /d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c -o 
> build/temp.
> cygwin-1.3.17-i686-2.2/_zsuperlumodule.o
> In file included from 
> /d/Projects/scipy/scipy_cygwin/sparse/SuperLU/SRC/zsp_defs
> .h:23,
>                  from 
> /d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c:26
> :
> /d/Projects/scipy/scipy_cygwin/sparse/SuperLU/SRC/supermatrix.h:19: parse 
> error
> before numeric constant
> /d/Projects/scipy/scipy_cygwin/sparse/SuperLU/SRC/supermatrix.h:21: parse 
> error
> before numeric constant


Are you sure you have the correct CVS files?  This is odd for there to
be a parse error in SuperLU.  Did you modify this file somehow or not
get a complete checkout.

You could erase this file and check it out again.  You might try that
for that whole SuperLU directory.

Good luck,

-Travis





More information about the SciPy-User mailing list