[sane-devel] Cygwin build trouble
Aurélien Gâteau
agateau@dental-on-line.fr
Wed, 29 Jun 2005 10:47:22 +0200
Hello,
Sorry, this message might be a little off-topic.
I'm currently trying to build SANE on Cygwin. I used to be able to do so, but
while it still builds correctly, it no longer works. I build it with the net,
dll and pnm backends and get the following in /usr/lib:
$ ls /usr/lib/sane -l
total 452
-rwxr-xr-x 1 Administrateur Aucun 93382 Jun 28 18:34 cygsane-dll-1.exe
-rwxr-xr-x 1 Administrateur Aucun 141052 Jun 28 18:34 cygsane-net-1.exe
-rwxr-xr-x 1 Administrateur Aucun 100577 Jun 28 18:34 cygsane-pnm-1.exe
-rwxr-xr-x 1 Administrateur Aucun 25306 Jun 28 18:34 libsane-dll.dll.a
-rwxr-xr-x 1 Administrateur Aucun 770 Jun 28 18:34 libsane-dll.la
-rwxr-xr-x 1 Administrateur Aucun 49978 Jun 28 18:34 libsane-net.dll.a
-rwxr-xr-x 1 Administrateur Aucun 770 Jun 28 18:34 libsane-net.la
-rwxr-xr-x 1 Administrateur Aucun 26586 Jun 28 18:34 libsane-pnm.dll.a
-rwxr-xr-x 1 Administrateur Aucun 770 Jun 28 18:34 libsane-pnm.la
If I try to run scanimage.exe, I get a message box telling me the
cygsane-1.exe component was not found. I add /usr/lib to $PATH (!) and it
runs, but if I try to list the available backends, I get this:
$ SANE_DEBUG_DLL=4 scanimage.exe -L
[sanei_debug] Setting debug level of dll to 4.
[dll] sane_init: SANE dll backend version 1.0.10 from sane-backends 1.0.13
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `pnm'
[dll] sane_get_devices
[dll] load: searching backend `pnm' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/cygsane-pnm-1.dll'
[dll] load: couldn't open `/usr/lib/sane/cygsane-pnm-1.dll' (No such file or
directory)
[dll] load: couldn't find backend `pnm' (No such file or directory)
[dll] load: searching backend `net' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/cygsane-net-1.dll'
[dll] load: couldn't open `/usr/lib/sane/cygsane-net-1.dll' (No such file or
directory)
[dll] load: couldn't find backend `net' (No such file or directory)
[dll] sane_get_devices: found 0 devices
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[dll] sane_exit: exiting
[dll] sane_exit: finished
Have you already experienced such troubles, do you have any idea?
--
Aurélien Gâteau
agateau@dental-on-line.fr
Dental-on-line - 23 rue du Départ - 75014 PARIS