[SciPy-user] ANN: PyTables-0.9 released

Francesc Altet falted at pytables.org
Mon Nov 8 04:30:17 CST 2004


A Diumenge 07 Novembre 2004 21:03, Stephen Walton va escriure:
> On Fri, 2004-11-05 at 19:28 +0100, Francesc Altet wrote:
> Francesc, I hit a problem building PyTables 0.9 on FC2 which I didn't
> see at PyTables 0.8.3:  it is attempting to link against the lzo
> libraries even though setup.py correctly detected I don't have them
> installed.  A short excerpt from the build output:
> 
> [...many lines deleted, including a lot of warnings about mismatched
> pointer types..]
> build/temp.linux-i686-2.3/src/H5TB-opt.o -lhdf5 -llzo -lucl -o
> build/lib.linux-i686-2.3/tables/hdf5Extension.so
> /usr/bin/ld: cannot find -llzo
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1

Ooops, my bad. I must recognize that I don't check frequently enough
the pytables installation without lzo and ucl present.

The cure is in CVS now. You can also apply this patch:

--- ../exports/pytables-0.9/setup.py    2004-11-05 16:33:58.000000000 +0100
+++ setup.py    2004-11-08 11:23:21.000000000 +0100
@@ -94,6 +94,7 @@
     else:
         if not incdir or not libdir:
             print "Optional %s libraries or include files not found. Disabling support for them." % (libname,)
+            return
         else:
             # Necessary to include code for optional libs
             def_macros.append(("HAVE_"+libname.upper()+"_LIB", 1))


Cheers,  

-- 
Francesc Altet



More information about the SciPy-user mailing list