On 03.01.2007 13:37, Tor Harald Thorland wrote: > > 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? This is a side-effect of:
2006-10-12 Lars Clausen <[EMAIL PROTECTED]> * lib/dia_dirs.c (dia_get_lib_directory, dia_get_data_directory): * lib/Makefile.am (AM_CPPFLAGS): * app/Makefile.am (INCLUDES): Rename DATADIR and LIBDIR to DIA_DATADIR and DIA_LIBDIR to avoid conflicts with libtool and the like. Thanks to lode leroy <[EMAIL PROTECTED]> for pointing out the solution. Unfortuantely I don't know what problem was supposed to be fixed by that. The issue already is reported as http://bugzilla.gnome.org/show_bug.cgi?id=385701 The current work-around is to use --disable-gnome. BTW: this wont be fixed in CVS anymore because we switched to SVN [1] To get the most recent version use svn co http://svn.gnome.org/svn/dia/trunk or for write access svn svn+ssh://[EMAIL PROTECTED]/svn/dia/trunk > 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. > http://svn.gnome.org/viewcvs/dia/trunk/doc/custom-shapes?rev=2543&view=markup or http://www.seanet.com/~hgg9140/comp/diatut/all/all.html#6.4. Hans -------- Hans "at" Breuer "dot" Org ----------- Tell me what you need, and I'll tell you how to get along without it. -- Dilbert _______________________________________________ Dia-list mailing list Dia-list@gnome.org http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia