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



On Mon, 7 Jan 2013 16:47:57 +0100
Johannes Deutsch <j_deutsch web de> wrote:

> 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
> 

Appendix:

of course PKG_CONFIG_PATH is not /opt/gtk-related
but in my case it must be set to /opt/gtk-related/lib/pkgconfig/

> 
> _______________________________________________
> gtkdatabox-list mailing list
> gtkdatabox-list gnome org
> https://mail.gnome.org/mailman/listinfo/gtkdatabox-list



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