Wispy on Ubuntu

Peter Garrett peter.garrett at optusnet.com.au
Thu Sep 21 00:44:25 UTC 2006


On Wed, 20 Sep 2006 19:41:39 +0200
Jean Gruneberg <kaosboss at gmail.com> wrote:

> According to synaptic, there are a whole bunch of gtk2+ packages of 
> which many are installed.
> Guess I need to set the environment so the compiler can find gtk2, how 
> do I do that.

When you are compiling, errors related to the configure script not finding
something are (almost) always to do with missing development packages.

> Package gtk+-2.0 was not found in the pkg-config search path

In this case you probably want 
 $ apt-cache search libgtk2 dev gtk+
[ various gtk2 perl and other irrelevant bits snipped]
 libgtk2.0-dev - Development files for the GTK+ library
^^^^^^^^
Chances are that you will need other -dev packages. Usually if you see
these kinds of errors what you need is a library, which in Ubuntu and
Debian are of the the form lib*** -dev , so the strategy is to search on
libgtk2, gtk+ and dev as above.

You can probably save a lot of time by reading the README file normally
included in the source tarball. Sometimes there are other files like
INSTALL etc. If all else fails, the needed libraries and dependencies are
normally listed on the program's home page.

When the package is also available as an Ubuntu package, you can get the
needed build dependencies with 

sudo apt-get build-dep <packagename>

but as wispy is not in the repos, this short cut is not available in your
case.

Peter





More information about the ubuntu-users mailing list