Date: Fri, 10 Jan 2003 20:42:22 +0100 From: Hanspeter Roth <hampi@rootshell.be> To: FreeBSD User Questions List <freebsd-questions@FreeBSD.ORG> Subject: Re: Gtk+ not installed Message-ID: <20030110194222.GA61024@gicco.homeip.net> In-Reply-To: <1042226952.358.62.camel@gyros> References: <20030110191702.GA60040@gicco.homeip.net> <1042226952.358.62.camel@gyros>
next in thread | previous in thread | raw e-mail | index | archive | help
--/9DWx/yDrRhgMJTb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Jan 10 at 14:29, Joe Marcus Clarke spoke:
> Looks like it might be a problem with your GTK install. Either that or
> a hidden problem. Can you send the config.log from xmms?
Maybe there's a problem with concerning libintl.so.2?
-Hanspeter
--/9DWx/yDrRhgMJTb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="config.log"
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:796: checking host system type
configure:834: checking for a BSD compatible install
configure:887: checking whether build environment is sane
configure:944: checking whether gmake sets ${MAKE}
configure:990: checking for working aclocal
configure:1003: checking for working autoconf
configure:1016: checking for working automake
configure:1029: checking for working autoheader
configure:1042: checking for working makeinfo
configure:1166: checking for gcc
configure:1279: checking whether the C compiler (cc -O -pipe -march=pentium ) works
configure:1295: cc -o conftest -O -pipe -march=pentium -I/usr/local/include conftest.c -L/usr/local/lib 1>&5
configure:1321: checking whether the C compiler (cc -O -pipe -march=pentium ) is a cross-compiler
configure:1326: checking whether we are using GNU C
configure:1335: cc -E conftest.c
configure:1354: checking whether cc accepts -g
configure:1386: checking for POSIXized ISC
configure:1407: checking whether byte ordering is bigendian
configure:1425: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 1>&5
configure:1440: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:1435: syntax error before `big'
configure: failed program was:
#line 1429 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif
; return 0; }
configure:1497: checking for inline
configure:1511: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 1>&5
configure:1537: checking for working const
configure:1591: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 1>&5
configure:1624: checking for a BSD compatible install
configure:1677: checking whether ln -s works
configure:1698: checking whether gmake sets ${MAKE}
configure:1760: checking for Cygwin environment
configure:1776: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:1772: `__CYGWIN32__' undeclared (first use in this function)
configure:1772: (Each undeclared identifier is reported only once
configure:1772: for each function it appears in.)
configure: failed program was:
#line 1765 "configure"
#include "confdefs.h"
int main() {
#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1793: checking for mingw32 environment
configure:1805: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:1801: `__MINGW32__' undeclared (first use in this function)
configure:1801: (Each undeclared identifier is reported only once
configure:1801: for each function it appears in.)
configure: failed program was:
#line 1798 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
configure:1822: checking how to run the C preprocessor
configure:1843: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:1948: checking build system type
configure:1977: checking for ld used by GCC
configure:2045: checking if the linker (/usr/libexec/elf/ld) is GNU ld
GNU ld version 2.12.1 [FreeBSD] 2002-07-20
configure:2062: checking for /usr/libexec/elf/ld option to reload object files
configure:2074: checking for BSD-compatible nm
configure:2112: checking how to recognise dependant libraries
configure:2295: checking for object suffix
configure:2301: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 1>&5
configure:2321: checking for executable suffix
configure:2331: cc -o conftest -O -pipe -march=pentium -I/usr/local/include conftest.c -L/usr/local/lib 1>&5
configure:2362: checking command to parse /usr/bin/nm -B output
configure:2442: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 1>&5
configure:2445: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
configure:2496: cc -o conftest -O -pipe -march=pentium -I/usr/local/include conftest.c conftstm.o 1>&5
configure:2545: checking for dlfcn.h
configure:2555: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2723: checking for ranlib
configure:2790: checking for strip
configure:3033: checking for objdir
configure:3060: checking for cc option to produce PIC
configure:3212: checking if cc PIC flag -fPIC works
configure:3226: cc -c -O -pipe -march=pentium -fPIC -DPIC -I/usr/local/include conftest.c 1>&5
configure:3278: checking if cc static flag -static works
configure:3293: cc -o conftest -O -pipe -march=pentium -I/usr/local/include -static conftest.c -L/usr/local/lib 1>&5
configure:3320: checking if cc supports -c -o file.o
configure:3339: cc -c -O -pipe -march=pentium -o out/conftest2.o -I/usr/local/include conftest.c 1>&5
configure:3368: checking if cc supports -c -o file.lo
configure:3386: cc -c -O -pipe -march=pentium -c -o conftest.lo -I/usr/local/include conftest.c 1>&5
configure:3436: checking if cc supports -fno-rtti -fno-exceptions
configure:3449: cc -c -O -pipe -march=pentium -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include conftest.c 1>&5
configure:3476: checking whether the linker (/usr/libexec/elf/ld) supports shared libraries
configure:4160: checking how to hardcode library paths into programs
configure:4188: checking whether stripping libraries is possible
configure:4202: checking dynamic linker characteristics
configure:4599: checking if libtool supports shared libraries
configure:4603: checking whether to build shared libraries
configure:4626: checking whether to build static libraries
configure:5162: checking whether -lc should be explicitly linked in
configure:5169: cc -c -O -pipe -march=pentium -I/usr/local/include conftest.c 1>&5
configure:5182: cc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep -lc >/dev/null 2>&1
configure:5766: checking for pthread.h
configure:5776: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:5852: checking for glib-config
configure:5887: checking for GLIB - version >= 1.2.2
configure:5986: cc -o conftest -O -pipe -march=pentium -I/usr/local/include/glib12 -I/usr/local/include conftest.c -L/usr/local/lib -lglib12 -L/usr/local/lib 1>&5
configure:6118: checking for gtk-config
configure:6153: checking for GTK - version >= 1.2.2
configure:6254: cc -o conftest -O -pipe -march=pentium -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include conftest.c -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 -pthread -lintl -lXext -lX11 -lm -L/usr/local/lib 1>&5
/usr/libexec/elf/ld: warning: libintl.so.2, needed by /usr/X11R6/lib/libgtk12.so, not found (try using -rpath or -rpath-link)
configure: failed program was:
#line 6176 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("1.2.2");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
printf("%s, bad version string\n", "1.2.2");
exit(1);
}
if ((gtk_major_version != 1) ||
(gtk_minor_version != 2) ||
(gtk_micro_version != 10))
{
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
1, 2, 10,
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf ("*** was found! If gtk-config was correct, then it is best\n");
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
(gtk_minor_version != GTK_MINOR_VERSION) ||
(gtk_micro_version != GTK_MICRO_VERSION))
{
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
}
#endif /* defined (GTK_MAJOR_VERSION) ... */
else
{
if ((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
configure:6298: cc -o conftest -O -pipe -march=pentium -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include conftest.c -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 -pthread -lintl -lXext -lX11 -lm 1>&5
/usr/libexec/elf/ld: warning: libintl.so.2, needed by /usr/X11R6/lib/libgtk12.so, not found (try using -rpath or -rpath-link)
--/9DWx/yDrRhgMJTb--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030110194222.GA61024>
