[sane-devel] Re: Frontends and Mac OS X
Henning Meier-Geinitz
henning at meier-geinitz.de
Sun Oct 27 14:17:50 GMT 2002
Hi,
On Sun, Oct 27, 2002 at 08:05:19AM -0500, Karl Heinz Kremer wrote:
> Finally... I got X11 running on the iMac and did some more testing.
> I installed XDarwin (the XF86 port to Darwin, which is the BSD base
> Mac OS X is built on). Then I tried to intall gtk-2.0, and I
> found myself in dependency hell :-) So I opted for gtk-1.2.10 instead,
> which installed almost without problems. After that, compiling the
> sane-frontends package was no problem anymore. It compiled, linked
> and installed just fine. xscanimage works with the test backend.
That's fine. Oliver, can you change the "???" on the platforms page to
"yes", please?
> I still have some problems with xsane: It needs some source tweaking
> to make it compile, and then it requires a correction in it's
> rc file after it is started for the first time.
I guess Oliver is interested in the exact details :-)
> After that it
> behaves the same way as it does on my Linux system (that is,
> black and white scanning with the test backend results in an
> error, but it works with the color test mode).
I have never seen this before. But now, xsane really prints something
about an i/o error sometimes. The fread in sane_read gets EINTR
(interrupted system call). If I just ignore the error, xsane waits for
ever. That problem occurs since xsane 0.87.
Seems to be a racing condition between the reader_process exiting (and
xsane's sigchild handler running) and sane_read's fread.
I'll explicitely close the pipe in the reader_process and wait untill
it's killed by the main process to avoid xsane's child handler.
Bye,
Henning
More information about the sane-devel
mailing list