[sane-devel] mac osx: cannot build scanimage
Peter O'Gorman
peter at pogma.com
Fri Feb 7 13:04:48 GMT 2003
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