Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 1999 21:54:40 +0100
From:      Gunnar Flygt <gunnar@pluto.sr.se>
To:        Steve Price <sprice@hiwaay.net>
Cc:        FreeBSD Questions <questions@FreeBSD.org>
Subject:   Re: windowmaker ports installation
Message-ID:  <19990308215440.A865@sr.se>
In-Reply-To: <Pine.OSF.4.02.9903081329220.10777-100000@fly.HiWAAY.net>; from Steve Price on Mon, Mar 08, 1999 at 01:56:57PM -0600
References:  <19990308195227.A560@sr.se> <Pine.OSF.4.02.9903081329220.10777-100000@fly.HiWAAY.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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