> sudo apt-get install libusb-1.0-0-dev

Have that installed already.

I deleted everything, unpacked the archive, applied the patch, reran 
configure and then make. That did actually take me further. Now I get a 
similar error at a much later point in time:

Checking if your kit is complete...
Looks good
Warning: -L../../../owlib/src/c/.libs changed to 
-L/usr/src/owfs-3.1p0/module/swig/perl5/OW/../../../owlib/src/c/.libs
Writing Makefile for OW
Writing MYMETA.yml
/usr/bin/swig -perl5 -o OW/ow_wrap.c ../ow.i
make -C OW -fMakefile
make[4]: Entering directory '/usr/src/owfs-3.1p0/module/swig/perl5/OW'
gcc -c  -I../../../../src/include -I../../../owlib/src/include  
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -DPERL_POLLUTE  -O2 -g   -DVERSION=\"3.1p0\" 
-DXS_VERSION=\"3.1p0\" -fPIC "-I/usr/lib/perl/5.14/CORE"  -pthread 
-D_FILE_OFFSET_BITS=64 -DSKIP_SEARCH_H -DHAVE_CONFIG_H ow_wrap.c
In file included from ow_wrap.c:1525:0:
../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such 
file or directory
compilation terminated.

That is actually quite interesting, as for other modules I had tons of 
warnings during the compile:

/usr/include/libusb-1.0/libusb.h: In function 
'libusb_control_transfer_get_setup':
/usr/include/libusb-1.0/libusb.h:1048:9: warning: cast increases 
required alignment of target type [-Wcast-align]
/usr/include/libusb-1.0/libusb.h: In function 
'libusb_fill_control_setup':
/usr/include/libusb-1.0/libusb.h:1077:39: warning: cast increases 
required alignment of target type [-Wcast-align]

So for other modules, libusb.h was found now. It appears that the patch 
for owshell works indeed, and some additional patch is needed for 
swig/owperl? I looked at the makefiles, but couldn't find anything 
obvious.

Maybe there is someone knowledgeable here who can make some sense out of 
the above.

Thanks, Chris

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to