sane-project-website/old-archive/2001-03/0247.html

244 wiersze
7.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Xsane build problems</TITLE>
<META NAME="Author" CONTENT="SCC (fsanta@arrakis.es)">
<META NAME="Subject" CONTENT="Re: Xsane build problems">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Xsane build problems</H1>
<!-- received="Fri Mar 30 11:13:18 2001" -->
<!-- isoreceived="20010330191318" -->
<!-- sent="Fri, 30 Mar 2001 08:28:57 +0200" -->
<!-- isosent="20010330062857" -->
<!-- name="SCC" -->
<!-- email="fsanta@arrakis.es" -->
<!-- subject="Re: Xsane build problems" -->
<!-- id="01033008220100.00585@horche" -->
<!-- inreplyto="3AC47BFF.8010704@gmx.de" -->
<STRONG>From:</STRONG> SCC (<A HREF="mailto:fsanta@arrakis.es?Subject=Re:%20Xsane%20build%20problems&In-Reply-To=&lt;01033008220100.00585@horche&gt;"><EM>fsanta@arrakis.es</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Mar 29 2001 - 22:28:57 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0248.html">Oliver Rauch: "Re: Xsane build problems"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0246.html">JFL Sane Dev: "test, please ignore"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0240.html">Robert Voigt: "Xsane build problems"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#247">[ date ]</A>
<A HREF="index.html#247">[ thread ]</A>
<A HREF="subject.html#247">[ subject ]</A>
<A HREF="author.html#247">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi everyone.
<BR>
<P>This is a recurring problem on the list. As a novice linux user who has
<BR>
suffered Debian and Red Hat too, *and* who has the responsibility for a small
<BR>
foto studio, I'd like to write a mini how-to on the subject, but need the
<BR>
help of the high level gurus too. My method, which has not failed yet is:
<BR>
<P>-remove all gtk, glib, gimp, sane, xsane *packages* from your distro (5
<BR>
minutes)
<BR>
- either go to gimp.org and download gtk and glib 1.2.8 (about 1 hour and the
<BR>
rest)
<BR>
.. . . or the SuSE 7.1 rpm's already have them. Make sure that they are
<BR>
installed. Oh, and gtkdev too.
<BR>
-compile and install them in that order (about 2 hours)
<BR>
<P>That's enough for one day.
<BR>
<P>-go back to gimp.org the next day and get gimp 1.2.1 (latest as I write)
<BR>
-compile and install it (about 2 hours for the download and install)
<BR>
-go to mostang.com and get the latest xsane
<BR>
-compile and install it (about 1/2 hour)
<BR>
<P>Everything is now in the right place and you can scan from gimp. It gives you
<BR>
the device dialogue under &gt;acquire. I'm sure that it is possible to link the
<BR>
/usr/bin and /usr/lib tree to the /usr/local/bin and /usr/local/lib tree and
<BR>
to your home directory but I do not know enough about Linux to be able to do
<BR>
so.
<BR>
<P>The point I'd like to make most is the sheer time factor about all of this. I
<BR>
did not know about distros putting their stuff in /usr/ and the tarballs
<BR>
putting their stuff in /usr/local. I still cannot explain this. As a beginner
<BR>
I wanted instant results. I know now why I could not have them.
<BR>
<P>If anyone could help me with this 'very basic know a bit about linux and want
<BR>
to use a scanner' how-to I'm sure that we could gain many more Linux artists
<BR>
too.
<BR>
<P>One more point. My method by-passes the microsoft and os-X method of having
<BR>
to wait for the next issue for an update or fix. Once it is there in
<BR>
/usr/local it only takes 20 minutes to update. It is the getting it there in
<BR>
the first place that is the thing.
<BR>
<P>Thanks from Steve at FeF. who has suffered photoshop on a crashintosh too
<BR>
many
<BR>
years for comfort. What a relief to get something that works!
<BR>
<P><P><P><P>On Friday 30 March 2001 14:28, you wrote:
<BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Xsane does not build as I want. First, it does not recognise GIMP,
</EM><BR>
<EM>&gt; although I have GIMP 1.0.4. I have Debian 2.2. and that's the GIMP
</EM><BR>
<EM>&gt; version that comes with it. I expect it set up everything automatically
</EM><BR>
<EM>&gt; when I installed GIMP, or did I miss something? Here's the relevant part
</EM><BR>
<EM>&gt; of the output from configure:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; checking for GIMP - version &gt;= 1.0.0... no
</EM><BR>
<EM>&gt; *** Could not run GIMP test program, checking why...
</EM><BR>
<EM>&gt; ../configure: =-I/usr/lib/glib/include -I/usr/X11R6/include: No such file
</EM><BR>
<EM>&gt; or directory
</EM><BR>
<EM>&gt; ../configure: =-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
</EM><BR>
<EM>&gt; -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm: No such file or directory
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I'd very much like to use GIMP for scanning.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Then I typed make and after making everything in lib fine I got the
</EM><BR>
<EM>&gt; following error:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; making all in src
</EM><BR>
<EM>&gt; make[1]: Entering directory `/usr/local/src/xsane-0.73/src'
</EM><BR>
<EM>&gt; gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale
</EM><BR>
<EM>&gt; -DXSANE_BUGGY_WINDOWMANAGER_WINDOW_POSITION -I. -I. -I../include
</EM><BR>
<EM>&gt; -I../include -I/usr/local/include -D_GNU_SOURCE
</EM><BR>
<EM>&gt; -DPATH_SANE_DATA_DIR=/usr/local/share/sane -DV_MAJOR=0 -DV_MINOR=73
</EM><BR>
<EM>&gt; -DSANE_V_MAJOR=1 -g -O2 -Wall -I/usr/local/include xsane-back-gtk.cIn
</EM><BR>
<EM>&gt; file included from /usr/include/gdk/gdktypes.h:33,
</EM><BR>
<EM>&gt; from /usr/include/gdk/gdk.h:31,
</EM><BR>
<EM>&gt; from xsane.h:102,
</EM><BR>
<EM>&gt; from xsane-back-gtk.c:25:
</EM><BR>
<EM>&gt; /usr/include/glib.h:66: glibconfig.h: No such file or directory
</EM><BR>
<EM>&gt; make[1]: *** [xsane-back-gtk.o] Error 1
</EM><BR>
<EM>&gt; make[1]: Leaving directory `/usr/local/src/xsane-0.73/src'
</EM><BR>
<EM>&gt; make: *** [all-recursive] Error 1
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I don't know what glibconfig.h is nor what package it belongs to. I have
</EM><BR>
<EM>&gt; libglib1.2 and libglib1.2-dev installed, so this is not the problem.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Any help is much appreciated.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Robert
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Xsane%20build%20problems&In-Reply-To=&lt;01033008220100.00585@horche&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Xsane%20build%20problems&In-Reply-To=&lt;01033008220100.00585@horche&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0248.html">Oliver Rauch: "Re: Xsane build problems"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0246.html">JFL Sane Dev: "test, please ignore"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0240.html">Robert Voigt: "Xsane build problems"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#247">[ date ]</A>
<A HREF="index.html#247">[ thread ]</A>
<A HREF="subject.html#247">[ subject ]</A>
<A HREF="author.html#247">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Fri Mar 30 2001 - 11:13:55 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>