Re: [Owfs-developers] owpython error

2006-01-19 Thread George Bobeck
Peter~ I was installing owfs on my gentoo laptop and I noticed the following message during the make install process: Libraries have been installed in: /opt/owfs/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and s

Re: [Owfs-developers] owpython error

2006-01-16 Thread Peter Kropf
Been digging a bit myself. It seems that the compile / link line that's executed on gentoo is a bit different that that of my ubuntu system. On ubuntu, it looks as:gcc -pthread -shared build/temp.linux-i686-2.4/ow_wrap.o -L../../owlib/src/c/.libs -Wl,-R/opt/owfs/lib -low -lusb -o build/lib.linux- i

Re: [Owfs-developers] owpython error

2006-01-16 Thread George Bobeck
Sorry for the second post... I did a little googling on the '-R' flag for GCC Of interest is http://www.usc.edu/isd/doc/programming/c.html Which states: "Unix has a lot of shared libraries (pre-compiled code that programs can link into as if it were source code in the project). The standard pla

Re: [Owfs-developers] owpython error

2006-01-16 Thread George Bobeck
One possible temporary solution for this would be to add the following to /etc/bash/bashrc export LD_LIBRARY_PATH=/opt/owfs/lib I found that adding that made owpython work for my gentoo system. George Bobeck On 1/16/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > Hi George! > > I finally got a ge

Re: [Owfs-developers] owpython error

2006-01-16 Thread Peter Kropf
Hi George!I finally got a gentoo system built and ran into the same problem as you. I think it's because of an error that happened during the build step for the Python module. building '_OW' extensioncreating build/temp.linux- i686-2.3i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fP

Re: [Owfs-developers] owpython error

2006-01-15 Thread Peter Kropf
Hi George -I've encountered this problem when the core owfs library wasn't built / installed. Can you look at /opt/owfs/lib and let me know what's there?I've also done a fresh checkout of OWFS, built it and loaded the ow python module without any problems. Here' are the steps that I followed:     c

[Owfs-developers] owpython error

2006-01-11 Thread George Bobeck
I installed the cvs version of owfs and any time I try to either run the python examples (i.e. temperature.py) or import ow I recieve the following error: Traceback (most recent call last): File "", line 1, in ? File "/usr/lib/python2.4/site-packages/ow/__init__.py", line 31, in ? import _