Compilation Problem (libintl.h)



Hello,

I am trying to compile dia 0.97 on Redhat 5.8, x86_64, but get some compiler errors...

make[3]: Entering directory `/ifi/bifrost/m00/krisrst/Downloads/dia-0.97/bindings'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -pthread -I/local/include/gtk-2.0 -I/local/lib/gtk-2.0/include -I/local/include/atk-1.0 -I/local/include/cairo -I/local/include/pango-1.0 -I/local/include/glib-2.0 -I/local/lib/glib-2.0/include -I/local/include/pixman-1 -I/local/include/freetype2 -I/local/include -I/local/include/libpng12 -I/local/include/libxml2 -I/local/include/libart-2.0    -I/local/include/libxml2    -I../lib   -g -O2 -MT _dia_la-dia-connections.lo -MD -MP -MF .deps/_dia_la-dia-connections.Tpo -c -o _dia_la-dia-connections.lo `test -f 'dia-connections.cpp' || echo './'`dia-connections.cpp
 g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -pthread -I/local/include/gtk-2.0 -I/local/lib/gtk-2.0/include -I/local/include/atk-1.0 -I/local/include/cairo -I/local/include/pango-1.0 -I/local/include/glib-2.0 -I/local/lib/glib-2.0/include -I/local/include/pixman-1 -I/local/include/freetype2 -I/local/include -I/local/include/libpng12 -I/local/include/libxml2 -I/local/include/libart-2.0 -I/local/include/libxml2 -I../lib -g -O2 -MT _dia_la-dia-connections.lo -MD -MP -MF .deps/_dia_la-dia-connections.Tpo -c dia-connections.cpp  -fPIC -DPIC -o .libs/_dia_la-dia-connections.o
./libintl.h:40: error: expected unqualified-id before 'const'
./libintl.h:40: error: expected `)' before 'const'
./libintl.h:40: error: expected initializer before 'const'
./libintl.h:83: error: expected unqualified-id before 'throw'
./libintl.h:83: error: expected initializer before 'throw'
./libintl.h:87: error: expected unqualified-id before 'throw'
./libintl.h:87: error: expected initializer before 'throw'
make[3]: *** [_dia_la-dia-connections.lo] Error 1

###########################################

Anyone can shed some light on this problem?

Best regards
Robin


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