[gtkdatabox] [branch: cairo-alpha] doesn't compile if gtk related libraries aren't in the standard paths



Hi,

after struggling around to get gtkdatabox for gtk-3.0 running i want to
let you know what i've changed in the make process.

Since i have no knowledge of autotools i can't provide a patch/commit
and i hope a more verbose report is also welcome.

The reason that the cairo-alpha branch of gtkdatabox couldn't be made
is, that i have all the gtk3 related libraries under /opt and not in
the standard path. scripts/myAutoreconf.sh failed with:

	configure.ac:49: warning: macro `AM_PATH_GTK_3_0' not found in
	library

To get things running i changed scripts/myAutoreconf.sh according to
the following diff (i know that this is a rather static solution
but i just want to report what brought the success):

------------------------------------

--- a/scripts/myAutoreconf.sh
+++ b/scripts/myAutoreconf.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-aclocal
+aclocal -I /opt/gtk-related/share/aclocal
 libtoolize -c -f --automake
 autoheader 
 autoconf

------------------------------------

After that i configured the makefile in the standard way

$ PKG_CONFIG_PATH=/opt/gtk-related/ ./configure 

given that, make failed and i have to set the PKG_CONFIG_PATH for make
also manually. Eventually 

$ PKG_CONFIG_PATH=/opt/gtk-related/ make

was successfull.

With best regards




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