GNOME Bugzilla – Bug 385701
dia-0.96-pre1 does not build
Last modified: 2007-01-18 17:13:49 UTC
app/app_procs.c fails to compile because of DATADIR and LIBDIR were renamed. The culplit is a macro GNOME_PROGRAM_STANDARD_PROPERTIES defined in /include/libgnome-2.0/libgnome/gnome-program.h which still uses DATADIR and LIBDIR. A is a simple fix [hack] is shown below. -Joseph ======================================================================== --- dia-0.96-pre1/app/Makefile.in- 2006-12-13 21:35:17.000000000 -0500 +++ dia-0.96-pre1/app/Makefile.in 2006-12-13 21:35:43.000000000 -0500 @@ -407,6 +407,8 @@ $(LIBART_CFLAGS) \ -DPREFIX=\""$(prefix)"\" \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ + -DDATADIR=\""$(datadir)"\" \ + -DLIBDIR=\""$(libdir)"\" \ -DDIA_DATADIR=\""$(datadir)"\" \ -DDIA_LIBDIR=\""$(libdir)"\" \ -DLOCALEDIR=\"$(localedir)\" \
*** Bug 396258 has been marked as a duplicate of this bug. ***
see also http://mail.gnome.org/archives/dia-list/2007-January/msg00008.html
Reverting to not using DIA_*DIR at all, it was a misunderstanding.