When I try to compile GTimer 2.00 I get the following error:

$ ./configure

checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: No GTK found. Set the path right or install it.

What's the problem?


This is because you don't have the building dependencies to build the package. Please run:

sudo apt-get build-dep gtimer

You must be sure that you have the deb-src repositories in your sources.list.

On other hand, the package is already included in the repositories of Ubuntu, please consider installing those instead building yourself.

  • How can I add deb-src to the sources? – Minimus Heximus Aug 1 '13 at 14:17
  • @MinimusHeximus Tick the Source code in your Software Source as show here – Braiam Aug 1 '13 at 14:20

Try using the following command:

./configure --with-gtk2

It really works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.