kopia lustrzana https://gitlab.com/sane-project/website
392 wiersze
13 KiB
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=<01071817393700.01961@pc2>"><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>> Hi,
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> On Tue, Jul 17, 2001 at 01:05:17PM +0200, Juergen Sauer wrote:
|
||
</EM><BR>
|
||
<EM>> > Bug report about Xsane 0.78, I was not able to enable the gimp Plugin
|
||
</EM><BR>
|
||
<EM>> > mode during the ./configure script.
|
||
</EM><BR>
|
||
<EM>> >
|
||
</EM><BR>
|
||
<EM>> > I read the File Xsane.PROBLEMS, and followed that instructions.
|
||
</EM><BR>
|
||
<EM>> >
|
||
</EM><BR>
|
||
<EM>> > This is the result:
|
||
</EM><BR>
|
||
<EM>> > [...]
|
||
</EM><BR>
|
||
<EM>> > checking for gimp-config... (cached) /usr/bin/gimp-config
|
||
</EM><BR>
|
||
<EM>> > checking for GIMP - version >= 1.0.0... no
|
||
</EM><BR>
|
||
<EM>> > *** Could not run GIMP test program, checking why...
|
||
</EM><BR>
|
||
<EM>> > [...]
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> Could you have a look at config.log, there should be a hint what's
|
||
</EM><BR>
|
||
<EM>> going on.
|
||
</EM><BR>
|
||
<EM>>
|
||
</EM><BR>
|
||
<EM>> 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>
|
||
/usr/lib/libgimpui.so: undefined reference to `dcgettext__'
|
||
<BR>
|
||
What is this function call for, and where to get it ?
|
||
<BR>
|
||
<P>mfG
|
||
<BR>
|
||
J. Sauer
|
||
<BR>
|
||
-----------------------------------------------------------
|
||
<BR>
|
||
This is the log exerpt:
|
||
<BR>
|
||
[...]
|
||
<BR>
|
||
configure:4086: checking for GTK - version >= 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>&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 >= 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>&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 "configure"
|
||
<BR>
|
||
#include "confdefs.h"
|
||
<BR>
|
||
<P>#include <libgimp/gimp.h>
|
||
<BR>
|
||
#include <stdio.h>
|
||
<BR>
|
||
<P>#define GIMP_TEST_CHECK_VERSION(major, minor, micro) (1 > (major) ||
|
||
<BR>
|
||
(1 == (major) && 2 > (minor)) || (1 == (major) && 2 == (minor)
|
||
<BR>
|
||
&& 1 >= (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>
|
||
NULL, NULL, NULL, NULL
|
||
<BR>
|
||
};
|
||
<BR>
|
||
<P><P>int
|
||
<BR>
|
||
main ()
|
||
<BR>
|
||
{
|
||
<BR>
|
||
int major, minor, micro;
|
||
<BR>
|
||
<P> system ("touch conf.gimptest");
|
||
<BR>
|
||
<P> if (sscanf("1.0.0", "%d.%d.%d", &major, &minor, &micro) != 3) {
|
||
<BR>
|
||
printf("%s, bad version string\n", "1.0.0");
|
||
<BR>
|
||
exit(1);
|
||
<BR>
|
||
}
|
||
<BR>
|
||
<P> if ( (1 != -1) &&
|
||
<BR>
|
||
((gimp_major_version != 1) ||
|
||
<BR>
|
||
(gimp_minor_version != 2) ||
|
||
<BR>
|
||
(gimp_micro_version != 1)) )
|
||
<BR>
|
||
{
|
||
<BR>
|
||
printf("\n*** 'gimp-config --version' returned %d.%d.%d, but GIMP
|
||
<BR>
|
||
(%d.%d.%d)\n",
|
||
<BR>
|
||
1, 2, 1,
|
||
<BR>
|
||
gimp_major_version, gimp_minor_version, gimp_micro_version);
|
||
<BR>
|
||
printf ("*** was found! If gimp-config was correct, then it is
|
||
<BR>
|
||
best\n");
|
||
<BR>
|
||
printf ("*** to remove the old version of GIMP. You may also be
|
||
<BR>
|
||
able to fix the error\n");
|
||
<BR>
|
||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable,
|
||
<BR>
|
||
or by editing\n");
|
||
<BR>
|
||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if
|
||
<BR>
|
||
that is\n");
|
||
<BR>
|
||
printf("*** required on your system.\n");
|
||
<BR>
|
||
printf("*** If gimp-config was wrong, set the environment variable
|
||
<BR>
|
||
GIMP_CONFIG\n");
|
||
<BR>
|
||
printf("*** to point to the correct copy of gimp-config, and remove
|
||
<BR>
|
||
the file config.cache\n");
|
||
<BR>
|
||
printf("*** before re-running configure\n");
|
||
<BR>
|
||
}
|
||
<BR>
|
||
else
|
||
<BR>
|
||
{
|
||
<BR>
|
||
if ((gimp_major_version > major) ||
|
||
<BR>
|
||
((gimp_major_version == major) && (gimp_minor_version > minor)) ||
|
||
<BR>
|
||
((gimp_major_version == major) && (gimp_minor_version == minor)
|
||
<BR>
|
||
&& (gimp_micro_version >= micro)))
|
||
<BR>
|
||
{
|
||
<BR>
|
||
return 0;
|
||
<BR>
|
||
}
|
||
<BR>
|
||
else
|
||
<BR>
|
||
{
|
||
<BR>
|
||
printf("\n*** An old version of GIMP (%d.%d.%d) was found.\n",
|
||
<BR>
|
||
gimp_major_version, gimp_minor_version,
|
||
<BR>
|
||
gimp_micro_version);
|
||
<BR>
|
||
printf("*** You need a version of GIMP newer than %d.%d.%d. The
|
||
<BR>
|
||
latest version of\n",
|
||
<BR>
|
||
major, minor, micro);
|
||
<BR>
|
||
printf("*** GIMP is always available from <A HREF="ftp://ftp.gimp.org">ftp://ftp.gimp.org</A>.\n");
|
||
<BR>
|
||
printf("***\n");
|
||
<BR>
|
||
printf("*** If you have already installed a sufficiently new
|
||
<BR>
|
||
version, this error\n");
|
||
<BR>
|
||
printf("*** probably means that the wrong copy of the gimp-config
|
||
<BR>
|
||
shell script is\n");
|
||
<BR>
|
||
printf("*** being found. The easiest way to fix this is to remove
|
||
<BR>
|
||
the old version\n");
|
||
<BR>
|
||
printf("*** of GIMP, but you can also set the GIMP_CONFIG
|
||
<BR>
|
||
environment to point to the\n");
|
||
<BR>
|
||
printf("*** correct copy of gimp-config. (In this case, you will
|
||
<BR>
|
||
have to\n");
|
||
<BR>
|
||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or
|
||
<BR>
|
||
edit /etc/ld.so.conf\n");
|
||
<BR>
|
||
printf("*** so that the correct libraries are found at
|
||
<BR>
|
||
run-time))\n");
|
||
<BR>
|
||
}
|
||
<BR>
|
||
}
|
||
<BR>
|
||
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>&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 "configure"
|
||
<BR>
|
||
#include "confdefs.h"
|
||
<BR>
|
||
<P>#include <libgimp/gimp.h>
|
||
<BR>
|
||
#include <stdio.h>
|
||
<BR>
|
||
<P>int main() {
|
||
<BR>
|
||
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=<01071817393700.01961@pc2>">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=<01071817393700.01961@pc2>">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>
|