<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks Olaf<br class="">
<br class=""><div class=""><br class=""></div><div class="">/(below)<br class=""><div class="">
<div class=""><p class=""><br class=""></p></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Feb 11, 2020, at 1:00 AM, Olaf Meeuwissen <<a href="mailto:paddy-hack@member.fsf.org" class="">paddy-hack@member.fsf.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Tom,<br class=""><br class="">Tom Buckler writes:<br class=""><br class=""><blockquote type="cite" class="">Hello,<br class=""><br class="">I am wanting to install a new instance of sane on OSX:<br class=""><br class="">When I go to<br class="">$ ./configure BACKENDS="fujitsu"<br class="">I get<br class="">*** Warning: sane-backends will be built without USB support.  There may<br class=""><br class="">Yet libusb is installed via homebrew:<br class="">taws27 on TAWS27: /usr/local/lib$ ls -l libusb*<br class="">lrwxr-xr-x  1 taws27  admin  46 10 Feb 23:16 libusb-1.0.0.dylib -> ../Cellar/libusb/1.0.23/lib/libusb-1.0.0.dylib<br class="">lrwxr-xr-x  1 taws27  admin  40 10 Feb 23:16 libusb-1.0.a -> ../Cellar/libusb/1.0.23/lib/libusb-1.0.a<br class="">lrwxr-xr-x  1 taws27  admin  44 10 Feb 23:16 libusb-1.0.dylib -> ../Cellar/libusb/1.0.23/lib/libusb-1.0.dylib<br class=""><br class="">Thoughts appreciated,<br class=""></blockquote><br class="">Please run `./configure --with-usb BACKENDS=fujitsu` and send the<br class="">`config.log` file to the list.  You may want to compress the file<br class="">as large messages end up in the moderator queue.<br class=""><br class=""></div></div></blockquote><div><br class=""></div><div>Well that at least let me know that there was a problem with USB:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"configure: error: USB support requested but required libraries not found."</div><div>But that's fixed with pkg-config (below)</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">That is not a problem per se, but it slows down communication.<br class=""><br class="">Even when compressed, the message may be too large.<br class=""><br class="">Alternatively, you could create an issue for this at<br class=""><br class="">  <a href="https://gitlab.com/sane-project/backends/issues/new" class="">https://gitlab.com/sane-project/backends/issues/new</a><br class=""><br class="">I don't have access to any MacOS systems, so can only really debug<br class="">this via that log file.<br class=""><br class=""></div></div></blockquote><div><br class=""></div><div>I could fix that.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">That said, do you have `pkg-config` installed?  If not, that is most<br class="">likely why libusb is not detected.<br class=""><br class=""></div></div></blockquote><div><br class=""></div><div>Didn't know about that one — it WORKED! THANKS!</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">Apologies but we don't see many MacOS folks around here </div></div></blockquote><div><br class=""></div><div>I'm used to that ;)</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">so our build<br class="">instructions may be lacking a bit for that OS.<br class=""></div></div></blockquote><div><br class=""></div><div>um, are there _any_ OSX specific instructions? If so I've totally missed them all these years that I've been relying on SANE :)</div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Hope this helps,<br class="">--<br class="">Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27<br class=""> GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9<br class=""> Support Free Software                        <a href="https://my.fsf.org/donate" class="">https://my.fsf.org/donate</a><br class=""> Join the Free Software Foundation              <a href="https://my.fsf.org/join" class="">https://my.fsf.org/join</a><br class=""></div></div></blockquote><br class=""></div><div><br class=""></div><div>So I'm past ./configure,  Now I get the following error from MAKE:</div></div><div><br class=""></div><div><b class="">~/Downloads/sane-backends-1.0.29-116-g336cbdfd$ sudo make</b></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div><span class="Apple-tab-span" style="white-space:pre">      </span>mv -f $depbase.Tpo $depbase.Plo</div></div><div class=""><div>libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I. -I../include -I../include -I/usr/local/Cellar/libusb/1.0.23/include/libusb-1.0 -I/usr/include/libxml2 -Wall -Wextra -pedantic -g -O2 -MT sanei_usb.lo -MD -MP -MF .deps/sanei_usb.Tpo -c sanei_usb.c  -fno-common -DPIC -o .libs/sanei_usb.o</div></div><div class=""><div>sanei_usb.c:67:10: fatal error: 'libxml/tree.h' file not found</div></div><div class=""><div>#include <libxml/tree.h></div></div><div class=""><div>         ^~~~~~~~~~~~~~~</div></div><div class=""><div>1 error generated.</div></div><div class=""><div>make[1]: *** [sanei_usb.lo] Error 1</div></div><div class=""><div>make: *** [all-recursive] Error 1</div></div></blockquote><div class=""><div><br class=""></div><div>This is specific to 1.0.29, as I tried 1.0.28 and it continues to install OK, (but I have to add my scanner to fujitsu.conf.) I'd still like to try to fix this in 1.0.29.</div><div><br class=""></div><div><br class=""></div><div>Tom</div><div><br class=""></div><div><table width="500" border="0" cellpadding="0" class=""><tbody class=""><tr class=""><td colspan="2" class=""><hr width="100%" style="color: rgb(0, 0, 153);" class=""></td></tr><tr class=""><td valign="top" align="left" style="white-space: nowrap; padding-left: 4px; padding-right: 4px;" class=""><font face="Calibri, Arial, Helvetica, sans-serif" size="2" color="#000088" class=""></font><div class=""><font face="Calibri, Arial, Helvetica, sans-serif" size="2" color="#000088" class=""><strong class="">Tom Buckler</strong> <font color="#99C" class="">|</font> Buckler Microelectronics Inc.<br class="">17008 - 90 Avenue NW <font color="#99C" class="">|</font> Suite 272 <font color="#99C" class="">|</font> Edmonton <font color="#99C" class="">|</font> AB <font color="#99C" class="">|</font> Canada <font color="#99C" class="">|</font> T5T 1L6<br class=""><strong class="">Cell:</strong> (780) 499-5525 </font></div></td></tr><tr class=""><td colspan="2" class=""><hr width="100%" style="color: rgb(0, 0, 153);" class=""></td></tr></tbody></table><div class=""><br class=""></div></div><br class=""></div></body></html>