sane-project-website/old-archive/2001-07/0202.html

392 wiersze
13 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 Configuere Script Bug</TITLE>
<META NAME="Author" CONTENT="Juergen Sauer (jojo@automatix.de)">
<META NAME="Subject" CONTENT="Re: Xsane Configuere Script Bug">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Xsane Configuere Script Bug</H1>
<!-- received="Wed Jul 18 08:22:04 2001" -->
<!-- isoreceived="20010718152204" -->
<!-- sent="Wed, 18 Jul 2001 17:39:37 +0200" -->
<!-- isosent="20010718153937" -->
<!-- name="Juergen Sauer" -->
<!-- email="jojo@automatix.de" -->
<!-- subject="Re: Xsane Configuere Script Bug" -->
<!-- id="01071817393700.01961@pc2" -->
<!-- inreplyto="20010717190020.E15961@vortex.swb.de" -->
<STRONG>From:</STRONG> Juergen Sauer (<A HREF="mailto:jojo@automatix.de?Subject=Re:%20Xsane%20Configuere%20Script%20Bug&In-Reply-To=&lt;01071817393700.01961@pc2&gt;"><EM>jojo@automatix.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Jul 18 2001 - 08:39:37 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0203.html">karsten.festag@t-online.de: "Re: Microtek X6USB doesn't switch off main lamp :("</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0201.html">Milen Cholashki: "Problem FUJITSU M 3096/97G"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0182.html">Henning Meier-Geinitz: "Re: Xsane Configuere Script Bug"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0206.html">Henning Meier-Geinitz: "Re: Xsane Configuere Script Bug"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0206.html">Henning Meier-Geinitz: "Re: Xsane Configuere Script Bug"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#202">[ date ]</A>
<A HREF="index.html#202">[ thread ]</A>
<A HREF="subject.html#202">[ subject ]</A>
<A HREF="author.html#202">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Am Dienstag, 17. Juli 2001 19:00 schrieben Sie:
<BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Tue, Jul 17, 2001 at 01:05:17PM +0200, Juergen Sauer wrote:
</EM><BR>
<EM>&gt; &gt; Bug report about Xsane 0.78, I was not able to enable the gimp Plugin
</EM><BR>
<EM>&gt; &gt; mode during the ./configure script.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; I read the File Xsane.PROBLEMS, and followed that instructions.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; This is the result:
</EM><BR>
<EM>&gt; &gt; [...]
</EM><BR>
<EM>&gt; &gt; checking for gimp-config... (cached) /usr/bin/gimp-config
</EM><BR>
<EM>&gt; &gt; checking for GIMP - version &gt;= 1.0.0... no
</EM><BR>
<EM>&gt; &gt; *** Could not run GIMP test program, checking why...
</EM><BR>
<EM>&gt; &gt; [...]
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Could you have a look at config.log, there should be a hint what's
</EM><BR>
<EM>&gt; going on.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Which version of gimp is it?
</EM><BR>
Gimp V 1.2.1
<BR>
<P>This is the Output, but I can't solve this, because, I'm not a
<BR>
gimp-hacker. (Ask me if you need a programm to controll a crane of 50t)
<BR>
I think this is the problem:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/usr/lib/libgimpui.so: undefined reference to `dcgettext__'
<BR>
What is this function call for, and where to get it ?
<BR>
<P>mfG
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;J. Sauer
<BR>
-----------------------------------------------------------
<BR>
This is the log exerpt:
<BR>
[...]
<BR>
configure:4086: checking for GTK - version &gt;= 1.2.0
<BR>
configure:4172: gcc -o conftest -g -O2 -Wall -I/usr/include/gtk-1.2
<BR>
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
<BR>
-D_GNU_SOURCE conftest.c -ltiff -ljpeg -lz -lm -L/usr/lib
<BR>
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11
<BR>
-lm 1&gt;&amp;5
<BR>
configure: In function `main':
<BR>
configure:4119: warning: implicit declaration of function `system'
<BR>
configure:4300: checking for gimp-config
<BR>
configure:4496: checking for GIMP - version &gt;= 1.0.0
<BR>
configure:4586: gcc -o conftest -g -O2 -Wall -I/usr/include/gtk-1.2
<BR>
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
<BR>
-D_GNU_SOURCE conftest.c -ltiff -ljpeg -lz -lm -L/usr/lib -lgimpui
<BR>
-lgimp -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
<BR>
-lXext -lX11 -lm -lgimp 1&gt;&amp;5
<BR>
configure: In function `main':
<BR>
configure:4528: warning: implicit declaration of function `system'
<BR>
/usr/lib/libgimpui.so: undefined reference to `dcgettext__'
<BR>
collect2: ld returned 1 exit status
<BR>
configure: failed program was:
<BR>
#line 4506 &quot;configure&quot;
<BR>
#include &quot;confdefs.h&quot;
<BR>
<P>#include &lt;libgimp/gimp.h&gt;
<BR>
#include &lt;stdio.h&gt;
<BR>
<P>#define GIMP_TEST_CHECK_VERSION(major, minor, micro) (1 &gt; (major) ||
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;(1 == (major) &amp;&amp; 2 &gt; (minor)) || (1 == (major) &amp;&amp; 2 == (minor)
<BR>
&amp;&amp; 1 &gt;= (micro)))
<BR>
<P>#if !GIMP_TEST_CHECK_VERSION(1,1,25)
<BR>
# define GimpPlugInInfo GPlugInInfo /* do test with gimp interface
<BR>
version 1.0 */
<BR>
#endif
<BR>
<P>GimpPlugInInfo PLUG_IN_INFO =
<BR>
{
<BR>
&nbsp;&nbsp;NULL, NULL, NULL, NULL
<BR>
};
<BR>
<P><P>int
<BR>
main ()
<BR>
{
<BR>
&nbsp;&nbsp;int major, minor, micro;
<BR>
<P>&nbsp;&nbsp;system (&quot;touch conf.gimptest&quot;);
<BR>
<P>&nbsp;&nbsp;if (sscanf(&quot;1.0.0&quot;, &quot;%d.%d.%d&quot;, &amp;major, &amp;minor, &amp;micro) != 3) {
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;%s, bad version string\n&quot;, &quot;1.0.0&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit(1);
<BR>
&nbsp;&nbsp;&nbsp;}
<BR>
<P>&nbsp;&nbsp;if ( (1 != -1) &amp;&amp;
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((gimp_major_version != 1) ||
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(gimp_minor_version != 2) ||
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(gimp_micro_version != 1)) )
<BR>
&nbsp;&nbsp;{
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;\n*** 'gimp-config --version' returned %d.%d.%d, but GIMP
<BR>
(%d.%d.%d)\n&quot;,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1, 2, 1,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gimp_major_version, gimp_minor_version, gimp_micro_version);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf (&quot;*** was found! If gimp-config was correct, then it is
<BR>
best\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf (&quot;*** to remove the old version of GIMP. You may also be
<BR>
able to fix the error\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** by modifying your LD_LIBRARY_PATH enviroment variable,
<BR>
or by editing\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** /etc/ld.so.conf. Make sure you have run ldconfig if
<BR>
that is\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** required on your system.\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** If gimp-config was wrong, set the environment variable
<BR>
GIMP_CONFIG\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** to point to the correct copy of gimp-config, and remove
<BR>
the file config.cache\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** before re-running configure\n&quot;);
<BR>
&nbsp;&nbsp;}
<BR>
&nbsp;&nbsp;else
<BR>
&nbsp;&nbsp;{
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ((gimp_major_version &gt; major) ||
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((gimp_major_version == major) &amp;&amp; (gimp_minor_version &gt; minor)) ||
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((gimp_major_version == major) &amp;&amp; (gimp_minor_version == minor)
<BR>
&amp;&amp; (gimp_micro_version &gt;= micro)))
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 0;
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;\n*** An old version of GIMP (%d.%d.%d) was found.\n&quot;,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gimp_major_version, gimp_minor_version,
<BR>
gimp_micro_version);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** You need a version of GIMP newer than %d.%d.%d. The
<BR>
latest version of\n&quot;,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;major, minor, micro);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** GIMP is always available from <A HREF="ftp://ftp.gimp.org">ftp://ftp.gimp.org</A>.\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;***\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** If you have already installed a sufficiently new
<BR>
version, this error\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** probably means that the wrong copy of the gimp-config
<BR>
shell script is\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** being found. The easiest way to fix this is to remove
<BR>
the old version\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** of GIMP, but you can also set the GIMP_CONFIG
<BR>
environment to point to the\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** correct copy of gimp-config. (In this case, you will
<BR>
have to\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** modify your LD_LIBRARY_PATH enviroment variable, or
<BR>
edit /etc/ld.so.conf\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf(&quot;*** so that the correct libraries are found at
<BR>
run-time))\n&quot;);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<BR>
&nbsp;&nbsp;}
<BR>
&nbsp;&nbsp;return 1;
<BR>
}
<BR>
<P>configure:4713: gcc -o conftest -g -O2 -Wall -I/usr/include/gtk-1.2
<BR>
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
<BR>
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
<BR>
-I/usr/X11R6/include -D_GNU_SOURCE conftest.c -ltiff -ljpeg -lz -lm
<BR>
-L/usr/lib -lgimpui -lgimp -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
<BR>
-lgmodule -lglib -ldl -lXext -lX11 -lm -lgimp -L/usr/lib -lgimpui -lgimp
<BR>
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11
<BR>
-lm -lgimp 1&gt;&amp;5
<BR>
/usr/lib/libgimpui.so: undefined reference to `dcgettext__'
<BR>
/usr/lib/libgimp.so: undefined reference to `PLUG_IN_INFO'
<BR>
collect2: ld returned 1 exit status
<BR>
configure: failed program was:
<BR>
#line 4703 &quot;configure&quot;
<BR>
#include &quot;confdefs.h&quot;
<BR>
<P>#include &lt;libgimp/gimp.h&gt;
<BR>
#include &lt;stdio.h&gt;
<BR>
<P>int main() {
<BR>
&nbsp;return ((gimp_major_version) || (gimp_minor_version) ||
<BR>
(gimp_micro_version));
<BR>
; return 0; }
<BR>
<EFBFBD>@@
<BR>
<P><P><PRE>
--
J<EFBFBD>rgen Sauer - AutomatiX GmbH, +49-4209-4699, <A HREF="mailto:jojo@automatix.de?Subject=Re:%20Xsane%20Configuere%20Script%20Bug&In-Reply-To=&lt;01071817393700.01961@pc2&gt;">jojo@automatix.de</A> **
** Das Linux Systemhaus - Service - Support - Server - L<>sungen **
<A HREF="http://www.automatix.de">http://www.automatix.de</A> to Mail me: remove: -not-for-spawm- **
<P>--
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%20Configuere%20Script%20Bug&In-Reply-To=&lt;01071817393700.01961@pc2&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0203.html">karsten.festag@t-online.de: "Re: Microtek X6USB doesn't switch off main lamp :("</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0201.html">Milen Cholashki: "Problem FUJITSU M 3096/97G"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0182.html">Henning Meier-Geinitz: "Re: Xsane Configuere Script Bug"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0206.html">Henning Meier-Geinitz: "Re: Xsane Configuere Script Bug"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0206.html">Henning Meier-Geinitz: "Re: Xsane Configuere Script Bug"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#202">[ date ]</A>
<A HREF="index.html#202">[ thread ]</A>
<A HREF="subject.html#202">[ subject ]</A>
<A HREF="author.html#202">[ 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>Wed Jul 18 2001 - 08:24:03 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>