Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3959

Summary: dia-0.90 won't build without libunicode
Product: Gentoo Linux Reporter: Nils Ohlmeier <develop>
Component: Current packagesAssignee: Gabriele Giorgetti <gabriele_giorgetti>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nils Ohlmeier 2002-06-20 20:25:23 UTC
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.
Comment 1 Gabriele Giorgetti 2002-06-20 20:47:48 UTC
This is fixed in dia-0.90-r1

Thank you.