[sane-devel] sane-config issue: Someone using Mandrake 9.1 ?

Michael Herder crapsite@gmx.net
Thu, 15 May 2003 08:24:02 +0200


Hi,
AFAIK the configure script in sane-frontends (and also QuiteInsane and 
probably XSane ?) relies on the output of "sane-config --libs" and adds it 
output to LIBS.
This seems to result in rather misleading error messages on MDK 9.1 in some 
situations.
Obviously MDK creates required symlinks only, if the devel packages are 
installed too.
Example: The "libusb*" package installs /usr/lib/libusb-0.1.so.4 and 
/usr/lib/libusb-0.1.so.4.1.1, but the symlink /usr/lib/libusb.so is only 
created if one installs the "libusb-devel*" package.
However, one can install the "sane-devel*" package, without being forced to 
install the required additional devel packages too.
When the user now tries to configure e.g. sane-frontends, (s)he gets the 
well known error message
"ERROR: Couldn't find SANE libraries (sane-backends)." 
while the real problem is, that the test program could not link with libusb, 
libieee1284, libgphoto2 and so on...

Now to the questions:
1. Can someone confirm this dependency problem ?(Just want to be sure, that 
it wasn't the users fault)
2. Should we simply consider this a problem with broken dependencies on 
MDK9.1? Does it also happen on other distros?

Thanks
Michael