I'll have to find the location of that libusb dependency.

For now, configure with "./configure --disable_swig"

Paul

On 9/5/06, E. Kastelijn <[EMAIL PROTECTED]> wrote:

Hi Guys,

I am running Fedora Core 5, with the DS9490R USB adaptor, a TAI-8520
temperature sensor and a TAI-8540 humidity sensor.
I downloaded and installed 'digitemp', and this reads my sensors fine.

With owfs I am having some more trouble.
The RPMs don't want to install:
--------------------------
# rpm -ivh owfs-fs-2.5p0-1.i586.rpm owfs-libs-2.5p0-1.i586.rpm
error: Failed dependencies:
        libresmgr.so.0.9.8 is needed by owfs-fs-2.5p0-1.i586
        libusb-0.1.4 is needed by owfs-fs-2.5p0-1.i586
--------------------------
I am running a higher version of libusb (0.1.11-2.2)
My RPMs:
libusb-0.1.11-2.2
libusb-devel-0.1.11-2.2
fuse-devel-2.5.3-1.fc5
fuse-libs-2.5.3-1.fc5
fuse-2.5.3-1.fc5

So I decided to download the source RPM and recompile that:
--------------------------
Making all in php
make[3]: Entering directory `/root/.rpm/BUILD/owfs-2.5p0 /module/swig/php'
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../../../src/include    -fexceptions -I.. -I../../../src/include
-I../../../module/owlib/src/include -D_FILE_OFFSET_BITS=64  -g -O2
-pthread -pthread -pthread -MT ow_wrap.lo -MD -MP -MF ".deps/ow_wrap.Tpo"
-c -o ow_wrap.lo ow_wrap.c; \
then mv -f ".deps/ow_wrap.Tpo" ".deps/ow_wrap.Plo"; else rm -f
".deps/ow_wrap.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -fexceptions -I..
-I../../../src/include -I../../../module/owlib/src/include
-D_FILE_OFFSET_BITS=64 -g -O2 -pthread -pthread -pthread -MT ow_wrap.lo
-MD -MP -MF .deps/ow_wrap.Tpo -c ow_wrap.c  -fPIC -DPIC -o
.libs/ow_wrap.o
ow_wrap.c:345:18: error: zend.h: No such file or directory
ow_wrap.c:346:22: error: zend_API.h: No such file or directory
ow_wrap.c:347:17: error: php.h: No such file or directory
ow_wrap.c: In function 'SWIG_SetPointerChar':
ow_wrap.c:414: warning: assignment makes pointer from integer without a cast
ow_wrap.c: At top level:
ow_wrap.c:420: error: expected ')' before '*' token
ow_wrap.c:522: error: expected ')' before '*' token
ow_wrap.c:546: error: expected ')' before '*' token
ow_wrap.c:609:21: error: php_ini.h: No such file or directory
ow_wrap.c:610:31: error: ext/standard/info.h: No such file or directory
In file included from ow_wrap.c:611:
php_OW.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'OW_module_entry'
php_OW.h:43: warning: data definition has no type or storage class
php_OW.h:43: warning: parameter names (without types) in function declaration
--------------------------
And many more errors after that.

So I decided to do download the tar.gz source code, and compile that.
This gives (as can be expected) the same result.
When I change the configuration, then the code compiles.
But the program does not run properly:
--------------------------
# ./configure --disable-php --disable-swig
# make install
# /opt/owfs/bin/owfs -u /mnt/1-wire/ --foreground --error_level=9
DEFAULT: Not a "character" device /mnt/1-wire/
DEFAULT: Not a "character" device /mnt/1-wire/
DEFAULT: Not a "character" device /mnt/1-wire/
DEFAULT: Not a "character" device /mnt/1-wire/
--------------------------
(and this keeps going)

Can someone help me out?
Am I missing something?

btw: I removed the default kernel module for the DS9490R, so that should
not be the problem in my opinion.

kind regards,

   Egon

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to