Hi,
at least the current master (or well, ftdi branch but nothing touched
there since 9a8aa0 == 3.1p1) detects libusb properly on my OS X (10.10.5):
checking for LIBUSB... yes
...
Compile-time options:
USB is enabled
I have no custom configure flags, and libusb from brew.
What does pkg-config tell you? This is the output on my box:
$ pkg-config libusb --cflags
-I/usr/local/Cellar/libusb-compat/0.1.5/include
-I/usr/local/Cellar/libusb/1.0.20/include/libusb-1.0
$
Regards
Johan
On 04/02/16 22:28, Dean Waldow wrote:
Hi Jan and Stefano,
I followed Stefano’s information below up to the point of trying to
run it with devices attached. I first removed MacPorts and then
installed HomeBrew, wget, and libusb. I used wget to get owfs-3.1p1.
$ brew install libusb
$ tar xvzf owfs-3.1p1.tar.gz
$ cd owfs-3.1p1
$ ./configure --prefix $HOME/owfs-install --disable-owtcl
$ make -j4
$ make install
It ‘appeared’ to build OK except that USB is disabled. It seems it
could not find LIBUSB.
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?
As far as the /usr/lib files I only see the following which I presume
are leftovers from the MacPorts install that didn’t get removed properly?
/usr/local/lib/libusb-0.1.4.4.4.dylib
/usr/local/lib/libusbdll.dylib
/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
Main compile options output:
Compile-time options:
USB is DISABLED
AVAHI is DISABLED
I2C is enabled
W1 is DISABLED
Parallel port DS1410E 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 DISABLED
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 DISABLED
owperl is DISABLED
owphp is DISABLED
owpython is DISABLED
owtcl is DISABLED
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. 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.
Thanks,
Dean
On Feb 4, 2016, at 3:53 AM, Stefano Miccoli <[email protected]
<mailto:[email protected]>> wrote:
Here is my recipe that worked with yosemite+homebrew
$ brew install libusb
$ tar xvzf owfs-3.1p1.tar.gz
$ cd owfs-3.1p1
$ ./configure --prefix $HOME/owfs-install --disable-owtcl
$ make -j4
$ make install
$ $HOME/owfs-install/bin/owserver -u -—foreground
from another terminal:
$ $HOME/owfs-install/bin/owdir
Stefano
------------------------------------------------
Dean Waldow, Professor
Department of Chemistry
Pacific Lutheran University
Tacoma, WA 98447 USA
253-535-7533 (Office)
253-536-5055 (FAX)
[email protected] <mailto:[email protected]>
http://www.chem.plu.edu/waldow/
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers