Mailinglist Archive: opensuse (4570 mails)

< Previous Next >
Build GAIM from src RPM on SuSE10
  • From: Moby <moby@xxxxxxxxxxxxxx>
  • Date: Wed, 9 Nov 2005 01:43:33 +0000 (UTC)
  • Message-id: <4371542E.2080903@xxxxxxxxxxxxxx>
Has anyone been able to successfully build GAIM from the source RPM for SuSE 10? Installing the source RPM and performing a rpmbuild -ba gaim.spec fails with errors as shown below:

"
In file included from /opt/gnome/include/glib-2.0/glib/galloca.h:30,
from /opt/gnome/include/glib-2.0/glib.h:30,
from /opt/gnome/include/glib-2.0/gmodule.h:30,
from internal.h:88,
from account.c:25:
/opt/gnome/include/glib-2.0/glib/gtypes.h:41: error: syntax error before ‘typedef’
In file included from /opt/gnome/include/glib-2.0/glib.h:31,
from /opt/gnome/include/glib-2.0/gmodule.h:30,
from internal.h:88,
from account.c:25:
/opt/gnome/include/glib-2.0/glib/garray.h:32: error: syntax error before ‘G_BEGIN_DECLS’
/opt/gnome/include/glib-2.0/glib/garray.h:34: error: syntax error before ‘typedef’
In file included from /opt/gnome/include/glib-2.0/glib/gerror.h:24,
from /opt/gnome/include/glib-2.0/glib/gthread.h:30,
from /opt/gnome/include/glib-2.0/glib/gasyncqueue.h:30,
from /opt/gnome/include/glib-2.0/glib.h:32,
from /opt/gnome/include/glib-2.0/gmodule.h:30,
from internal.h:88,
from account.c:25:
/opt/gnome/include/glib-2.0/glib/gquark.h:32: error: syntax error before ‘G_BEGIN_DECLS’
/opt/gnome/include/glib-2.0/glib/gquark.h:34: error: syntax error before ‘typedef’
/opt/gnome/include/glib-2.0/glib/gquark.h:41: error: syntax error before ‘gchar’/opt/gnome/include/glib-2.0/glib/gquark.h:41: error: syntax error before ‘G_GNUC_CONST’
/opt/gnome/include/glib-2.0/glib/gquark.h:41: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_CONST’
/opt/gnome/include/glib-2.0/glib/gquark.h:41: warning: data definition has no type or storage class
In file included from /opt/gnome/include/glib-2.0/glib/gthread.h:30,
from /opt/gnome/include/glib-2.0/glib/gasyncqueue.h:30,
from /opt/gnome/include/glib-2.0/glib.h:32,
from /opt/gnome/include/glib-2.0/gmodule.h:30,
from internal.h:88,
from account.c:25:
/opt/gnome/include/glib-2.0/glib/gerror.h:26: error: syntax error before ‘G_BEGIN_DECLS’
.
.
.
"

Doing a simple ./configure and make in the RPM build directory works fine, but then I do not get a nice RPM to install from. The issue seems to have something to do with the prefix definitions in the spec. file but I am not quite sure what it is.

Any thoughts?

Thanks in advance for any help,

--

--Moby

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin

First they came for the Jews and I did not speak out because I was not a Jew.
Then they came for the Communists and I did not speak out because I was not a Communist.
Then they came for the trade unionists and I did not speak out because I was not a trade unionist.
Then they came for me and there was no one left to speak out for me. -- Pastor Martin Niemöller

< Previous Next >
This Thread
Follow Ups