Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 1998 21:50:08 +0100
From:      Roland Jesse <jesse@prinz-atm.CS.Uni-Magdeburg.De>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Problems using GTK with FreeBSD 3.0
Message-ID:  <19981205215008.A11181@cs.uni-magdeburg.de>

next in thread | raw e-mail | index | archive | help
Hello,

Since I switched to 3.0 Release, I have quite some problems compiling
anything that uses GTK. I installed gtk 1.1.2 out of the ports collection.
A good example that outlines the problems is the port of gmysql:

------- snip -------
# make
===>  Extracting for gmysql-0.3.1
>> Checksum OK for gmysql-0.3.1.tar.gz.
===>   gmysql-0.3.1 depends on file: /usr/local/lib/mysql/libmysqlclient.a
- fou
nd
===>   gmysql-0.3.1 depends on shared library: gtk11.1 - found
===>  Patching for gmysql-0.3.1
===>  Configuring for gmysql-0.3.1
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -O -pipe -s) works... yes
checking whether the C compiler (cc -O -pipe -s) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for gtk-config... /usr/X11R6/bin/gtk11-config
checking for GTK - version >= 1.0.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter case,
you
*** may want to edit the gtk-config script: /usr/X11R6/bin/gtk11-config
configure: error: Need GTK+ version 1.0.0 or better!
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
------- snap -------

The config.log says:
/usr/X11R6/lib/libgtk11.so: undefined reference to `g_datalist_set_destroy'
/usr/X11R6/lib/libgtk11.so: undefined reference to `g_datalist_id_set_destroy'

Any hints about what I am missing are appreciated.

	Roland

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?19981205215008.A11181>