can't install marionnet with the script

Bug #1697050 reported by gael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
marionnet
New
Undecided
Unassigned

Bug Description

checking for GTK+ - version >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
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: GTK+ is required
======
Exiting.
Exiting because of an unexpected error in line 609

Revision history for this message
Jean-Vincent Loddo (loddo) wrote : Re: [Bug 1697050] [NEW] can't install marionnet with the script

The script marionnet_from_scratch suppose the host GNU/Linux
distribution not minimalist, because it's very hard to know the precise
name of some basic package, like graphical (X) and GTK packages.
However, the error message is quite clear : you have to install the GTK
libraries. For instance, on Ubuntu 16.10 the names of related packages are :

libgtk2.0-0 libglib2.0-0 libgdk-pixbuf2.0-0 libgtksourceview2.0-0

So, you have just to find the precise name for your distribution and
install them.

J.V. Loddo

Le 09/06/2017 à 19:19, gael a écrit :
> Public bug reported:
>
> checking for GTK+ - version >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gtk+-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtk+-2.0' found
> 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: GTK+ is required
> ======
> Exiting.
> Exiting because of an unexpected error in line 609
>
> ** Affects: marionnet
> Importance: Undecided
> Status: New
>

Revision history for this message
Luca Saiu (saiu) wrote :

On 2017-06-10 at 08:54, Jean-Vincent Loddo wrote:

> The script marionnet_from_scratch suppose the host GNU/Linux
> distribution not minimalist, because it's very hard to know the precise
> name of some basic package, like graphical (X) and GTK packages.
> However, the error message is quite clear : you have to install the GTK
> libraries. For instance, on Ubuntu 16.10 the names of related packages are :
>
> libgtk2.0-0 libglib2.0-0 libgdk-pixbuf2.0-0 libgtksourceview2.0-0

Gaël: among these you may already have libgtk2.0-0, even if your
distribution is minimalistic.

You should also install what is your distribution's equivalent of what
is called libgtk2.0-dev on debian; «-dev» packages contain the C header
files needed at compile time to link external libraries written in C.
Let's hope you don't have similar problems with more obscure libraries.

--
Luca Saiu
* GNU epsilon: http://www.gnu.org/software/epsilon
* My personal home page: http://ageinghacker.net

I support everyone's freedom of mocking any opinion or belief, no
matter how deeply held, with open disrespect and the same unrelented
enthusiasm of a toddler who has just learned the word "poo".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.