> GnuWin32 is not a package on itself, but rather a way to install packages.  So
> you don't need to install anything, just unpack the zip file in \GNUWIN32, and
> *follow* the installation instructions in User's Guide.
>
> Tell me how it goes,
>
Not too well, actually, but I am also confused in several aspects, and
there is probably something straightforward I am missing.

So, first I have unzipped the file as you suggest whereafter I have
the following folder hierarchy:
C:\GnuWin32\bin
C:\GnuWin32\doc
C:\GnuWin32\include
C:\GnuWin32\lib
C:\GnuWin32\manifest

The first thing which I find odd here is that there is not an lzo-1-08
subfolder to GnuWin32 in the zip file.

Next, if I read the User's Guide, sec. 2.1.1, "Prerequisites" (I've
used the Windows binary installer to install PyTables) it says that
setup.py needs to know the LZO_DIR and I should define the LZO_DIR env
variable such that it knows where the necessay .lib and .h files are
installed. I am surprised by that as I thought the only run-time thing
needed to knwo was where the dll is - they are all in three different
subdirectories.

Next it is stated that I should use SET commands to set those values.
I do not quite undertsand that as that will only have effect in a cmd
window and will not be persisted. Thus I instead defined LZO_DIR as a
System env. variable. I have tried defining it as

LZO_DIR = C:\GNUWIN32

and also

LZO_DIR = C:\GNUWIN32\bin

(the HDF5_DIR and BZIP2_DIR environment variables are btw not defined,
seems like the Windows installer manages to handle this by some other
means)

and then in an IPython shell test by doing

import tables; tables.test()

In both cases I get the following warning:
C:\Python25\lib\site-packages\tables\filters.py:258: FiltersWarning:
compression library ``lzo`` is not available; using ``zli
b`` instead
  % (complib, default_complib), FiltersWarning )

indicating that PyTables could not find the LZO package.

So what am I doing wrong?

Cheers,

Kim

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to