Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2005 13:22:28 +0100
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        freebsd-ports@freebsd.org
Cc:        michael corleone corleone <chkrootkit@hotmail.com>
Subject:   Re: fxtv: Error: shared library "Xaw3d.8" does not exist
Message-ID:  <200502121322.32578.michaelnottebrock@gmx.net>
In-Reply-To: <200502121125.j1CBP8cm002985@peedub.jennejohn.org>
References:  <200502121125.j1CBP8cm002985@peedub.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1264695.l8JKkoKsL4
Content-Type: multipart/mixed;
  boundary="Boundary-01=_FUfDCIfdyMaLbdX"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_FUfDCIfdyMaLbdX
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Saturday, 12. February 2005 12:25, Gary Jennejohn wrote:
> "michael corleone corleone" writes:

> > =3D=3D=3D>   Returning to build of fxtv-1.03_2
> > Error: shared library "Xaw3d.8" does not exist
> > *** Error code 1
>
> This is either a bug in bsd.port.mk or the Xaw3d port. The port
> actually installs libXaw3d.so.7, but in bsd.port.mk XAWVER is
> set to 8. You can work around it by making a symlink.

Can you try this patch?

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--Boundary-01=_FUfDCIfdyMaLbdX
Content-Type: text/plain;
  charset="iso-8859-1";
  name="Xaw3d.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
	filename="Xaw3d.diff"

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/pcvs/ports/x11-toolkits/Xaw3d/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
=2D-- Makefile	3 Sep 2004 20:43:04 -0000	1.41
+++ Makefile	12 Feb 2005 12:21:47 -0000
@@ -17,10 +17,13 @@
 WRKSRC=3D		${WRKDIR}/xc/lib/Xaw3d
 USE_IMAKE=3D	yes
 INSTALLS_SHLIB=3D	yes
+PKGMESSAGE=3D	${WRKDIR}/PKGMESSAGE
=20
 .include <bsd.port.pre.mk>
 .if ${X_WINDOW_SYSTEM:L} =3D=3D xfree86-3
=2DPLIST_FILES=3D	lib/libXaw3d.so.6
+PLIST_FILES=3D	lib/libXaw3d.so.${XAWVER}
+.elif ${X_WINDOW_SYSTEM:L} =3D=3D xorg
+PLIST_FILES=3D	lib/libXaw3d.so.${XAWVER}
 .endif
=20
 post-extract:
@@ -34,11 +37,16 @@
 	  's/CDEBUGFLAGS =3D -O/CDEBUGFLAGS =3D/g' Makefile.orig > Makefile)
 .endif
=20
+post-build:
+	@${CAT} ${PKGDIR}/pkg-message | ${SED} -e 's,%%XAWVER%%,${XAWVER},g' > ${=
PKGMESSAGE}
+
 post-install:
 	${MKDIR} ${PREFIX}/share/doc/Xaw3d
 	${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d
 .if ${X_WINDOW_SYSTEM:L} =3D=3D xfree86-3
=2D	${LN} -sf libXaw3d.so.${XAWVER} ${X11BASE}/lib/libXaw3d.so.6
+	${LN} -sf ${X11BASE}/lib/libXaw3d.so.7 ${X11BASE}/lib/libXaw3d.so.${XAWVE=
R}
+.elif ${X_WINDOW_SYSTEM:L} =3D=3D xorg
+	${LN} -sf ${X11BASE}/lib/libXaw3d.so.7 ${X11BASE}/lib/libXaw3d.so.${XAWVE=
R}
 .endif
 	@${CAT} ${PKGMESSAGE}
=20
Index: pkg-message
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/pcvs/ports/x11-toolkits/Xaw3d/pkg-message,v
retrieving revision 1.1
diff -u -r1.1 pkg-message
=2D-- pkg-message	22 Feb 2000 08:01:58 -0000	1.1
+++ pkg-message	12 Feb 2005 12:21:47 -0000
@@ -3,6 +3,6 @@
 so most X applications will get a 3-D look, do this (as root):
=20
 cd /usr/X11R6/lib
=2Dmv libXaw.so.6 libXaw2d.so.6
=2Dln -s libXaw3d.so.6 libXaw.so.6
+mv libXaw.so.%%XAWVER%% libXaw2d.so.%%XAWVER%%
+ln -s libXaw3d.so.%%XAWVER%% libXaw.so.%%XAWVER%%
 *******************************************************************
Index: pkg-plist
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/pcvs/ports/x11-toolkits/Xaw3d/pkg-plist,v
retrieving revision 1.14
diff -u -r1.14 pkg-plist
=2D-- pkg-plist	3 Sep 2004 20:43:04 -0000	1.14
+++ pkg-plist	12 Feb 2005 12:21:47 -0000
@@ -1,7 +1,7 @@
 @comment $FreeBSD: ports/x11-toolkits/Xaw3d/pkg-plist,v 1.14 2004/09/03 20=
:43:04 nork Exp $
 lib/libXaw3d.a
 lib/libXaw3d.so
=2Dlib/libXaw3d.so.%%XAWVER%%
+lib/libXaw3d.so.7
 include/X11/Xaw3d/AllWidgets.h
 include/X11/Xaw3d/AsciiSink.h
 include/X11/Xaw3d/AsciiSinkP.h

--Boundary-01=_FUfDCIfdyMaLbdX--

--nextPart1264695.l8JKkoKsL4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCDfUIXhc68WspdLARAoS1AKCS0ay8gUbpn8o//4jIKZOHYlU9OwCgoj9a
EbZwa/U9Y2GdMVcSf45mmrM=
=b/Td
-----END PGP SIGNATURE-----

--nextPart1264695.l8JKkoKsL4--



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