You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

configure: error: Package requirements (gtk+-3.0 >= 3.0.0) 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.

so configure seems to deny the existenxe of gtk3,
but i succesfully installed it previously!

anyone may suggest why the gtkmm3 configure script does not see gtk3 installed on my system??

I think a forgotten ldconfig command in this case is not the reason that gtk3 libs are not found though it is always a good idea. As I understand gtk and co. test existance of packages not by linking to them but by looking for the corresponding pkg-config file.
If you simply run configure from the official pcakages, your libs will be installded under /usr/local whereas the system looks for pkg-config files only under /usr . There are two possibilities to overcome this:

1) set the environment variable PKG_CONFIG_PATH to point to the appropriate directory under /usr/local , e.g.
/usr/local/lib/pkg-config and run configure again

or, strongly recommended

2) get the slackbuildscripts for gtk3 and gtkmm3 from www.slackbuilds.org for your slackware version and build
your own packages, which you can install afterward

something I forgot to mention: If you are using the slackbuild scripts, take a look at the dependencies that are mentioned there and build / install them first. For each dependencies you can find a respective slackbuild script.
Before installing any new package, be sure to remove your installed version under /usr/local. I'm not sure, if gtk supports

Code:

make uninstall

If not, you should at least delete the libraries under /usr/local/lib and teh header files under /usr/local/include manually. Having two versions of the same library installed may lead to strange results as I can tell from my own experience... .