Re: Compiling on OS/2

From: Franz Bakan (
Date: Mon Jun 04 2001 - 15:58:24 PDT

  • Next message: Dario Abatianni: "Snapscan e50 USB Success!"


    On Mon, 4 Jun 2001 18:00:17 +0200, Henning Meier-Geinitz wrote:

    >> 'make install' partly works, but has some minor problems because
    >> it does not find the dlls because there are no dlls ...
    >This may be because of --disable-dynamic instead of --disable-shared.

    No, I tried with --disable-dynamic, but it stops at

     $(LN_S) sane/libsane-dll.$(lib) $(libdir)/libsane.$(lib); \
     $(LN_S) sane/libsane-dll.$$dllend $(libdir)/libsane.$$dllend ; \
     cd $(libsanedir) && for n in libsane-dll.$$dllend.$(V_MAJOR)*; do \
       nn=`echo $$n | sed 's,^libsane-dll,libsane,'`; \
       (cd ..; $(LN_S) sane/$$n $$nn); \

    (line 143ff in backend/
    cp.exe: sane/libsane-dll.a: No such file or directory
    cp.exe: sane/libsane-dll.: No such file or directory
    cp.exe: sane/libsane-dll..1*: No such file or directory
    gmake[1]: *** [install] Error 1
    gmake[1]: Leaving directory `/6/sane-backends/backend'
    gmake: *** [install-recursive] Error 1

    Instead of 'sane/libsane-dll.a'
    I have
    relative path to 'sane-backends/backend/'

    This may be a bug of the os2unix tool. I don't know.

    If I delete these 3 lines with (LN_S)
    make install finishes.

    test.exe (which seems to be needed by the build-process
    of xscanimage) has to be compiled manually here.
    Bug or feature?


    Source code, list archive, and docs:
    To unsubscribe: echo unsubscribe sane-devel | mail

    This archive was generated by hypermail 2b29 : Mon Jun 04 2001 - 15:58:22 PDT