I'm runing only KDE and haven't installed the dev-libs/unicode (as part of gnome). So the configure of dia-0.90 detects corecctly: checking for libunicode... not found But then the build fails like this: make[2]: Entering directory `/var/tmp/portage/dia-0.90/work/dia-0.90/lib' i686-pc-linux-gnu-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/share/dia/sheets\" -I/usr/include/gnome-1.0 -I/usr/include/gnome-1.0-DLIBDIR=\"/usr/lib\" -DDATADIR=\"/usr/share/dia\" -I/usr/include/gnome-xml -march=i686 -O3 -pipe -fomit-frame-pointer -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:149: unicode.h: No such file or directory 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 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 `/var/tmp/portage/dia-0.90/work/dia-0.90/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dia-0.90/work/dia-0.90' make: *** [all-recursive-am] Error 2 Installing libunicode fixes this prob => please put it in the deps.
This is fixed in dia-0.90-r1 Thank you.