Greetings, Dia hackers --
I am trying to build Dia-0.9 on my RH7.1 box (kernal 2.4.2-2). I get
the following error when I try to compile:
[root@Pirate dia-0.90]# make
make all-recursive
make[1]: Entering directory `/usr/local/src/dia-0.90'
Making all in lib
make[2]: Entering directory `/usr/local/src/dia-0.90/lib'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/gnome-xml -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-DDIA_SHEETDIR=\"/usr/local/share/dia/sheets\"
-I/usr/local/include -DUNICODE_USE_SYSTEM_ICONV
-DLIBDIR=\"/usr/local/lib\" -DDATADIR=\"/usr/local/share/dia\"
-I/usr/include/gnome-xml -g -O2 -Wall -Wunused -Winline
-Wmissing-prototypes -Wmissing-declarations -finline-functions
-fstrict-aliasing -c diagramdata.c
In file included from font.h:24,
from render.h:27,
from object.h:31,
from diagramdata.h:26,
from diagramdata.c:26:
charconv.h:150: parse error before `unichar'
charconv.h:150: warning: type defaults to `int' in declaration of
`unichar'
charconv.h:150: warning: data definition has no type or storage class
In file included from font.h:24,
from render.h:27,
from object.h:31,
from diagramdata.h:26,
from diagramdata.c:26:
charconv.h:192: parse error before `charconv_utf8_get_char'
charconv.h:192: warning: type defaults to `int' in declaration of
`charconv_utf8_get_char'
charconv.h:192: warning: data definition has no type or storage class
make[2]: *** [diagramdata.o] Error 1
make[2]: Leaving directory `/usr/local/src/dia-0.90/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dia-0.90'
make: *** [all-recursive-am] Error 2
[root@Pirate dia-0.90]#
I've been having all kinds of unicode problems with Dia. I believe
that I fixed them by uninistalling the old libunicode on my system and
installing libunicode 0.4. However, I still can't compile. Anybody
have ideas about what I'm doing wrong?
Thanks,
Stuart