usb support missing in own compiled owserver ?!?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

usb support missing in own compiled owserver ?!?

samuix
Hi,
I build the owserver with following options:
 
./bootstrap
./configure --enable-usb
 
following messages showed up:
checking if usb support is enabled... yes
checking for LIBUSB... no
......
    Deployment location: /opt/owfs
Compile-time options:
                      USB is DISABLED
 
libusb is installed on the system:
ldconfig -p | grep libusb
        libusb-1.0.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-1.0.so.0
        libusb-0.1.so.4 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-0.1.so.4
        libusb-0.1.so.4 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4
 
 
How can i build the owserver with USB enabled ?
Thanks
 

------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: usb support missing in own compiled owserver ?!?

Roland Franke
Hello,
> libusb is installed on the system:
> ldconfig -p | grep libusb
>         libusb-1.0.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-1.0.so.0
>         libusb-0.1.so.4 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-0.1.so.4
>         libusb-0.1.so.4 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4
 
But not libusb-dev, what is need for building.
 
Best regards,
Roland

------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: usb support missing in own compiled owserver ?!?

Markus Gaugusch
In reply to this post by samuix
Hi Samuix,

You are probably missing the libusb-dev package which includes the headers
that are necessary for compiling.

kind regards,
Markus

On Sep 17, samuix <[hidden email]> wrote:

>Date: Sat, 17 Sep 2016 21:02:22
>From: samuix <[hidden email]>
>Reply-To: "OWFS (One-wire file system) discussion and help"
>    <[hidden email]>
>To: [hidden email]
>Subject: [Owfs-developers] usb support missing in own compiled owserver ?!?
>
>Hi,
>I build the owserver with following options:

>./bootstrap
>./configure --enable-usb

>following messages showed up:
>checking if usb support is enabled... yes
>checking for LIBUSB... no
>......
>    Deployment location: /opt/owfs
>Compile-time options:
>                      USB is DISABLED

>libusb is installed on the system:
>ldconfig -p | grep libusb
>        libusb-1.0.so.0 (libc6,hard-float) =>
>/lib/arm-linux-gnueabihf/libusb-1.0.so.0
>        libusb-0.1.so.4 (libc6,hard-float) =>
>/lib/arm-linux-gnueabihf/libusb-0.1.so.4
>        libusb-0.1.so.4 (libc6,hard-float) =>
>/usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4


>How can i build the owserver with USB enabled ?
>Thanks

>
>
------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: usb support missing in own compiled owserver ?!?

Mick Sulley
In reply to this post by samuix

I think you also need libusb-dev if you are compiling it

Mick


On 17/09/16 20:02, samuix wrote:
Hi,
I build the owserver with following options:
 
./bootstrap
./configure --enable-usb
 
following messages showed up:
checking if usb support is enabled... yes
checking for LIBUSB... no
......
    Deployment location: /opt/owfs
Compile-time options:
                      USB is DISABLED
 
libusb is installed on the system:
ldconfig -p | grep libusb
        libusb-1.0.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-1.0.so.0
        libusb-0.1.so.4 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-0.1.so.4
        libusb-0.1.so.4 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4
 
 
How can i build the owserver with USB enabled ?
Thanks
 


------------------------------------------------------------------------------


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: usb support missing in own compiled owserver ?!?

samuix
In reply to this post by Roland Franke
Hello,
 
before build i executed:
apt-get install libusb-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libusb-dev
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 0 B/34.4 kB of archives.
After this operation, 177 kB of additional disk space will be used.
Selecting previously unselected package libusb-dev.
(Reading database ... 32496 files and directories currently installed.)
Preparing to unpack .../libusb-dev_2%3a0.1.12-25_armhf.deb ...
Unpacking libusb-dev (2:0.1.12-25) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libusb-dev (2:0.1.12-25) ...
 
but libusb-dev is not listed. with ldconfig...
Gesendet: Samstag, 17. September 2016 um 21:12 Uhr
Von: "Roland Franke" <[hidden email]>
An: [hidden email]
Betreff: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
Hello,
 
 
> libusb is installed on the system:
> ldconfig -p | grep libusb
>         libusb-1.0.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-1.0.so.0
>         libusb-0.1.so.4 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-0.1.so.4
>         libusb-0.1.so.4 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4
 
But not libusb-dev, what is need for building.
 
Best regards,
Roland
------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: usb support missing in own compiled owserver ?!?

Roland Franke
Hello,
please try additional
apt-get install libusb-1.0-0-dev
to get the dev for libusb 1.xx (xx for varius version)
 
Best regards,
Roland
 
From: samuix
Sent: Saturday, September 17, 2016 9:21 PM
Subject: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
 
Hello,
 
before build i executed:
apt-get install libusb-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libusb-dev
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 0 B/34.4 kB of archives.
After this operation, 177 kB of additional disk space will be used.
Selecting previously unselected package libusb-dev.
(Reading database ... 32496 files and directories currently installed.)
Preparing to unpack .../libusb-dev_2%3a0.1.12-25_armhf.deb ...
Unpacking libusb-dev (2:0.1.12-25) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libusb-dev (2:0.1.12-25) ...
 
but libusb-dev is not listed. with ldconfig...
Gesendet: Samstag, 17. September 2016 um 21:12 Uhr
Von: "Roland Franke" <[hidden email]>
An: [hidden email]
Betreff: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
Hello,
 
 
> libusb is installed on the system:
> ldconfig -p | grep libusb
>         libusb-1.0.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-1.0.so.0
>         libusb-0.1.so.4 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-0.1.so.4
>         libusb-0.1.so.4 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4
 
But not libusb-dev, what is need for building.
 
Best regards,
Roland
------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: usb support missing in own compiled owserver ?!?

samuix
Hello,
Thanks for the advice :-)
now it works
 
Best regards
 
Gesendet: Samstag, 17. September 2016 um 21:37 Uhr
Von: "Roland Franke" <[hidden email]>
An: [hidden email]
Betreff: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
Hello,
please try additional
apt-get install libusb-1.0-0-dev
to get the dev for libusb 1.xx (xx for varius version)
 
Best regards,
Roland
 
From: samuix
Sent: Saturday, September 17, 2016 9:21 PM
Subject: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
 
Hello,
 
before build i executed:
apt-get install libusb-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libusb-dev
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 0 B/34.4 kB of archives.
After this operation, 177 kB of additional disk space will be used.
Selecting previously unselected package libusb-dev.
(Reading database ... 32496 files and directories currently installed.)
Preparing to unpack .../libusb-dev_2%3a0.1.12-25_armhf.deb ...
Unpacking libusb-dev (2:0.1.12-25) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libusb-dev (2:0.1.12-25) ...
 
but libusb-dev is not listed. with ldconfig...
Gesendet: Samstag, 17. September 2016 um 21:12 Uhr
Von: "Roland Franke" <[hidden email]>
An: [hidden email]
Betreff: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
Hello,
 
 
> libusb is installed on the system:
> ldconfig -p | grep libusb
>         libusb-1.0.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-1.0.so.0
>         libusb-0.1.so.4 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-0.1.so.4
>         libusb-0.1.so.4 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4
 
But not libusb-dev, what is need for building.
 
Best regards,
Roland
------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers

 


------------------------------------------------------------------------------

 


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: usb support missing in own compiled owserver ?!?

Roland Franke
Hello,
thank you for the replay.
I was falling over that point with my PI and was searching for the point of problem.
I was knowing, that since OWFS 3.1 the dependency was for libusb-1 and depending
on the system (Linux), you must set the special information for libusb-1for downloading
that as sometimes only libusb-dev will install the old version 0.1.xxx
 
Best regards,
Roland
 
From: samuix
Sent: Sunday, September 18, 2016 10:31 AM
Subject: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
 
Hello,
Thanks for the advice :-)
now it works
 
Best regards
 
Gesendet: Samstag, 17. September 2016 um 21:37 Uhr
Von: "Roland Franke" <[hidden email]>
An: [hidden email]
Betreff: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
Hello,
please try additional
apt-get install libusb-1.0-0-dev
to get the dev for libusb 1.xx (xx for varius version)
 
Best regards,
Roland
 
From: samuix
Sent: Saturday, September 17, 2016 9:21 PM
Subject: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
 
Hello,
 
before build i executed:
apt-get install libusb-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libusb-dev
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 0 B/34.4 kB of archives.
After this operation, 177 kB of additional disk space will be used.
Selecting previously unselected package libusb-dev.
(Reading database ... 32496 files and directories currently installed.)
Preparing to unpack .../libusb-dev_2%3a0.1.12-25_armhf.deb ...
Unpacking libusb-dev (2:0.1.12-25) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libusb-dev (2:0.1.12-25) ...
 
but libusb-dev is not listed. with ldconfig...
Gesendet: Samstag, 17. September 2016 um 21:12 Uhr
Von: "Roland Franke" <[hidden email]>
An: [hidden email]
Betreff: Re: [Owfs-developers] usb support missing in own compiled owserver ?!?
Hello,
 
 
> libusb is installed on the system:
> ldconfig -p | grep libusb
>         libusb-1.0.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-1.0.so.0
>         libusb-0.1.so.4 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-0.1.so.4
>         libusb-0.1.so.4 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libusb-0.1.so.4
 
But not libusb-dev, what is need for building.
 
Best regards,
Roland
------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers

 


------------------------------------------------------------------------------

 


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------


_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers