[sane-devel] mac osx: cannot build scanimage
rcharlet at SonicWALL.com
rcharlet at SonicWALL.com
Fri Feb 7 17:29:17 GMT 2003
Ah. Thanks.
Well then, is there a simple way I can make the config believe that I don't have libdl?
Ricky
> -----Original Message-----
> From: Peter O'Gorman [mailto:peter at pogma.com]
> Sent: Friday, February 07, 2003 5:05 AM
> To: Ricky Charlet
> Cc: sane-devel at www.mostang.com
> Subject: Re: [sane-devel] mac osx: cannot build scanimage
>
>
> Yes, it is because you have a libdl somewhere, but that is
> not part of
> the standard OS distribution. sane-backends builds fine if
> there is no
> libdl. Perhaps the code should be changed to be
>
> #if defined(HAVE_DLOPEN) && defined(HAVE_DLFCN_H) &&
> !defined(HAVE_NSLINKMODULE)
> #define USE_DLOPEN 1
> #endif
>
> and change the rest of the stuff to #ifdef USE_DLOPEN, but I don't
> think it is really needed, because the idea was that it would compile
> on a plain vanilla OS X, which it does quite nicely.
>
> Now, if only it worked for all the backends :/.
>
> Peter
>
>
> On Friday, February 7, 2003, at 04:09 AM, <rcharlet at SonicWALL.com>
> wrote:
> >
> > Anyway... I put "-ldl" in my LIBS macro in
> frontends/Makefile and it
> > went smooth after that.
>
>
More information about the sane-devel
mailing list