Hi everyone.
This is a recurring problem on the list. As a novice linux user who has
suffered Debian and Red Hat too, *and* who has the responsibility for a small
foto studio, I'd like to write a mini how-to on the subject, but need the
help of the high level gurus too. My method, which has not failed yet is:
-remove all gtk, glib, gimp, sane, xsane *packages* from your distro (5
minutes)
- either go to gimp.org and download gtk and glib 1.2.8 (about 1 hour and the
rest)
.. . . or the SuSE 7.1 rpm's already have them. Make sure that they are
installed. Oh, and gtkdev too.
-compile and install them in that order (about 2 hours)
That's enough for one day.
-go back to gimp.org the next day and get gimp 1.2.1 (latest as I write)
-compile and install it (about 2 hours for the download and install)
-go to mostang.com and get the latest xsane
-compile and install it (about 1/2 hour)
Everything is now in the right place and you can scan from gimp. It gives you
the device dialogue under >acquire. I'm sure that it is possible to link the
/usr/bin and /usr/lib tree to the /usr/local/bin and /usr/local/lib tree and
to your home directory but I do not know enough about Linux to be able to do
so.
The point I'd like to make most is the sheer time factor about all of this. I
did not know about distros putting their stuff in /usr/ and the tarballs
putting their stuff in /usr/local. I still cannot explain this. As a beginner
I wanted instant results. I know now why I could not have them.
If anyone could help me with this 'very basic know a bit about linux and want
to use a scanner' how-to I'm sure that we could gain many more Linux artists
too.
One more point. My method by-passes the microsoft and os-X method of having
to wait for the next issue for an update or fix. Once it is there in
/usr/local it only takes 20 minutes to update. It is the getting it there in
the first place that is the thing.
Thanks from Steve at FeF. who has suffered photoshop on a crashintosh too
many
years for comfort. What a relief to get something that works!
On Friday 30 March 2001 14:28, you wrote:
> Hi,
>
> 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.
>
>
> 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.
>
> Any help is much appreciated.
>
> Robert
>
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
-- 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 - 11:13:55 PST