Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3959 - dia-0.90 won't build without libunicode
Summary: dia-0.90 won't build without libunicode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gabriele Giorgetti
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-20 20:25 UTC by Nils Ohlmeier
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.