Re: Compiling gnome-sudoku on Ubuntu 16.04 (standard unity desktop)



Hey,

On Tue, 2016-07-26 at 14:58 +0200, Igor Lopez wrote:
Hi,

I have fetched the source (latest
commit 283f24cd2f4fa754d7b7ab7baf533ad7e4281462) and am trying to
build it.
Running: 
 $ ./autogen.sh --prefix=`pwd`/install
in the gnome-sudoku folder gives me this:

 .
 .
 checking pkg-config is at least version 0.16... yes
 ./configure: line 16245: APPSTREAM_XML: command not found
 checking for GNOME_SUDOKU... no
 configure: error: Package requirements (
   glib-2.0 >= 2.40.0
   gio-2.0 >= 2.40.0
   gtk+-3.0 >= 3.19.0
   gee-0.8
 ) 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
GNOME_SUDOKU_CFLAGS
 and GNOME_SUDOKU_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.

 $

Checking for gtk I get this:

 $ dpkg --list gtk*
 ii  gtk2-engines-murrine:amd64        0.98.2-0ubuntu2.1        amd64
                  cairo-based gtk+-2.0 theme engine
 un  gtk2.0-binver-2.10.0                   <none>                  
      <none>                  (description missing)
 un  gtk3-binver-3.0.0                        <none>                
        <none>                  (description missing)
 un  gtk3-engines-oxygen                  <none>                    
    <none>                  (description missing)

I can't say I know what pulled in the gtk2 component and I am not a
stranger adding more packages as long it does not break current.

You don't have any development packages installed for GTK+ 3.x.

The gnome-sudoku version bundled in the distribution is of
version 3.18.2 and is running under unity.
I just want to see if I can make some modifications (and maybe
learning some vala at the same time)

How should I proceed to be able to build the application(before
modifying it)?

I think that this might work:
apt-get build-dep gnome-sudoku

if gnome-sudoku exists in the Debian repositories.

Cheers


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]