On 12 June 2010 01:04, Nils Wagner <nwag...@iam.uni-stuttgart.de> wrote: > On Fri, 11 Jun 2010 15:55:31 +1000 > Tony Theodore <to...@logyst.com> wrote: >> >> On 11 June 2010 04:31, Nils Wagner <nwag...@iam.uni-stuttgart.de> wrote: >>> >>> Hi all, >>> >>> I have successfully installed lzo2.03 >>> http://www.oberhumer.com/opensource/lzo/ >>> >>> using >>> >>> ./configure --prefix=$HOME/local >>> make >>> make install >>> >>> How do I configure pytables in order to detect the lzo >>> header files in /home/nwagner/local/include/lzo ? >>> >>> Can I use a site.cfg file ? >> >> Possibly, though a simpler way may be to pass the --lzo option to >> configure: >> >> python setup.py install --prefix=$HOME/local --lzo=$HOME/local >> >> See here >> >> http://www.pytables.org/docs/manual/ch02.html#sourceInstallationDescr >> >> for more details. You may want to build and test before installing. >> >> Tony > > Tony, > > Thank you very much for your reply ! > > python setup.py install --prefix=$HOME/local --lzo=$HOME/local > * Found numpy 2.0.0.dev8460 package installed. > * Found numexpr 1.4.dev169 package installed. > * Found HDF5 headers at ``/usr/include``, library at ``/usr/lib64``. > * Found LZO 2 headers at ``/home/nwagner/local/include``, library at > ``/home/nwagner/local/lib``. > .. WARNING:: Could not find the LZO 2 runtime. > The LZO 2 shared library was *not* found in the default library > paths. In case of runtime problems, please remember to install it. > * Skipping detection of LZO 1 since LZO 2 has already been found. > > Can I ignore the warning ?
Possibly, I tend to always install to /usr/local. Try running the tests: python -c "import tables; tables.test()" If that works, then you don't have to worry. If it fails, try: LD_LIBRARY_PATH=/home/nwagner/local/lib python -c "import tables; tables.test()" Then you can add LD_LIBRARY_PATH to your shell startup script. Cheers, Tony ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users