From owner-freebsd-ports@FreeBSD.ORG Tue Nov 1 21:51:50 2005 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38CF416A41F for ; Tue, 1 Nov 2005 21:51:50 +0000 (GMT) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D85743D49 for ; Tue, 1 Nov 2005 21:51:48 +0000 (GMT) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id 86F1A1310AA; Wed, 2 Nov 2005 08:21:46 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 6CF55855E9; Wed, 2 Nov 2005 08:21:46 +1030 (CST) Date: Wed, 2 Nov 2005 08:21:46 +1030 From: Greg 'groggy' Lehey To: Kris Kennaway Message-ID: <20051101215146.GI56043@wantadilla.lemis.com> References: <20051101082610.GA80303@xor.obsecurity.org> <20051101084439.GF18710@wantadilla.lemis.com> <20051101085231.GG18710@wantadilla.lemis.com> <20051101090511.GB89188@xor.obsecurity.org> <20051101073027.GD18710@wantadilla.lemis.com> <20051101082610.GA80303@xor.obsecurity.org> <20051101084439.GF18710@wantadilla.lemis.com> <20051101085120.GA87912@xor.obsecurity.org> <20051101090114.GH18710@wantadilla.lemis.com> <20051101090427.GA89188@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cN0A5YokcrYPGsSB" Content-Disposition: inline In-Reply-To: <20051101090511.GB89188@xor.obsecurity.org> <20051101090427.GA89188@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: ports@FreeBSD.org Subject: Re: Problems installing Xaw3d? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 21:51:50 -0000 --cN0A5YokcrYPGsSB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 1 November 2005 at 4:04:27 -0500, Kris Kennaway wrote: > On Tue, Nov 01, 2005 at 07:31:14PM +1030, Greg 'groggy' Lehey wrote: >> On Tuesday, 1 November 2005 at 3:51:20 -0500, Kris Kennaway wrote: >>> On Tue, Nov 01, 2005 at 07:14:39PM +1030, Greg 'groggy' Lehey wrote: >>> >>>>>> Investigation shows that the port is installing libXaw3d.7, not >>>>>> libXaw3d.8. I solved the installation problem by creating a link between >>>>>> /usr/X11R6/lib/libXaw3d.so.7 and /usr/X11R6/lib/libXaw3d.so.8: >>>>>> >>>>>> ... >>>>>> >>>>>> Obviously something needs to be done. I'd be happy to enter a PR, but >>>>>> I'm not sure which package is to blame. >>>>> >>>>> Looks like you're using XFree86 (not the default), but don't have >>>>> X_WINDOW_SYSTEM set appropriately (see /usr/ports/UPDATING). >>>> >>>> No. Everything's the default. >>> >>> The only way libXaw3d installs .so.7 is if >>> >>> .if ${X_WINDOW_SYSTEM:L} == xorg >>> XAWVER= 8 >>> .else >>> XAWVER= 7 >>> .endif >>> >>> So I actually got it backwards, and you seem to have X_WINDOW_SYSTEM >>> set to something non-default. I was using xorg, not XFree86. It was installed from the DVD by sysinstall. >> Not beyond the bounds of possibility, of course, but how? > > Most likely is that you copied your /etc/make.conf from another system > that uses XFree86. You can verify for yourself by reading the Xaw3d > makefile that the above must be the case. I shouldn't need to read the Makefile to install the software. Looking at this issue again, it seems clear that it's a bug in the Emacs port. For whatever reason, it's looking for a different version of libXaw3d than the one that gets installed by default (for some definition of default). Presumably it needs to have similar code to the stuff you quoted above. On Tuesday, 1 November 2005 at 4:05:11 -0500, Kris Kennaway wrote: > On Tue, Nov 01, 2005 at 07:22:31PM +1030, Greg 'groggy' Lehey wrote: >> Linux distributions install all this stuff by default. If we don't, >> why should we expect anybody to care about trying? > > It works by default. Something is wrong on your system and your > system alone. That's barely possible, but unlikely. I'm sure other people install like this. Anyway, I arguably made the "mistake" of installing X from the DVD distribution. I blew it away and rebuilt from the port, and I no longer have the problem. But I'd still assume that the Emacs port needs to understand which version of the library that gets installed, especially since it seems to work quite well with either. Greg -- See complete headers for address and phone numbers. --cN0A5YokcrYPGsSB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDZ+NyIubykFB6QiMRAgK+AJ4/oPmlsTORHIhvS7+I6yI2BIrHQQCgsswi DU3DUCetJCePLrAOqYYFge4= =gBa8 -----END PGP SIGNATURE----- --cN0A5YokcrYPGsSB--