Just a guess since you didn't mention working around following. Macports is installed under /opt's and only looks for its libraries under /opts. I think those twain-sane packages are self-contained packages.
So probably when you compiled xsane from Macports it pulled in the older sane-backends-1.0.20 from Macports as well. 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. Chris On Mon, May 17, 2010 at 1:22 AM, Darren Goossens <goossens at rsc.anu.edu.au>wrote: > Hi, Sorry if I am not very knowledgeable; > > I installed scanimage and sane on a Mac running 10.6 and it works from > command line. (http://www.ellert.se/twain-sane/) > > 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. > > Here is some output > > edr:~ goossens$ sane-find-scanner > > # sane-find-scanner will now attempt to detect your scanner. If the > # result is different from what you expected, first make sure your > # scanner is powered up and properly connected to your computer. > > # No SCSI scanners found. If you expected something different, make sure > that > # you have loaded a kernel SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan], > chip=LM9832/3) at libusb:003:004-04a9-220e-ff-00 > # Your USB scanner was (probably) detected. It may or may not be supported > by > # SANE. Try scanimage -L and read the backend's manpage. > > # Not checking for parallel port scanners. > > # Most Scanners connected to the parallel port or other proprietary ports > # can't be detected by this program. > > # You may want to run this program as root to find all devices. Once you > # found the scanner devices, be sure to adjust access permissions as > # necessary. > edr:~ goossens$ scanimage -L > device `plustek:libusb:003:004-04a9-220e-ff-00' is a Canon CanoScan > N1240U/LiDE30 flatbed scanner > > > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request at lists.alioth.debian.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100517/1348f090/attachment-0001.htm>