You are not logged in.

#1 2008-11-01 00:26:00

zfs
Member
Registered: 2008-11-01
Posts: 2

xchat-tango Compilation Error

Hi. I did a fresh install of Archlinux and now I'm trying to get xchat-tango.

I get the following error message:

In file included from fe-gtk.c:48:
xtext.h:273: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_xtext_get_type'
fe-gtk.c: In function 'fe_ctrl_gui':
fe-gtk.c:786: warning: implicit declaration of function 'setup_apply_real'
fe-gtk.c: In function 'try_browser':
fe-gtk.c:925: warning: passing argument 1 of 'xchat_execv' from incompatible pointer type
make[3]: *** [fe-gtk.o] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-xchat-tango/xchat-tango/src/xchat-2.8.6/src/fe-gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-xchat-tango/xchat-tango/src/xchat-2.8.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-xchat-tango/xchat-tango/src/xchat-2.8.6'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build xchat-tango package.

Any help would be appreciated. Thank you.

Offline

#2 2008-11-01 01:39:09

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: xchat-tango Compilation Error

It's a minor (probably transient) bug in xchat's sources. It's been fixed in CVS, but as you're building 2.8.6 you need to add the following line just before the ./configure command:

sed -i 's/GtkType/GType/' src/fe-gtk/xtext.{c,h}

Last edited by foutrelis (2008-11-01 01:44:49)

Offline

#3 2008-11-01 01:58:01

zfs
Member
Registered: 2008-11-01
Posts: 2

Re: xchat-tango Compilation Error

Thanks a lot! smile

Last edited by zfs (2008-11-01 01:58:17)

Offline

Board footer

Powered by FluxBB