Problem compiling from cvs




Hello,

I downloaded the latest cvs version of Dia.
Did run:
./autogen.sh --prefix=/home/tortho/dia --enable-gnome
and then make.

Make gives me the following error.
I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1
-I/usr/include/libart-2.0   -DPREFIX=\""/home/tortho/dia"\"
-DSYSCONFDIR=\""/home/tortho/dia/etc"\"
-DDIA_DATADIR=\""/home/tortho/dia/share"\"
-DDIA_LIBDIR=\""/home/tortho/dia/lib"\"
-DLOCALEDIR=\"/home/tortho/dia/share/locale\"
-DUIDATADIR=\"/home/tortho/dia/share/dia/ui\"
-I/usr/include/libxml2 -I/usr/include/freetype2 -g -O2  -Wall -Wunused
--std=c89 -Wdeclaration-after-statement -Wmissing-prototypes
-Wmissing-declarations -finline-functions -fstrict-aliasing -MT
app_procs.o -MD -MP -MF ".deps/app_procs.Tpo" -c -o app_procs.o
app_procs.c; \
         then mv -f ".deps/app_procs.Tpo" ".deps/app_procs.Po"; else
rm -f ".deps/app_procs.Tpo"; exit 1; fi
app_procs.c: In function ?do_convert?:
app_procs.c:421: warning: passing argument 4 of ?ef->export_func?
discards qualifiers from pointer target type
app_procs.c: In function ?app_init?:
app_procs.c:791: error: ?DATADIR? undeclared (first use in this function)
app_procs.c:791: error: (Each undeclared identifier is reported only once
app_procs.c:791: error: for each function it appears in.)
app_procs.c:791: error: ?LIBDIR? undeclared (first use in this function)
make[4]: *** [app_procs.o] Error 1
make[4]: Leaving directory `/home/tortho/source/dia/app'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tortho/source/dia/app'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tortho/source/dia/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tortho/source/dia'
make: *** [all] Error 2

Does anyone have any hint on this one?
Also, is there a description somewhere on how to make and add symbols to Dia,
I wan't to contribute with symbols used by engineers onboard
ships/shipbuilding.


Best Regards / Vennlig Hilsen
Tor Harald Thorland

Attachment: ""
Description: application/pgp-keys

Attachment: bin0ixZf6d__V.bin
Description: PGP Public Key



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