Compile problems (and fixes) for 1.0.4

From: Derrell Lipman (Derrell.Lipman@UnwiredUniverse.com)
Date: Wed Dec 27 2000 - 18:11:34 PST

  • Next message: Eugene Kanter: "Re: Compile problems (and fixes) for 1.0.4"

    Hi. I downloaded all the latest SANE stuff today.

    - sane-1.0.3 compiled and installed fine, , but caused problems
      for sane-frontends-1.0.4 and xsane-0.68.

      On RedHat 7.0, the LIBS line in sane-config must contain -ldl or the
      sane-frontends-1.0.4 and xsane-0.68 installations fail.

            LIBS="-lnsl -lm -ljpeg -ldl"

      (Also, looking at it now, -lm should generally be the *last* library
      linked, as anything could end up using it. It didn't make a
      difference here, though.)

    - sane-backends-1.0.4 compiled and installed fine

    - sane-frontends-1.0.4 would not install. The first problem was the
      sane-config issue discussed above. Secondly, two makefiles needs to
      be modified (they appear to have some local munging that didn't get
      removed before the release).

      src/Makefile and doc/Makefile both require changing:

            INSTALL = ../'/usr/bin/install -c'

                    to

            INSTALL = /usr/bin/install -c

    - xsane-0.68 would not install prior to the sane-config fix.

    Thanks for all the work! I hope this helps you modify the configure
    script so others can install more easily.

    Cheers,

    Derrell

    ----------------------------------------------------------------------

    Derrell Lipman | Ham: N1YDI | Grumman Tiger, N28860 | http://InventionCity.com

     - Civil Air Patrol:
       Major Derrell Lipman
       Commander, Lt Col Frank Pocher Minute Man Squadron, MAWG;
       Mission Pilot; Air/Ground Ops Director; Ground Team Leader
       Communications Unit Director; Patriot 461
       http://minute-man.mawg.cap.gov

    "Microsoft will stop making products that suck, when they start making
    vacuum cleaners."

    GCS d-- s: a? C++ UL+++$ P+ L+++ E+++ W+ N+ o K? w-- O- M- V-- PS++(-) PE+(-)
    !Y PGP- t+ 5 X+ R tv b++ DI+++ D? G- e++>+++++ h--- r+++ y+++

    --
    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 : Wed Dec 27 2000 - 18:00:28 PST