From owner-freebsd-questions Fri Apr 2 15:23:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from shell2.ba.best.com (shell2.ba.best.com [206.184.139.133]) by hub.freebsd.org (Postfix) with ESMTP id 6138214CCE for ; Fri, 2 Apr 1999 15:23:48 -0800 (PST) (envelope-from elfkinz@elfland.net) Received: from localhost (elfkinz@localhost) by shell2.ba.best.com (8.9.3/8.9.2/best.sh) with ESMTP id PAA04865; Fri, 2 Apr 1999 15:23:24 -0800 (PST) X-Authentication-Warning: shell2.ba.best.com: elfkinz owned process doing -bs Date: Fri, 2 Apr 1999 15:23:24 -0800 (PST) From: "David L. Hays, Jr." X-Sender: elfkinz@shell2.ba.best.com To: Brett Taylor 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 Thanks for the help, but I'm starting to feel stupid ... do I delete these three lines?: > linux*) > G_MODULE_LDFLAGS='-rdynamic' > ;; because when I do I get the following error when I make: ===> Patching for glib-1.2.1 ===> Applying FreeBSD patches for glib-1.2.1 patch: **** malformed patch at line 19: @@ -716,11 +719,13 @@ *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. When I leave them in and edit only the line following freebsd*) I get no errors for glib, but the same old error with gtk. Once again, Thanks On Fri, 2 Apr 1999, Brett Taylor wrote: > 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