sane-project-website/old-archive/2001-05/0451.html

203 wiersze
6.8 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: Xsane .\config errors</TITLE>
<META NAME="Author" CONTENT="ANTONISHEN Robert -CIO PROJ DEL (rob.antonishen@opg.com)">
<META NAME="Subject" CONTENT="Xsane .\config errors">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Xsane .\config errors</H1>
<!-- received="Thu May 31 13:50:07 2001" -->
<!-- isoreceived="20010531205007" -->
<!-- sent="Thu, 31 May 2001 16:48:32 -0400" -->
<!-- isosent="20010531204832" -->
<!-- name="ANTONISHEN Robert -CIO PROJ DEL" -->
<!-- email="rob.antonishen@opg.com" -->
<!-- subject="Xsane .\config errors" -->
<!-- id="6BB1FAAD0473D1119BBD00805F57793B02494D7C@TOR9" -->
<STRONG>From:</STRONG> ANTONISHEN Robert -CIO PROJ DEL (<A HREF="mailto:rob.antonishen@opg.com?Subject=Re:%20Xsane%20.\config%20errors&In-Reply-To=&lt;6BB1FAAD0473D1119BBD00805F57793B02494D7C@TOR9&gt;"><EM>rob.antonishen@opg.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu May 31 2001 - 13:48:32 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0452.html">Steven Ellis: "Re: Genius HR6 status (USB)"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0450.html">Henning Meier-Geinitz: "assert.h problems with shared libraries"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0453.html">Henning Meier-Geinitz: "Re: Xsane .\config errors"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0453.html">Henning Meier-Geinitz: "Re: Xsane .\config errors"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0454.html">Oliver Rauch: "Re: Xsane .\config errors"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#451">[ date ]</A>
<A HREF="index.html#451">[ thread ]</A>
<A HREF="subject.html#451">[ subject ]</A>
<A HREF="author.html#451">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I saw a thread list in the archive from a couple months back and was
<BR>
looking for the resolution.
<BR>
<P>I am running into the same problem on RH7.1 where I rpm -e the xsane
<BR>
and sane packages that came with, successfully installed the hpoj driver
<BR>
for my HP scanner, and successfully installed sane-backends-1.0.4
<BR>
<P>I know this works because I can get a scan using scanimage.
<BR>
<P><P>Now I try to install xsane and get the following errors about sane:
<BR>
<P>&lt;clipped from the ./configure output...&gt;
<BR>
checking for sane-config... /usr/local/bin/sane-config
<BR>
checking for SANE - version &gt;= 1.0.0... no
<BR>
*** Could not run SANE test program, checking why...
<BR>
*** The test program compiled, but did not run. This usually means
<BR>
*** that the run-time linker is not finding SANE or finding the wrong
<BR>
*** version of SANE. If it is not finding SANE, you'll need to set your
<BR>
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
<BR>
*** to the installed location Also, make sure you have run ldconfig if that
<BR>
*** is required on your system
<BR>
***
<BR>
*** If you have an old version installed, it is best to remove it, although
<BR>
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
<BR>
***
<BR>
*** The test program failed to compile or link. See the file config.log for
<BR>
the
<BR>
*** exact error that occured. This usually means SANE was incorrectly
<BR>
installed
<BR>
*** or that you have moved SANE since it was installed. In the latter case,
<BR>
you
<BR>
*** may want to edit the sane-config script: /usr/local/bin/sane-config
<BR>
checking for gtk-config... /usr/bin/gtk-config
<BR>
checking for GTK - version &gt;= 1.2.0... yes
<BR>
checking for gimp-config... /usr/bin/gimp-config
<BR>
checking for GIMP - version &gt;= 1.0.0... yes
<BR>
checking for libgimp/gimp.h... yes
<BR>
checking for libgimp/gimpfeatures.h... yes
<BR>
checking for png.h... yes
<BR>
checking for png_create_info_struct in -lpng... yes
<BR>
****************************************************************
<BR>
ERROR: SANE-1.0.0 or newer is needed for compiling xsane
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- if you installed SANE as rpm make sure you also included
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sane-devel
<BR>
****************************************************************
<BR>
&lt;End clip&gt;
<BR>
<P><P>but sane-config works (and returns v1.0.4) when I run it directly:
<BR>
[rob@localhost xsane-0.77]$ sane-config
<BR>
Usage:
<BR>
&nbsp;&nbsp;sane-backends-config --version - show installed script and SANE
<BR>
version
<BR>
&nbsp;&nbsp;sane-backends-config --ldflags - linker flags required to link
<BR>
with SANE
<BR>
&nbsp;&nbsp;sane-backends-config --libs - libraries required to link with
<BR>
SANE
<BR>
&nbsp;&nbsp;sane-backends-config --cflags - compiler flags required to find
<BR>
SANE headers
<BR>
&nbsp;&nbsp;sane-backends-config --help - show usage info (this message)
<BR>
<P>&nbsp;&nbsp;sane-backends-config --help SUBCOMMAND - show help for SUBCOMMAND
<BR>
<P>&nbsp;&nbsp;sane-backends-config --prefix - prefix used during SANE compile
<BR>
&nbsp;&nbsp;sane-backends-config --exec-prefix - exec-prefix used during SANE
<BR>
compile
<BR>
<P>[rob@localhost xsane-0.77]$ sane-config --version
<BR>
1.0.4
<BR>
<P>/usr/local/bin is in my $PATH and /usr/local/lib is in /etc/ld.so.conf
<BR>
and I then run ldconfig.
<BR>
<P>I'm really banging my head against this one...
<BR>
Any tips?
<BR>
<P>Rob A.
<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%20.\config%20errors&In-Reply-To=&lt;6BB1FAAD0473D1119BBD00805F57793B02494D7C@TOR9&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0452.html">Steven Ellis: "Re: Genius HR6 status (USB)"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0450.html">Henning Meier-Geinitz: "assert.h problems with shared libraries"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0453.html">Henning Meier-Geinitz: "Re: Xsane .\config errors"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0453.html">Henning Meier-Geinitz: "Re: Xsane .\config errors"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0454.html">Oliver Rauch: "Re: Xsane .\config errors"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#451">[ date ]</A>
<A HREF="index.html#451">[ thread ]</A>
<A HREF="subject.html#451">[ subject ]</A>
<A HREF="author.html#451">[ 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>Thu May 31 2001 - 13:50:40 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>