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 388682 - libgnomedb-2.99.2 does not build with glade3 >= 3.1.3
libgnomedb-2.99.2 does not build with glade3 >= 3.1.3
Status: RESOLVED FIXED
Product: libgnomedb
Classification: Deprecated
Component: general
2.99.x
Other Linux
: Normal normal
: ---
Assigned To: Rodrigo Moya
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-22 17:40 UTC by Joseph Sacco
Modified: 2007-01-23 13:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joseph Sacco 2006-12-22 17:40:22 UTC
As of glade3-3.1.3, glade-3.pc has gone missing. The pkg-config entry is now libgladeui-1.0.pc.  

Configure needs to be tweaked to use this new pkg-config entry to set  GLADE3_MODULES_DIR. If this entry is nil, libtool will fail

   libtool: link: only absolute run-paths are allowed
   make[2]: *** [libgladegnomedb.la] Error 1



-Joseph
Comment 1 Joseph Sacco 2006-12-22 17:52:59 UTC
The patch below fixes the problem

-Joseph

=========================================================================
--- libgnomedb-2.99.2/configure.in- 2006-12-22 12:42:02.000000000 -0500
+++ libgnomedb-2.99.2/configure.in  2006-12-22 12:43:17.000000000 -0500
@@ -153,9 +153,9 @@

 if test x"$have_glade3" = "xyes"
 then
-    GLADE3_PIXMAP_DIR=`pkg-config --variable=pixmapdir glade-3`
-    GLADE3_MODULES_DIR=`pkg-config --variable=moduledir glade-3`
-    GLADE3_CATALOG_DIR=`pkg-config --variable=catalogdir glade-3`
+    GLADE3_PIXMAP_DIR=`pkg-config --variable=pixmapdir libgladeui-1.0`
+    GLADE3_MODULES_DIR=`pkg-config --variable=moduledir libgladeui-1.0`
+    GLADE3_CATALOG_DIR=`pkg-config --variable=catalogdir libgladeui-1.0`
     AC_SUBST(GLADE3_PIXMAP_DIR)
     AC_SUBST(GLADE3_MODULES_DIR)
     AC_SUBST(GLADE3_CATALOG_DIR)
Comment 2 Murray Cumming 2007-01-16 17:28:37 UTC
See also bug #390806
Comment 3 Murray Cumming 2007-01-23 13:32:15 UTC
OK. Fixed in SVN. We now depend on glade 3.1 if any.