Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2005 08:21:46 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Problems installing Xaw3d?
Message-ID:  <20051101215146.GI56043@wantadilla.lemis.com>
In-Reply-To: <20051101090511.GB89188@xor.obsecurity.org> <20051101090427.GA89188@xor.obsecurity.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051101215146.GI56043>