Just a guess since you didn't mention working around following.<br><br>Macports is installed under /opt's and only looks for its libraries under /opts. I think those twain-sane packages are self-contained packages.<br>
<br>So probably when you compiled xsane from Macports it pulled in the older sane-backends-1.0.20 from Macports as well.<br><br>Can't offer the exact fix for getting Macports to use external libraries but recommend pinging the Macport maintainer of sane-backends to update to 1.0.21. That would be simplest.<br>
<br>Chris<br><br><div class="gmail_quote">On Mon, May 17, 2010 at 1:22 AM, Darren Goossens <span dir="ltr"><<a href="mailto:goossens@rsc.anu.edu.au">goossens@rsc.anu.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi, Sorry if I am not very knowledgeable;<br>
<br>
I installed scanimage and sane on a Mac running 10.6 and it works from command line. (<a href="http://www.ellert.se/twain-sane/" target="_blank">http://www.ellert.se/twain-sane/</a>)<br>
<br>
But xsane, which I installed from MacPorts, which took many hours of compiling things, does not find any devices, even though I can scan and view images using the command line. ImageCapture on the mac works as well (ie it finds the scanner). So I am pretty sure the problem must be with xsane.<br>
<br>
Here is some output<br>
<br>
edr:~ goossens$ sane-find-scanner<br>
<br>
# sane-find-scanner will now attempt to detect your scanner. If the<br>
# result is different from what you expected, first make sure your<br>
# scanner is powered up and properly connected to your computer.<br>
<br>
# No SCSI scanners found. If you expected something different, make sure that<br>
# you have loaded a kernel SCSI driver for your SCSI adapter.<br>
<br>
found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan], chip=LM9832/3) at libusb:003:004-04a9-220e-ff-00<br>
# Your USB scanner was (probably) detected. It may or may not be supported by<br>
# SANE. Try scanimage -L and read the backend's manpage.<br>
<br>
# Not checking for parallel port scanners.<br>
<br>
# Most Scanners connected to the parallel port or other proprietary ports<br>
# can't be detected by this program.<br>
<br>
# You may want to run this program as root to find all devices. Once you<br>
# found the scanner devices, be sure to adjust access permissions as<br>
# necessary.<br>
edr:~ goossens$ scanimage -L<br>
device `plustek:libusb:003:004-04a9-220e-ff-00' is a Canon CanoScan N1240U/LiDE30 flatbed scanner<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
</font></blockquote></div><br>