From owner-freebsd-questions Mon Mar 8 12:55:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dart.sr.se (dart.SR.SE [193.12.91.98]) by hub.freebsd.org (Postfix) with ESMTP id C259E1517B for ; Mon, 8 Mar 1999 12:55:02 -0800 (PST) (envelope-from gunnar@pluto.sr.se) Received: from honken.sr.se ([134.25.128.27]) by dart.sr.se (8.9.3/8.9.3) with ESMTP id VAA29467; Mon, 8 Mar 1999 21:54:41 +0100 (MET) Received: from pluto.sr.se (pluto.SR.SE [134.25.193.91]) by honken.sr.se (8.7.5/8.7.3) with ESMTP id VAA21718; Mon, 8 Mar 1999 21:54:40 +0100 (MET) Received: (from gunnar@localhost) by pluto.sr.se (8.9.1/8.9.1) id VAA00875; Mon, 8 Mar 1999 21:54:40 +0100 (CET) (envelope-from gunnar) Message-ID: <19990308215440.A865@sr.se> Date: Mon, 8 Mar 1999 21:54:40 +0100 From: Gunnar Flygt To: Steve Price Cc: FreeBSD Questions Subject: Re: windowmaker ports installation Reply-To: flygt@sr.se References: <19990308195227.A560@sr.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Steve Price on Mon, Mar 08, 1999 at 01:56:57PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 08, 1999 at 01:56:57PM -0600, Steve Price wrote: > On Mon, 8 Mar 1999, Gunnar Flygt wrote: > > # > 1) What version of FreeBSD are you running? > # > # 3.1-RELEASE > # > # > 2) Is your system ELF or a.out? > # > # ELF > # > # > 3) Is the windowmaker binary ELF or a.out? > # > # It is nothing yet, since it doesn't compile, or were you referring to > # the not finding libXpm.so.4.11 ? In that case it was aout > # > # > 4) What does 'ldd `which wmaker` say? > # > # It says: > # > # su-2.02# ldd `which wmaker` > # /usr/X11R6/bin/wmaker: > # -lwraster.1 => /usr/X11R6/lib/libwraster.so.1.2 (0x2006d000) > # -lPropList.1 => /usr/X11R6/lib/libPropList.so.1.1 (0x20078000) > # -lXpm.4 => not found (0x0) > # -ljpeg.9 => not found (0x0) > # -ljpeg.9 => not found (0x0) > # -lXext.6 => /usr/X11R6/lib/aout/libXext.so.6.3 (0x20082000) > # -lX11.6 => /usr/X11R6/lib/aout/libX11.so.6.1 (0x2008b000) > # -lm.2 => /usr/lib/compat/aout/libm.so.2.0 (0x2011c000) > # -lc.3 => /usr/lib/compat/aout/libc.so.3.1 (0x20136000) > # su-2.02# > # > # > 5) Did you install windowmaker from a package or did you build it > # > yourself? > # > # The aout was built by myself, since 0.50 didn't exist for 2.2.8. > > Ick, no wonder you are having problems. Deinstall both the windowmaker > and libPropList ports. Apply the two attached patches and give it > another go. You will also need ELF versions of the xpm and jpeg ports. But if you had read my previous message you would have seen that it started with not being able to compile the new windomaker from the ports of 3.1-RELEASE. All parts are installed as ELF from that installation. The thing is it doesn't matter that libPropList is installed as ELF from the same ports tree. windowmaker installation claims that libPropList is not installed. So the thing is really stupid. The only reason I had to try the windowmaker I already got there, was that windowmaker doen't compile! > > # -- > # __o > # regards, Gunnar ---_ \<,_ > # email: flygt@sr.se ---- (_)/ (_) > # > > -- fix for the libPropList port > > Index: patches/patch-aa > =================================================================== > RCS file: /home/ncvs/ports/devel/libPropList/patches/patch-aa,v > retrieving revision 1.1 > diff -u -r1.1 patch-aa > --- patch-aa 1999/02/02 14:30:27 1.1 > +++ patch-aa 1999/03/08 04:17:15 > @@ -1,5 +1,5 @@ > ---- ltconfig.orig Tue Feb 2 21:25:41 1999 > -+++ ltconfig Tue Feb 2 21:25:51 1999 > +--- ltconfig.orig Thu Jan 7 23:01:56 1999 > ++++ ltconfig Sun Mar 7 22:14:40 1999 > @@ -1201,7 +1201,7 @@ > ;; > > @@ -9,7 +9,7 @@ > archive_cmds='$CC -shared -o $lib$libobjs$deplibs' > hardcode_libdir_flag_spec='-R$libdir' > hardcode_direct=yes > -@@ -1606,7 +1606,7 @@ > +@@ -1606,11 +1606,11 @@ > shlibpath_var=PATH > ;; > > @@ -18,3 +18,8 @@ > objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` > version_type=freebsd-$objformat > library_names_spec='${libname}${release}.so$versuffix $libname.so' > +- finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$objformat" ldconfig -m $libdir' > ++ finish_cmds="PATH=\"\$PATH:/sbin\" OBJFORMAT=$objformat ldconfig -m \$libdir" > + shlibpath_var=LD_LIBRARY_PATH > + ;; > + > > -- fix for the WindowMaker port > > Index: patches/patch-ab > =================================================================== > RCS file: /home/ncvs/ports/x11-wm/windowmaker/patches/patch-ab,v > retrieving revision 1.4 > diff -u -r1.4 patch-ab > --- patch-ab 1999/01/26 01:43:01 1.4 > +++ patch-ab 1999/03/08 04:30:28 > @@ -5,7 +5,7 @@ > > # FreeBSD 3, at last, uses gcc -shared to do shared libraries. > - freebsd3*) > -+ freebsd[34]*) > ++ freebsd*) > archive_cmds='$CC -shared -o $lib$libobjs' > hardcode_libdir_flag_spec='-R$libdir' > hardcode_direct=yes > @@ -15,12 +15,12 @@ > > -freebsd2* | freebsd3*) > - version_type=sunos > -+freebsd[234]*) > ++freebsd*) > + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` > + version_type=freebsd-$objformat > library_names_spec='${libname}${release}.so.$versuffix $libname.so' > - finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir' > -+ finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$objformat" ldconfig -m $libdir' > ++ finish_cmds="PATH=\"\$PATH:/sbin\" OBJFORMAT=$objformat ldconfig -m \$libdir" > shlibpath_var=LD_LIBRARY_PATH > ;; > > Index: pkg/PLIST > =================================================================== > RCS file: /home/ncvs/ports/x11-wm/windowmaker/pkg/PLIST,v > retrieving revision 1.21 > diff -u -r1.21 PLIST > --- PLIST 1999/02/10 21:29:31 1.21 > +++ PLIST 1999/03/06 00:41:18 > @@ -145,6 +145,7 @@ > lib/libwraster.a > lib/libwraster.la > lib/libwraster.so > +lib/libwraster.so.1 > share/WINGs/Images.tiff > share/WINGs/Images.xpm > share/WINGs/defaultIcon.tiff > -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message