[lokisetup] More compile problems

Loren Osborn linux_dr at yahoo.com
Wed Aug 28 05:04:17 EDT 2002

Still working on getting loki-setup to compile, but I have had a few
problems that should be detectable in ./configure:

you need to be able to statically link libc.a and libintl.a into the
same executable.

LibGlade needs to be installed.

I'd sent a patch myself, but I haven't played with autoconf yet, and
don't have time to screw with it now...

For the record: to get libc.a and libintl.a I changed the following

diff -u --recursive gettext-0.11.5/intl/gettextP.h
--- gettext-0.11.5/intl/gettextP.h	Tue Jul 23 05:27:52 2002
+++ gettext-changed-0.11.5/intl/gettextP.h	Wed Aug 28 01:28:59 2002
@@ -30,6 +30,13 @@
 # endif
+/* The internal variables in the standalone libintl.a must have
+   names than the internal variables in GNU libc, otherwise programs
+   using libintl.a cannot be linked statically.  */
+#if !defined _LIBC
+# define _nl_find_msg libintl_nl_find_msg
 #include "loadinfo.h"
 #include "gmo.h"		/* Get nls_uint32.  */

I hope that doesn't break anything...

Best wishes,


On Tue, 2002-08-27 at 23:37, Ryan C. Gordon wrote:
> > The solution is to fix the configure scripts to have a combination of
> > flags that work with all linkers, but I'm too lazy for that ;-)
> Another satisfied customer.   :(
> --ryan.

More information about the Lokisetup mailing list