Am 04.02.2016 um 22:28 schrieb Dean Waldow:
>
> checking for LIBUSB... no
> 
> I have not dug into the code to see where it is looking for libusb. I
> seem to remember that in MacPorts there were two libusb portions
> (libusb and libusb-development) - doubt there is something similar in
> brew. I only seem to see libusb files from brew in the following
> locations:
> 
> $ brew list libusb 
> /usr/local/Cellar/libusb/1.0.20/include/libusb-1.0/libusb.h 
> /usr/local/Cellar/libusb/1.0.20/lib/libusb-1.0.0.dylib 
> /usr/local/Cellar/libusb/1.0.20/lib/pkgconfig/libusb-1.0.pc 
> /usr/local/Cellar/libusb/1.0.20/lib/ (2 other files)
> 
> It seems that there would need to be a symbolic link in some ‘normal’
> location to the libusb in the brew Cellar? I presume owfs is looking
> for a *.h file? or an actually library? Suggestions?
> 
It uses pkg-config.

$ pkg-config --exists libusb-1.0 && echo "libusb-1.0 exists!"


> /usr/local/lib/libusb-0.1.4.4.4.dylib /usr/local/lib/libusbdll.dylib 
>
That's libusb0.


> /usr/local/lib/libusbpp-0.1.4.4.4.dylib 
> /usr/local/lib/libusbpp-0.1.4.dylib /usr/local/lib/libusbpp.dylib 
> /usr/local/lib/libusbpp.la
> 
That's the C++ binding for libusb0, which owfs doesn't use.


> 
> I was somewhat interested in owfs and owphp. I know I don’t have fuse
> installed but I am not sure if homebrew’s fuse would work with owfs
> or if I really even need owfs specifically or if owserver is enough.
>
Forget about the FUSE binding. It has some awkward limitations
introduced by the file system abstraction which makes it unusable for
anything but demonstration purposes.


> I have a fair bit of code in php already but could access the data in
> another method if needed.  I’ll wait on worrying about those until I
> get get a vanilla owfs running.
> 
Don't get the ./configure output wrong. owphp is the owlib based
language binding. You need this if you want to access the hardware
directly (without the help of owserver), which isn't recommended.

It is recommended to use owserver and an ownet based client. The ownet
bindings have no external dependencies and are built by default. Look
into module/ownet/php/examples.

Kind regards

        Jan

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to