|
From: Francesc A. <fa...@ca...> - 2006-03-15 18:37:18
|
Hi Ken, El dc 15 de 03 del 2006 a les 13:00 -0500, en/na Ken Dere va escriure: > I am trying to install pytables 1.2.3 and am having problems=20 > with lzo and ucl >From your outputs, ucl is detected and used. There is only a warning about the location of the dynamic library, but your configuration seems to find it anyway. Now, let's go for lzo... >=20 > I have installed numarray-1.5.1, numeric 24.2, lzo2.02 and=20 > ucl-1.03 (the latter two with the usual configure, make,=20 > make install) > I installed lzo under /usr but ucl under /usr/local >=20 > in /usr/lib, I have > liblzo2.a liblzo2.la liblzo2.so liblzo2.so.2=20 > liblzo2.so.2.0.0 > in /usr/include, I have > lzo1.h lzo1a.h lzo1b.h lzo1c.h lzo1f.h lzo1x.h=20 > lzo1y.h lzo1z.h lzo2a.h lzo_asm.h lzoconf.h lzodefs.h=20 > lzoutil.h Mmm, that's strange. LZO2 headers are installed normally in /usr/include/lzo, nor /usr/include. Have you configured this by hand? In any case, PyTables does expect to have them under a lzo/ directory. You can do two things: - Move the headers of LZO2 to /usr/include/lzo. This is the recommended approach. - If, for any reason, you can't move these headers, apply the next patch to PyTables sources: ------------------------------------------------------- --- src/H5Zlzo.c (revision 1494) +++ src/H5Zlzo.c (working copy) @@ -9,7 +9,7 @@ # include "lzo1x.h" #endif #ifdef HAVE_LZO2_LIB -# include "lzo/lzo1x.h" +# include "lzo1x.h" # define HAVE_LZO_LIB /* The API for LZO and LZO2 are mostly identical */ #endif --------------------------------------------------------- and, hopefuly, your problem should go away. Regards, --=20 >0,0< Francesc Altet http://www.carabos.com/ V V C=E1rabos Coop. V. Enjoy Data "-" |