[sane-devel] Problems porting to cygwin

Jim.George jim.george@blueyonder.co.uk
Wed, 5 Jun 2002 22:10:25 +0100


On Wed, 5 Jun 2002, Henning Meier-Geinitz wrote:

> Hi,
>
> 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.
>
Thanks although I'm going to need assistance from developers/users with
windows systems and SCSI and or USB solutions as I _only_ have a parallel
printer port flatbed scanner.


> > 	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.
>
> Bye,
>   Henning
>
>
Thanks Henning, I'm sure I'll be keeping in touch on this one (if I don't
give it up as too much for me ;) )

Jim