How do I install a newer version of GTK in Ubuntu without replacing the current one?

Posted by William Friesen on Super User See other posts from Super User or by William Friesen
Published on 2010-11-23T15:17:49Z Indexed on 2011/11/16 10:02 UTC
Read the original article Hit count: 460

Filed under:
|
|

I am trying to compile file-roller from git, but running autogen.sh gives me this error

configure: error: Package requirements (gtk+-3.0 >= 2.91.1) were not met:

No package 'gtk+-3.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I am running Ubuntu Maverick and don't wish to completely replace my current version of gtk, glib, etc.

I have tried to compile GTK using the --prefix argument of autogen.sh, but this gives me a similar error about my version of glib.

How can I successfully compile file-roller using these new libraries without borking my install?

© Super User or respective owner

Related posts about linux

Related posts about compile