Dear Sulley, the usblib-dev is already installed:
sudo apt-get install libusb-1.0.0-dev Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0.0-dev' libusb-1.0-0-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I need the version to modify the source code in this way, that I can see the traffic of the 1-wire bus. Best regards R. Am 09.01.2017 um 23:29 schrieb Mick Sulley: > I think it is libusb-dev that is missing. > > But do you really need 3.1p5 as you can easily get 3.1p4 from the repro > using the notes that Jan kindly provided - > > Edit (or create) your /etc/apt/preferences to contain: > -------------------------------------------------------------------------- > Package: * > Pin: release o=Raspbian,a=stable > Pin-Priority: 500 > > Package: * > Pin: release o=Raspbian,a=testing > Pin-Priority: 300 > -------------------------------------------------------------------------- > This is important so you keep stable (Jessie) for all packages but the ones > explicitly taken from testing (Stretch). > > Then, add a line > -------------------------------------------------------------------------- > deb http://mirrordirector.raspbian.org/raspbian/ testing main contrib > non-free rpi > -------------------------------------------------------------------------- > to your /etc/apt/sources.list to get access to the Raspbian testing > repository. > > Do an > > $ sudo apt-get update > > to read the package metadata, then check > > $ sudo apt-cache policy > > whether the testing repo is there with priority 300. Then > > $ sudo apt-get install -t testing owserver owhttpd ow-shell > > That should install all you need, including the startup files and > systemd units. > Note you have to edit /etc/owfs.conf again to contain (this and only this) > -------------------------------------------------------------------------- > !server: server = localhost:4304 > server: device=/dev/i2c-1 > -------------------------------------------------------------------------- > Restart the owserver and owhttpd service after that. > > > > > On 09/01/17 18:51, Johan Ström wrote: >> Sounds like libusb is not found, but the include is there.. >> Try a search in the archives if you have not yet done so, I think this >> has been up before. >> >> Johan >> >> On January 9, 2017 6:55:27 PM GMT+01:00, Ritchie <rot...@gmx.de> wrote: >> >> Dear all, >> >> I am trying to compile the actual version (owfs-3.1p5) of owfs on a >> raspberry pi and get the following error message during "make". >> >> owusbprobe.o: In function `list_usb_devices_iter': >> /usr/src/owfs-3.1p5/module/owshell/src/c/owusbprobe.c:149: undefined >> reference to `libusb_strerror' >> /usr/src/owfs-3.1p5/module/owshell/src/c/owusbprobe.c:159: undefined >> reference to `libusb_strerror' >> /usr/src/owfs-3.1p5/module/owshell/src/c/owusbprobe.c:154: undefined >> reference to `libusb_strerror' >> /usr/src/owfs-3.1p5/module/owshell/src/c/owusbprobe.c:132: undefined >> reference to `libusb_strerror' >> /usr/src/owfs-3.1p5/module/owshell/src/c/owusbprobe.c:135: undefined >> reference to `libusb_strerror' >> owusbprobe.o:/usr/src/owfs-3.1p5/module/owshell/src/c/owusbprobe.c:182: >> more undefined references to `libusb_strerror' follow >> >> >> Configure shows the following configuration at the end: >> >> Current configuration: >> >> Deployment location: /opt/owfs >> >> Compile-time options: >> USB is enabled >> AVAHI is enabled >> I2C is enabled >> W1 is enabled >> Parallel port DS1410E is enabled >> FTDI (LinkUSB) is DISABLED >> Zeroconf/Bonjour is enabled >> Debug-output is enabled >> Mutexdebug is enabled >> Profiling is DISABLED >> Tracing memory allocation is DISABLED >> >> Module configuration: >> owlib is enabled >> owshell is enabled >> owfs is enabled >> owhttpd is enabled >> owftpd is enabled >> owserver is enabled >> owexternal is enabled >> ownet is enabled >> ownetlib is enabled >> owtap is enabled >> owmon is enabled >> owcapi is enabled >> swig is enabled >> owperl is enabled >> owphp is DISABLED >> owpython is enabled >> owtcl is enabled >> >> unit tests are DISABLED >> >> is this a problem ? >> >> checking if libftdi is available... auto (default) configure: >> WARNING: libftdi not found, LinkUSB native will be disabled >> >> >> I still have done: >> >> apt-get update >> apt-get upgrade >> apt-get dist-update >> >> >> Any Idea what is missing ? >> >> Best regards >> R. >> >> >> >> >> ------------------------------------------------------------------------ >> >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> ------------------------------------------------------------------------ >> >> Owfs-developers mailing list >> Owfs-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. >> >> ------------------------------------------------------------------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> >> _______________________________________________ >> Owfs-developers mailing list >> Owfs-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > > > > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers