Re: Compiling on OS/2

From: Franz Bakan (fbakan@gmx.net)
Date: Mon Jun 04 2001 - 15:58:24 PDT

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

    Hi,

    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/Makefile.in)
    with:
    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
    '.libs/libsane-dll.a'
    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?

    Franz

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



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