[Anjuta-list] fail to install on CentOS5



I am installing anjuta-2.26 on CentOS5.2 from source. I installed all
dependent packages shown in http://projects.gnome.org/anjuta/downloads.shtml.
And I can "./configure" the anjuta without any problem, but during "make",
it returns

-----------------------------------------------------------------------------------------------------------

In file included from /usr/local/include/glib-2.0/glib/gi18n.h:25,
from anjuta-vcs-status-tree-view.c:26:
/usr/include/libintl.h:40: error: expected identifier or '(' before 'const'
/usr/include/libintl.h:45: error: expected identifier or '(' before 'const'
/usr/include/libintl.h:52: error: expected identifier or '(' before 'const'
/usr/include/libintl.h:83: error: expected identifier or '(' before 'const'
/usr/include/libintl.h:87: error: expected identifier or '(' before 'const'
/usr/include/libintl.h:92: error: expected identifier or '(' before 'const'
In file included from anjuta-vcs-status-tree-view.c:26:
/usr/local/include/glib-2.0/glib/gi18n.h:28:1: warning: "_" redefined
In file included from /usr/include/libgnome-2.0/libgnome/gnome-i18n.h:40,
from /usr/include/libgnome-2.0/libgnome/libgnome.h:30,
from /usr/include/libgnomeui-2.0/gnome.h:5,
from ../libanjuta/anjuta-preferences.h:23,
from ../libanjuta/anjuta-shell.h:29,
from ../libanjuta/anjuta-plugin.h:29,
from ../libanjuta/libanjuta.h:32,
from anjuta-enum-types.h:7,
from anjuta-vcs-status-tree-view.h:30,
from anjuta-vcs-status-tree-view.c:25:
/usr/include/libbonobo-2.0/bonobo/bonobo-i18n.h:69:1: warning: this is the location of the previous definition
make[4]: *** [anjuta-vcs-status-tree-view.lo] Error 1
make[4]: Leaving directory `/tmp/anjuta/anjuta-2.26.0.0/libanjuta'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/anjuta/anjuta-2.26.0.0/libanjuta'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/software-packs/anjuta/anjuta-2.26.0.0/libanjuta'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/software-packs/anjuta/anjuta-2.26.0.0'
make: *** [all] Error 2
-----------------------------------------------------------------------------------------------------------

How to solve this?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]