Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Nov 2005 00:59:53 +0900
From:      MANTANI Nobutaka <nobutaka@freebsd.org>
To:        "Greg 'groggy' Lehey" <grog@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: Problems installing Xaw3d?
Message-ID:  <864q6v82h2.wl%nobutaka@nobutaka.org>
In-Reply-To: <20051101073027.GD18710@wantadilla.lemis.com>
References:  <20051101073027.GD18710@wantadilla.lemis.com>

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

At Tue, 1 Nov 2005 18:00:27 +1030,
Greg 'groggy' Lehey wrote:
> I've just tried several times to install emacs on a freshly installed
> 7.0 box (Dell Inspiron 6000 FWIW).  The Emacs installation fails
> consistently with the following messages:
>
>    ===>   emacs-21.3_8 depends on shared library: Xaw3d.8 - not found
>    ===>    Verifying install for Xaw3d.8 in /usr/ports/x11-toolkits/Xaw3d
>    ===>  Vulnerability check disabled, database not found
>    ===>  Extracting for Xaw3d-1.5E_1
>    => Checksum OK for Xaw3d-1.5E.tar.gz.
>    ... (Xaw3d installs)
>    + /usr/bin/install -c -m 0444 XawImP.h /usr/X11R6/include/X11/Xaw3d
>    install in . done
>    install.man in . done
>    ...
>    *******************************************************************
>    ===>   Running ldconfig
>    /sbin/ldconfig -m /usr/X11R6/lib
>    ===>   Registering installation for Xaw3d-1.5E_1
>    ===>   Returning to build of emacs-21.3_8
>    Error: shared library "Xaw3d.8" does not exist
>    *** Error code 1
>
> 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:
> 
>  $ l /usr/X11R6/lib/libXaw3d.*
>   -rw-r--r--  1 root  wheel  420930 Nov  1 17:39 /usr/X11R6/lib/libXaw3d.a
>   -rwxr-xr-x  2 root  wheel  309646 Nov  1 17:39 /usr/X11R6/lib/libXaw3d.so
>   -rwxr-xr-x  2 root  wheel  309646 Nov  1 17:39 /usr/X11R6/lib/libXaw3d.so.7
>   -rwxr-xr-x  2 root  wheel  309646 Nov  1 17:39 /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.

It seems that imake-4 (part of XFree86) is installed on your system.
Shared library version of libXaw is defined in /usr/X11R6/lib/X11/config/X11.tmpl.
X11.tmpl is installed by imake-4 or imake-6. Please confirm output of the
following command.

% grep "#define SharedXawRev" /usr/X11R6/lib/X11/config/X11.tmpl

If imake-6 is installed, the output should be "#define SharedXawRev 8.0".
If the output is "#define SharedXawRev 7.0", you should uninstall imake-4
and install imake-6.

So please don't blame the emacs port. :-)

--
MANTANI Nobutaka
nobutaka@nobutaka.org, nobutaka@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864q6v82h2.wl%nobutaka>