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
I know I'll get flamed for this, but how about using checkinstall ? It will build an RPM for you. As I have seen mentioned on this list several times, you don't have all the options as a regular RPM build, but it works. I'm sitting back on SUSE 8.2 (10.0 due in tomorrow, yay !) and use the ./configure, make and checkinstall to keep up with security issues. On Tuesday 08 November 2005 20:43, Moby wrote:
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:
<snip> -- "Contemplate the mangled bodies of your countrymen, and then say, 'What should be the reward of such sacrifices? ' ... If ye love wealth better than liberty, the tranquility of servitude than the animating contest of freedom, go from us in peace. We ask not your counsels or arms. Crouch down and lick the hands which feed you. May your chains sit lightly upon you, and may posterity forget that ye were our countrymen!" --Samuel Adams
hi,
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:
Download the src rpm from guru's website (or repository) and you'll find a patch file in there that fixes this problem, as far as I remember. Just install the src RPM (it will be unpacked) and you should find the patch file in /usr/src/packages/SOURCES. -- /Paul "It's not about the ending, it's about the journey." - Lex Luthor
Thanks for the response Paul, That worked fine, and that is what I have done in the past, used Guru's src rpms for GAIM. I was hoping to be able to use the SuSE src rpm, but no such luck. My hat off to Guru for all his hard work. Paul wrote:
hi,
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:
Download the src rpm from guru's website (or repository) and you'll find a patch file in there that fixes this problem, as far as I remember. Just install the src RPM (it will be unpacked) and you should find the patch file in /usr/src/packages/SOURCES.
-- /Paul
"It's not about the ending, it's about the journey." - Lex Luthor
-- --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
participants (3)
-
Charles Kunce
-
Moby
-
Paul