Re: Problem compiling from cvs

Thanks for the answer...
Maby the website should be updated to show svn, not cvs?
It works perfectly without -enablegnome....

Quoting Hans Breuer <hans breuer org>:

On 03.01.2007 13:37, Tor Harald Thorland wrote:


I downloaded the latest cvs version of Dia.
Did run:
./ --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"\"
-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  <lars raeder dk>

        * lib/dia_dirs.c (dia_get_lib_directory, dia_get_data_directory):
        * lib/ (AM_CPPFLAGS):
        * app/ (INCLUDES): Rename DATADIR and LIBDIR to
        DIA_DATADIR and DIA_LIBDIR to avoid conflicts with libtool and the
        like.  Thanks to lode leroy <lode_leroy hotmail com> 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

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

or for write access

        svn svn+ssh://your_gnome_account svn gnome org/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



-------- 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
FAQ at
Main page at

Best Regards
Tor Harald Thorland

Attachment: binV_dLCg8wqC.bin
Description: PGP Public Key

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