From owner-freebsd-questions@FreeBSD.ORG Thu Nov 27 11:41:39 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B582E16A4CE for ; Thu, 27 Nov 2003 11:41:39 -0800 (PST) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6309043F93 for ; Thu, 27 Nov 2003 11:41:37 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu74-159-108.nc.rr.com [24.74.159.108])hARJfWFm023768; Thu, 27 Nov 2003 14:41:33 -0500 (EST) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) hARJePuY014547; Thu, 27 Nov 2003 14:40:25 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Bob Perry In-Reply-To: <1069960852.44684.37.camel@shumai.marcuscom.com> References: <3FC64CD8.6050805@earthlink.net> <1069960852.44684.37.camel@shumai.marcuscom.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JQxfpsQuXLH7MHdqRAJE" Organization: MarcusCom, Inc. Message-Id: <1069962090.44684.57.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 27 Nov 2003 14:41:30 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on creme-brulee.marcuscom.com X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: FreeBSD User Questions List Subject: Re: Problem upgrading /lang/librep (librep-0.16.2_2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 19:41:39 -0000 --=-JQxfpsQuXLH7MHdqRAJE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-11-27 at 14:20, Joe Marcus Clarke wrote: > On Thu, 2003-11-27 at 14:13, Bob Perry wrote: > > Happy Thanksgivings, > >=20 > > Was upgrading my ports and ran into the following error message : > >=20 > > ** The following packages were not installed or upgraded (*:skipped /=20 > > !:failed) =20 > > ! lang/librep (librep-0.16.2_2) (new compiler error) > > * x11-toolkits/rep-gtk (rep-gtk-gnome-0.15_1) > >=20 > > Later tried to install via ports process and rec'd the following output= : > >=20 > > ||=3D=3D=3D> Building for librep-0.16.2_3 for dir in intl src lisp man= ; do \ > > [ -d $dir ] && ( cd $dir && gmake all ) || exit 1; \ > > done gmake[1]: Entering directory=20 > > `/usr/ports/lang/librep/work/librep-0.16.2/ intl' > > gmake[1]: Nothing to be done for `all'. > > gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/= i=20 > > ntl' > > gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2= /=20 > > src' > > /bin/sh ../libtool --mode=3Dlink cc -export-dynamic -DHAVE_CONFIG_H -I.= -I=20 > > ../src -I.. -I/usr/local/include -O -pipe -o rep \ > > rep.o librep.la -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt=20 > > -lgmp -lm > > cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o .= l=20 > > ibs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so -L/usr/l= o=20 > > cal/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath -Wl,/usr/X11R6/lib > > ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider u= s=20 > > ing mkstemp() > > ./.libs/librep.so: undefined reference to `mpq_set_d' > > gmake[1]: *** [rep] Error 1 > > gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/= s rc' > > gmake: *** [all] Error 1 > >=20 > > Any advice? Don't remember seeing anything in the mailing list re this= =20 > > issue. >=20 > I changed the librep dependencies last night, but I did a full test of > librep, rep-gtk2, and sawfish2 on -CURRENT before doing so. What > version of FreeBSD is this? What version of the libgmp4 port do you > have installed? The only time I saw this error, was when I original did > the port, and it linked against libgmp.so.3. >=20 > Hmm...I bet this machine was upgraded from -STABLE, and you still have a > /usr/lib/libgmp.so link. If you do, remove that file/symlink, and > librep should build. Sorry to reply to myself, but something just hit me. If this is, in fact, 4.X, then the patch I removed is still needed. I have re-added it, so if this is 4.X, re-cvsup your ports tree in a bit, and try the build again. Joe >=20 > Joe >=20 > >=20 > > Thanks, > > Bob --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-JQxfpsQuXLH7MHdqRAJE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/xlNqb2iPiv4Uz4cRAlNIAKCvaWD4ExFs2d1KfjZ93TuQXM22wwCeIvT4 WJleag9st169+NuiU9Tv3Ww= =59ac -----END PGP SIGNATURE----- --=-JQxfpsQuXLH7MHdqRAJE--