[sane-devel] Re: Darwin/MacOSX

Peter O'Gorman peter@pogma.com
Thu, 28 Nov 2002 21:39:18 +0900


On Thursday, November 28, 2002, at 09:21  PM, Karl Heinz Kremer wrote:
>
>>
>> Note that a dlopen compatibility library is needed, I suggest using
>> dlcompat <http://www.opendarwin.org/projects/dlcompat>, but I am a
>> little biased :)
>
> Why do you need this library? I am able to load the backends without
> this (at least I am not aware of dlcmpat being installed on my system).
> What are the symptoms if you don't have this?
>
> Which frontends are you using? I am having problems with the preview
> areas in both Xsane and xscanimage.
>

I have been using xsane, it appears to work fine in most cases, haven't 
been testing it that hard, if I really needed my scanner that badly, I 
would have looked at sane before now :)

darwin doesn't ship with dl functions, so you must have had something 
installed to be able to open the backends, the package built for me 
without the patches but wouldn't load any backends at all. I 
immediately "fixed" it without looking too closely, I'll look again to 
see what might have been happening.

libusb has a major leak in the darwin code it seems. It leaks 
mach_ports all over the place, eventually bringing your machine to it's 
knees.

Are you going to look at making an Image Capture front-end for sane too?

Peter