After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 385701 - dia-0.96-pre1 does not build
dia-0.96-pre1 does not build
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.96-pre1
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
: 396258 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-12-14 02:45 UTC by Joseph Sacco
Modified: 2007-01-18 17:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joseph Sacco 2006-12-14 02:45:21 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)\" \
Comment 1 Hans Breuer 2007-01-13 23:06:36 UTC
*** Bug 396258 has been marked as a duplicate of this bug. ***
Comment 3 Lars Clausen 2007-01-18 17:13:49 UTC
Reverting to not using DIA_*DIR at all, it was a misunderstanding.