[gcompris-devel] Noob question re compiling from source

Jeff Mitchell jeff.m123 at yahoo.co.nz
Wed Sep 21 23:19:53 UTC 2011


Hi,

I tried compiling GCompris from source, but I get the following issue:


checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GCOMPRIS... no
configure: error: Package requirements (  gtk+-2.0 >= 2.12.0   librsvg-2.0 >= 2.26.0   libxml-2.0 >= 2.6.16   gthread-2.0 ) were not met:

No package 'gtk+-2.0' found
No package 'librsvg-2.0' found
No package 'libxml-2.0' found
No package 'gthread-2.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 GCOMPRIS_CFLAGS
and GCOMPRIS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
jeff at lenovo:~/gcompris-9.6.1$"


I set my environmental variable with this:


PKG_CONFIG_PATH=/usr/local/lib:/lib:/usr/lib:.


And I still get the same problem. I also tried installing packages to satisfy the "no package found" errors, but those packages don't exist. I added the Debian 6 contrib repo, and still can't find the packages. Since I cannot run this:

apt-get install gtk+-2.0 librsvg-2.0 libxml-2.0 gthread-2.0


Does it mean that I have to google the packages and install them from source?


I'm sure there's an easier way, but unfortunately I don't have a computer science degree so I wouldn't know.


More information about the Gcompris-devel mailing list