[sane-devel] Problems porting to cygwin
Wed, 5 Jun 2002 00:14:42 +0200
On Tue, Jun 04, 2002 at 08:44:10PM +0100, Jim.George wrote:
> This is my first attempt at porting sane to cygwin.
Good luck! I guess the main work will be to write low-level functions
for SCSI, parport and USB access.
> So far everything has been going smoothely, until I get to make
> install when it complains that it can't find a file (see attached).
> Could someone clear this up for me? I have compiled it with and
> without the dynamic libraries but to no avail.
> ln: creating symbolic link `libsane..1*' to `sane/libsane-dll..1*': No such file or directory
backend/Makefile is trying to create the symbolic links (e.g.
libsane.so.1 -> libsane.so.1.0.7). The code starts in
backend/Makefile.in at these lines:
@# Assume the dll name without any versions is last
@dllend=../tools/libtool-get-dll-ext libsane-dll.la; \
Have a look at ../tools/libtool-get-dll-ext, maybe you can add a check
for Windows and/or fix the detection. I don't know if those links are
necessary or work at all on Windows. If I remember correctly, they
don't even have a real ln command.
For testing ,just disable this part of the Makefile.