[sane-devel] Re: Darwin/MacOSX

2002-12-02 Thread Henning Meier-Geinitz
Hi, On Mon, Dec 02, 2002 at 11:44:24AM +0100, Hubert Figuiere wrote: > On vendredi, nov 29, 2002, at 20:18 Europe/Paris, Henning Meier-Geinitz > >As the check for dlopen is already there, can you tell us, how to > >check for MAcOS in configure? Ok, I could write a cpp test for > >__APPLE__ but may

[sane-devel] Re: Darwin/MacOSX

2002-12-02 Thread Hubert Figuiere
On vendredi, nov 29, 2002, at 20:18 Europe/Paris, Henning Meier-Geinitz > As the check for dlopen is already there, can you tell us, how to > check for MAcOS in configure? Ok, I could write a cpp test for > __APPLE__ but maybe there is a nicer way. Please, check for __APPLE__ && __MACH__ Because

[sane-devel] Re: Darwin/MacOSX

2002-12-01 Thread Peter O'Gorman
On Sunday, December 1, 2002, at 09:49 PM, Henning Meier-Geinitz wrote: > > > Concerning configure.in/backend/Makefile.in: Can you check if the > approach using LDFLAGS I use in CVS now also works on your system? > This would avoid the special DARWIN flag in the Makefile. If it > doesn't work (beca

[sane-devel] Re: Darwin/MacOSX

2002-12-01 Thread Peter O'Gorman
On Sunday, December 1, 2002, at 09:49 PM, Henning Meier-Geinitz wrote: > > > Concerning configure.in/backend/Makefile.in: Can you check if the > approach using LDFLAGS I use in CVS now also works on your system? > This would avoid the special DARWIN flag in the Makefile. If it > doesn't work (beca

[sane-devel] Re: Darwin/MacOSX

2002-12-01 Thread Peter O'Gorman
--Apple-Mail-7-303717071 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Saturday, November 30, 2002, at 11:53 PM, Karl Heinz Kremer wrote: > Here is all the information you need to get the latest version from > CVS: > > http://www.st

[sane-devel] Re: Darwin/MacOSX

2002-12-01 Thread Henning Meier-Geinitz
Hi, On Sun, Dec 01, 2002 at 11:29:02PM +0900, Peter O'Gorman wrote: > Well, no the LDFLAGS won't work, -module needs to be passed to the > libsane-%.la target only, LDFLAGS is used by the libsane.la target too, > this should not be a module but a library. -module flags should be > passed to lib

[sane-devel] Re: Darwin/MacOSX

2002-12-01 Thread Henning Meier-Geinitz
Hi, On Sun, Dec 01, 2002 at 08:00:59PM +0900, Peter O'Gorman wrote: > Thanks, here is my diff, do with it what you will :-). There is still > the libtool archive_cmds issue, I got around it for my test just now by > patching the generated libtool script, it may be easier to recommend > using gc

[sane-devel] Re: Darwin/MacOSX

2002-11-30 Thread Peter O'Gorman
On Saturday, November 30, 2002, at 04:18 AM, Henning Meier-Geinitz wrote: > > Can you write some lines for README.darwin, so users know that they > must get this library and where they can get it? > Could you point me at an anonymous cvs server for sane, I'll check it out and send a patch to th

[sane-devel] Re: Darwin/MacOSX

2002-11-30 Thread Karl Heinz Kremer
--nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Here is all the information you need to get the latest version from CVS: http://www.student.uit.no/~pere/linux/sane/cvs-server.html On Sat, Nov 30, 2002 at 10:57:

[sane-devel] Re: Darwin/MacOSX

2002-11-29 Thread Peter O'Gorman
On Friday, November 29, 2002, at 11:20 PM, Sergey Vlasov wrote: > On Fri, Nov 29, 2002 at 15:15:21 +0100, Henning Meier-Geinitz wrote: >>> >> >> What's the meaning of "-module"? Is it a flag for gcc, ld or libtool? > > It is a libtool flag - it tells that we are linking a module for > dynamic >

[sane-devel] Re: Darwin/MacOSX

2002-11-29 Thread Peter O'Gorman
On Friday, November 29, 2002, at 11:21 PM, Karl Heinz Kremer wrote: > On Fri, Nov 29, 2002 at 03:15:21PM +0100, Henning Meier-Geinitz wrote: >> Hi, >> >> On Thu, Nov 28, 2002 at 09:12:03PM +0900, Peter O'Gorman wrote: >>> Note that a dlopen compatibility library is needed, I suggest using >>> dlc

[sane-devel] Re: Darwin/MacOSX

2002-11-29 Thread Henning Meier-Geinitz
Hi, On Fri, Nov 29, 2002 at 11:48:30PM +0900, Peter O'Gorman wrote: > Loadable modules on darwin should be linked with the -bundle flag to > apple's gcc (I'll just call it cc from now), objects created in that > manner may be loaded and unloaded using NSModule(3) and > NSObjectFileImage(3) func

[sane-devel] Re: Darwin/MacOSX

2002-11-29 Thread Henning Meier-Geinitz
Hi, On Fri, Nov 29, 2002 at 09:21:55AM -0500, Karl Heinz Kremer wrote: > > That's the third version of how MacOS shared libraries are stored. > > 1) libsane-something.so(.version) > > 2) libsane-something.dylib.version My fault. It was 2) libsane-something.version.dylib Bye, Henning

[sane-devel] Re: Darwin/MacOSX

2002-11-29 Thread Sergey Vlasov
On Fri, Nov 29, 2002 at 15:15:21 +0100, Henning Meier-Geinitz wrote: > > +++ sane-backends-1.0.9/backend/Makefile.in Sun Nov 24 19:40:38 2002 > > @@ -139,7 +139,7 @@ > > libsane-%.la: %.lo %-s.lo $(EXTRA) $(LIBOBJS) > > @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) \ > >

[sane-devel] Re: Darwin/MacOSX

2002-11-29 Thread Karl Heinz Kremer
--jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 29, 2002 at 08:18:12PM +0100, Henning Meier-Geinitz wrote: >=20 > > If you think your version is dynamically loading those dylibs, and you= =20 > > do n

[sane-devel] Re: Darwin/MacOSX

2002-11-29 Thread Henning Meier-Geinitz
Hi, On Thu, Nov 28, 2002 at 09:12:03PM +0900, Peter O'Gorman wrote: > Note that a dlopen compatibility library is needed, I suggest using > dlcompat , but I am a > little biased :) Thanks for the patch. So now we at least know how to detect a AmcOS X

[sane-devel] Re: Darwin/MacOSX

2002-11-29 Thread Karl Heinz Kremer
--opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 29, 2002 at 03:15:21PM +0100, Henning Meier-Geinitz wrote: > Hi, >=20 > On Thu, Nov 28, 2002 at 09:12:03PM +0900, Peter O'Gorman wrote: > > Note that a

[sane-devel] Re: Darwin/MacOSX

2002-11-29 Thread Peter O'Gorman
On Friday, November 29, 2002, at 07:22 AM, Karl Heinz Kremer wrote: > > How did you compile Xsane? Are you using Fink, or did you compile all > the prerequisites indivudually? Using fink, of course :-) Why? Pet

[sane-devel] Re: Darwin/MacOSX

2002-11-28 Thread Peter O'Gorman
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 , but I am a >> little biased :) > > Why do you need this library? I am able to load the backen

[sane-devel] Re: Darwin/MacOSX

2002-11-28 Thread Karl Heinz Kremer
--RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 29, 2002 at 08:11:08AM +0900, Peter O'Gorman wrote: >=20 > On Friday, November 29, 2002, at 07:22 AM, Karl Heinz Kremer wrote: > > > >How did you compi

[sane-devel] Re: Darwin/MacOSX

2002-11-28 Thread Peter O'Gorman
--Apple-Mail-4-48781561 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Thursday, November 28, 2002, at 08:47 PM, Karl Heinz Kremer wrote: > It's possilbe that it's not a problem with Sane. There are two other > systems > involved: l

[sane-devel] Re: Darwin/MacOSX

2002-11-28 Thread Karl Heinz Kremer
--W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 28, 2002 at 09:39:18PM +0900, Peter O'Gorman wrote: > I have been using xsane, it appears to work fine in most cases, haven't= =20 > been testing it tha

[sane-devel] Re: Darwin/MacOSX

2002-11-28 Thread Karl Heinz Kremer
--jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 28, 2002 at 09:12:03PM +0900, Peter O'Gorman wrote: [ ... ] > >under OS X. Henning asked for more information, but I have not seen=20 > >anything > >yet

[sane-devel] Re: Darwin/MacOSX

2002-11-28 Thread Karl Heinz Kremer
--45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable It's possilbe that it's not a problem with Sane. There are two other systems involved: libusb and Darwin. My plan is to replace libusb with some code th= at talks t

[sane-devel] Re: Darwin/MacOSX

2002-11-28 Thread mail_...@softhome.net
Is it possible that there is no problem with sane? I mean can it be the libusb? i have the same error like the last time with scanimage!! And the usb device is -07:002 too!! On Linux I have like 001:002 or not!? I think thats too high for me!! Raphael Henning Meier-Geinitz writes: > Hi John