[Please, do not ask me privately questions about PyTables.  It is always 
best to ask in the user's list so that other people can help (and 
learn!) too. Thanks]

A Tuesday 27 November 2007, escriguéreu:
> Hi,
>
> I've just downloaded the newest release and tried to compile it. I
> have numpy-1.0.4
> python-2.5.1
> blas-3.0.3
> hdf5-1.6.6
> gcc-4.2.2 (tried gcc-3.4 too)
> After unpacking I did "python setup.py build_ext --inplace"
> The error I get is:
>
> * Found numpy 1.0.4 package installed.
> * Found HDF5 headers at ``/usr/include``, library at ``/usr/lib``.
> * Found LZO 2 headers at ``/usr/include``, library at ``/usr/lib``.
> * Skipping detection of LZO 1 since LZO 2 has already been found.
> * Found bzip2 headers at ``/usr/include``, library at ``/lib``.
> running build_ext
> building 'tables._comp_lzo' extension
> C compiler:
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes -fPIC
>
> compile
> options: '-DNDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1
> -I/usr/local/lib/python/site-packages/numpy/core/include
> -I/usr/include/python2.5 -c' gcc: src/H5Zlzo.c
> src/H5Zlzo.c: In function 'register_lzo':
> src/H5Zlzo.c:76: warning: passing argument 1 of 'H5Zregister' makes
> integer from pointer without a cast
> src/H5Zlzo.c:76: error: too few arguments to function 'H5Zregister'
> src/H5Zlzo.c: In function 'register_lzo':
> src/H5Zlzo.c:76: warning: passing argument 1 of 'H5Zregister' makes
> integer from pointer without a cast
> src/H5Zlzo.c:76: error: too few arguments to function 'H5Zregister'
> error:
> Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes -fPIC -DNDEBUG=1 -DHAVE_LZO2_LIB=1
> -DHAVE_BZ2_LIB=1
> -I/usr/local/lib/python/site-packages/numpy/core/include
> -I/usr/include/python2.5 -c src/H5Zlzo.c -o
> build/temp.linux-i686-2.5/src/H5Zlzo.o" failed with exit status 1
>
> Is there a quick fix?

I don't know.  It seems that PyTables has recognized LZO2 installed in 
your system, but for some reason, the API doesn't match the LZO2 
version, which is very strange.  Which version of LZO do you have 
installed?  It is possible that you are mixin headers/library from 
LZO1/LZO2?

Cheers,

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to