Re: Xsane build problems

From: hkantola+sane@cc.helsinki.fi
Date: Fri Mar 30 2001 - 08:21:45 PST

  • Next message: Henning Meier-Geinitz: "Compilation error in net.c"

    According to Robert Voigt <f1k@gmx.de>:
    > Xsane does not build as I want. First, it does not recognise GIMP,
    > although I have GIMP 1.0.4. I have Debian 2.2. and that's the GIMP
    > version that comes with it. I expect it set up everything automatically
    > when I installed GIMP, or did I miss something? Here's the relevant part
    > of the output from configure:
    >
    > checking for GIMP - version >= 1.0.0... no
    > *** Could not run GIMP test program, checking why...
    > ./configure: =-I/usr/lib/glib/include -I/usr/X11R6/include: No such file
    > or directory
    > ./configure: =-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
    > -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm: No such file or directory
    >
    > I'd very much like to use GIMP for scanning.

    Do you have package libgimp-dev (or libgimp1.2-dev, although that
    might not be in Debian "potato") installed? It is needed for compiling
    GIMP plugins.

    > Then I typed make and after making everything in lib fine I got the
    > following error:
    >
    > making all in src
    > make[1]: Entering directory `/usr/local/src/xsane-0.73/src'
    > gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale
    > -DXSANE_BUGGY_WINDOWMANAGER_WINDOW_POSITION -I. -I. -I../include
    > -I../include -I/usr/local/include -D_GNU_SOURCE
    > -DPATH_SANE_DATA_DIR=/usr/local/share/sane -DV_MAJOR=0 -DV_MINOR=73
    > -DSANE_V_MAJOR=1 -g -O2 -Wall -I/usr/local/include xsane-back-gtk.cIn
    > file included from /usr/include/gdk/gdktypes.h:33,
    > from /usr/include/gdk/gdk.h:31,
    > from xsane.h:102,
    > from xsane-back-gtk.c:25:
    > /usr/include/glib.h:66: glibconfig.h: No such file or directory
    > make[1]: *** [xsane-back-gtk.o] Error 1
    > make[1]: Leaving directory `/usr/local/src/xsane-0.73/src'
    > make: *** [all-recursive] Error 1
    >
    > I don't know what glibconfig.h is nor what package it belongs to. I have
    > libglib1.2 and libglib1.2-dev installed, so this is not the problem.

    That header is indeed in libglib1.2-dev, but looks like its locatation
    (/usr/lib/glib/include/) isn't made know to the compiler for some odd
    reason.

    Btw, you can search Debian packages and their contents with <URL:
    http://www.debian.org/distrib/packages>.

    -- 
    Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
    Lähettämällä mainoksia tai muuta asiatonta sähköpostia yllä olevaan
    osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
    tunnilta.
    

    -- 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 : Fri Mar 30 2001 - 08:10:29 PST