I have 3.1p0 installed and running on a Pi.  Compiled and ran without 
any issue.

This is my list of stuff to install, you probably don't need all of 
this, e.g. mysql

sudo apt-get update
sudo apt-get -y dist-upgrade
sudo apt-get install apache2  php5  php5-cgi  php5-mysql libfuse-dev 
libusb-dev libavahi-client-dev  swig  fuse-utils  automake 
python-pexpect  libapache2-mod-php5 python-dev avahi-daemon python-pip -y
sudo apt-get install mysql-server  #this needs you to create a password 
as it runs
sudo apt-get install python-mysqldb -y
sudo apt-get install i2c-tools

then download owfs to  /usr/local/src
cd /usr/local/src
sudo tar zxpf owfs-3.1p0.tar.gz    # change to latest version
cd owfs-3.1p0                # change to latest version
sudo ./configure
sudo make
sudo make install

Let me know if I can provide any additional info.
Mick

On 22/05/15 09:58, c...@kruemel.org wrote:
> Hi,
>
> trying to compile owfs 3.1p0 for the raspberry, I'm getting this error:
>
> In file included from ow_dnssd.c:17:0:
> ../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such
> file or directory
> compilation terminated.
>
> Googling, I have found that previously there was a similar thread here:
> http://comments.gmane.org/gmane.comp.file-systems.owfs.devel/12056
>
> I applied the patch suggested in that thread:
>
> diff -urN owfs-3.1p0.orig/module/owshell/src/c/Makefile.am
> owfs-3.1p0/module/owshell/src/c/Makefile.am
> --- owfs-3.1p0.orig/module/owshell/src/c/Makefile.am    2015-01-11
> 02:31:32.000000000 +0100
> +++ owfs-3.1p0/module/owshell/src/c/Makefile.am    2015-03-16
> 21:20:41.177284197 +0100
> <at> <at> -41,7 +41,9 <at> <at>
>        -Wcast-align \
>        -Wstrict-prototypes \
>        -Wredundant-decls \
> -    ${EXTRACFLAGS}
> +    ${EXTRACFLAGS} \
> +    ${LIBUSB_CFLAGS} \
> +    ${PTHREAD_CFLAGS}
>
> -LDADD = ${LD_EXTRALIBS} ${OSLIBS}
> +LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS}
>
> diff -urN owfs-3.1p0.orig/module/owshell/src/c/Makefile.in
> owfs-3.1p0/module/owshell/src/c/Makefile.in
> --- owfs-3.1p0.orig/module/owshell/src/c/Makefile.in    2015-03-15
> 02:38:32.000000000 +0100
> +++ owfs-3.1p0/module/owshell/src/c/Makefile.in    2015-03-16
> 21:19:50.726241228 +0100
> <at> <at> -498,9 +498,11 <at> <at>
>        -Wcast-align \
>        -Wstrict-prototypes \
>        -Wredundant-decls \
> -    ${EXTRACFLAGS}
> +    ${EXTRACFLAGS} \
> +    ${LIBUSB_CFLAGS} \
> +    ${PTHREAD_CFLAGS}
>
> -LDADD = ${LD_EXTRALIBS} ${OSLIBS}
> +LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS}
> all: all-am
>
> .SUFFIXES:
>
> Then I ran configure again, and then make. But I'm still getting the
> error...?
>
> Please help!
>
> 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


------------------------------------------------------------------------------
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