Subject: Re: kdebase2 and xfree86 v4.0.2 build problem
To: Nick Hudson <firstname.lastname@example.org>
From: Chris Gilbert <email@example.com>
Date: 03/18/2001 11:09:57
On Sunday 18 March 2001 10:05 am, Nick Hudson wrote:
> Chris Gilbert wrote:
> > Hi,
> > While trying to build kdebase2 i've been having problems to do with the
> > greeter directory.
> > Now I think the key is that I'm running xfree86 v4.0.2
> > configure outputs:
> > checking whether to build a shared greeter for xdm... no
> I think the easiest way round this (for the moment) is to add
> CONFIGURE_ARGS+= --enable-greet-lib
> to the kdebase2/Makefile
> Its libtool enabled which means that it will fake dlopening of the
> greeterlib on systems that it thinks can't deal with a shared greeter
> lib. In fact its a static binary on my system.
> I think you're probably right that this isn't the best solution though.
> I have a look...
I actually fixed it by rebuilding x with the following patch:
RCS file: /usr/src/local.cvs/xsrc/xfree/xc/config/cf/NetBSD.cf,v
retrieving revision 22.214.171.124
diff -u -p -r126.96.36.199 NetBSD.cf
--- xfree/xc/config/cf/NetBSD.cf 2001/03/16 21:06:26 188.8.131.52
+++ xfree/xc/config/cf/NetBSD.cf 2001/03/17 09:35:05
@@ -517,5 +517,6 @@ sed 's/\.[0-9]*$$//'`
-#define SharedLibXdmGreet NO
+/* Build the shared XDM greeter if platform supports shared libs */
+#define SharedLibXdmGreet HasSharedLibraries
Which seems a fairly sane thing. Unless there's major security issues beind
using a shared version of greet? I note that it seems to be assumed to be
turned on for linux if it's not defined which is probably why the configure
script thinks undefined == on.
Other than that minor problem kde seems to be building ok :)