Problems installing Xaw3d?

Greg 'groggy' Lehey grog at
Tue Nov 1 13:51:50 PST 2005

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/ and  /usr/X11R6/lib/
>>>>>>  ...
>>>>>> 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

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

See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list