From owner-freebsd-questions Fri Apr 2 14: 9:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from peloton.physics.montana.edu (peloton.physics.montana.edu [153.90.192.177]) by hub.freebsd.org (Postfix) with ESMTP id E50F914F5F for ; Fri, 2 Apr 1999 14:09:53 -0800 (PST) (envelope-from brett@peloton.physics.montana.edu) Received: from localhost (brett@localhost) by peloton.physics.montana.edu (8.8.8/8.8.7) with ESMTP id PAA08647; Fri, 2 Apr 1999 15:08:20 -0700 (MST) (envelope-from brett@peloton.physics.montana.edu) Date: Fri, 2 Apr 1999 15:08:20 -0700 (MST) From: Brett Taylor To: "David L. Hays, Jr." Cc: freebsd-questions@FreeBSD.ORG Subject: Re: gtk-1.2.1 install problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, > FreeBSD 2.2.8-Stable (CVSup'd about a week ago) Here's the problem... see below. > The config.log file is rather long, and there are a log of lines that say > error. The first mention of GLIB is about 90% into it. > > ---cut--- > configure:4670: checking for glib-config > configure:4705: checking for GLIB - version >= 1.2.1 > configure:4804: cc -o conftest -O -Wall -I/usr/local/include/glib12 > -D_THREAD_SA > FE -pthread -I/usr/local/include conftest.c -L/usr/local/lib -Wl,-E > -lgmodule12 > -lgthread12 -lglib12 -lc_r -lintl -L/usr/local/lib 1>&5 See the -Wl,E term there - that's bad for 2.2.8 machines. What you need to do is the following: edit patch-ad and patch-ae. In patch-ad you'll see: linux*) G_MODULE_LDFLAGS='-rdynamic' ;; + freebsd*) + G_MODULE_LDFLAGS='-Wl,-E' + ;; convert this to read + freebsd*) + G_MODULE_LDFLAGS='-E' + ;; and the same thing should be done for patch-ae. You'll then need to reinstall glib (do a make deinstall in that directory, and then make install again). Make sure you do a make clean too in between the deinstall and install as you need to rebuild glib with the above fixes in it. Brett *********************************************************** Brett Taylor brett@peloton.physics.montana.edu * brett@daemonnews.org * * http://www.daemonnews.org/ * *********************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message