Re: imlib 1.9.3 compile error on Solaris 2.6
- From: Sebastian Wilhelmi <wilhelmi ira uka de>
- To: "Mark R. Bowyer" <Moredhel earthling net>, gnome-list gnome org, raster redhat com
- Subject: Re: imlib 1.9.3 compile error on Solaris 2.6
- Date: Thu, 18 Feb 1999 13:26:40 +0100
"Mark R. Bowyer" wrote:
Hi,
> >On the following system:
> >SunOS stat01 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-4
> >
> >I get the following error compiling Imlib 1.9.3 (no options except
> >--prefix to configure):
> > :
> >In file included from /usr/include/locale.h:47,
> > from imlib_config.c:35:
> >/usr/include/libintl.h:25: parse error before `const'
> > :
>
> I saw this too. On checking the ImLib CVS ChangeLog on the web, I found
> that Raster had just backed out a whole load of Localisation changes in
> 1.9.3 as they weren't compiling everywhere - I assume he means "Not in
> the US" ;O)
>
> So I gave up, and await a new version with this fixed. 1.9.2 does fine
> =O)
I had the same, and a fix was:
I'm not brave enoygh to commit, if its ok on other platforms, please
commit it, raster.
Bye,
Sebastian
diff -u imlib to follow:
RCS file: /cvs/gnome/imlib/utils/imlib_config.c,v
retrieving revision 1.25
diff -u -r1.25 imlib_config.c
--- imlib_config.c 1999/02/12 05:49:10 1.25
+++ imlib_config.c 1999/02/18 12:24:35
@@ -2,6 +2,20 @@
#ifndef GNOMELOCALEDIR
#define GNOMELOCALEDIR "/usr/share/locale"
#endif
+
+#include <gdk/gdk.h>
+#include <gdk_imlib.h>
+#include <gtk/gtk.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+#include <X11/Xatom.h>
+#include <X11/Xos.h>
+#include <gdk/gdkprivate.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <locale.h>
+
#ifdef ENABLE_NLS
# include <libintl.h>
# define _(String) gettext (String)
@@ -20,19 +34,6 @@
# define _(String) (String)
# define N_(String) (String)
#endif
-
-#include <gdk/gdk.h>
-#include <gdk_imlib.h>
-#include <gtk/gtk.h>
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
-#include <X11/Xatom.h>
-#include <X11/Xos.h>
-#include <gdk/gdkprivate.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <locale.h>
GtkWidget *note = NULL;
GtkWidget *pg1 = NULL;
--
Sebastian Wilhelmi | här ovanför alla molnen
mailto:wilhelmi@ira.uka.de | är himmlen så förunerligt blå
http://goethe.ira.uka.de/~wilhelmi |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]