From owner-freebsd-questions Mon Mar 8 11:57:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id D5CB314EE1 for ; Mon, 8 Mar 1999 11:57:17 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id NAA32617; Mon, 8 Mar 1999 13:56:57 -0600 (CST) Date: Mon, 8 Mar 1999 13:56:57 -0600 (CST) From: Steve Price To: flygt@sr.se Cc: FreeBSD Questions Subject: Re: windowmaker ports installation In-Reply-To: <19990308195227.A560@sr.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. # -- # __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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message