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 
> 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...

> 
> I have installed numarray-1.5.1, numeric 24.2, lzo2.02 and 
> ucl-1.03 (the latter two with the usual configure, make, 
> make install)
> I installed lzo under /usr but ucl under /usr/local
> 
> in /usr/lib, I have
>       liblzo2.a  liblzo2.la  liblzo2.so  liblzo2.so.2 
> liblzo2.so.2.0.0
> in /usr/include, I have
>       lzo1.h  lzo1a.h  lzo1b.h  lzo1c.h  lzo1f.h  lzo1x.h 
> lzo1y.h  lzo1z.h  lzo2a.h  lzo_asm.h  lzoconf.h  lzodefs.h 
> 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,

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




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to