You are not logged in.

#1 2011-08-30 04:59:04

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Gnome-Shell 3.1.90 - unable to compile because of missing dependencies

./configure --prefix=/usr wrote:

configure: error: Package requirements (gio-2.0 >= 2.29.10
                               gio-unix-2.0 dbus-glib-1 libxml-2.0
                               gtk+-3.0 >= 3.0.0
                               folks >= 0.5.2
                               libmutter >= 3.0.0
                               gjs-internals-1.0 >= 1.29.15
                   libgnome-menu-3.0 gstreamer-0.10 gstreamer-base-0.10 x11 gconf-2.0
                               gdk-x11-3.0 libsoup-2.4
                   clutter-x11-1.0 >= 1.7.5
                   clutter-glx-1.0 >= 1.7.5
                               libstartup-notification-1.0 >= 0.11
                               gobject-introspection-1.0 >= 0.10.1
                   libcanberra
                               telepathy-glib >= 0.15.5
                               telepathy-logger-0.2 >= 0.2.4
                               polkit-agent-1 >= 0.100 xfixes
                               libnm-glib libnm-util gnome-keyring-1) were not met:

Requested 'gio-2.0 >= 2.29.10' but version of GIO is 2.28.8
Requested 'folks >= 0.5.2' but version of Folks is 0.4.3
Requested 'gjs-internals-1.0 >= 1.29.15' but version of gjs-internals-1.0 is 0.7.14
No package 'libgnome-menu-3.0' found
Requested 'clutter-x11-1.0 >= 1.7.5' but version of Clutter is 1.6.16
Requested 'clutter-glx-1.0 >= 1.7.5' but version of Clutter is 1.6.16
Requested 'telepathy-glib >= 0.15.5' but version of Telepathy-GLib is 0.15.4

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_SHELL_CFLAGS
and GNOME_SHELL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Hi archers,

I was trying to compile gnome-shell 3.1.90 on Arch i686 (testing); but it configure script complaining about "missing" up to date packages.

http://mail.gnome.org/archives/gnome-an … 00038.html

Download
========

http://download.gnome.org/sources/gnome … .90.tar.xz  (998K)
  sha256sum: 310754ecd7a0b40b46e93fdbde8ccb5477c12a3835640f99224cb8c2fb8a2a6d

http://download.gnome.org/sources/gnome … 90.tar.bz2 (1.13M)
  sha256sum: 4c9e61c6c96535110fafb844520392a62afc4fcc4eb79d376ad705a793cb0f5c

Are there any gnome-unstable repos for such dependencies?  I could not find AURs for the dependencies also. Please advise. Thanks.

Offline

#2 2011-09-01 20:54:21

ilike
Member
From: Germany
Registered: 2011-09-01
Posts: 15
Website

Re: Gnome-Shell 3.1.90 - unable to compile because of missing dependencies

fast_rizwaan wrote:

Are there any gnome-unstable repos for such dependencies?  I could not find AURs for the dependencies also. Please advise. Thanks.

I asked myself the same question for some time now. Gnome-Unstable seems to have only old packages. Since gnome 3.0 is not *that* stable and there are some surely some fixes in Gnome-shell 3.1.90, a AUR package would really be nice! smile

Offline

#3 2011-09-01 21:04:52

alexcriss
Member
Registered: 2010-05-24
Posts: 121

Re: Gnome-Shell 3.1.90 - unable to compile because of missing dependencies

Gnome Shell depends on the whole Gnome 3.1.90 stuff. I think you need to update many libraries before being able to compile it, such as gtk3, glib, telepathy-glib, mutter and maybe many more.

You can't just go and compile it on a 3.0 system

Offline

#4 2011-09-01 21:05:53

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gnome-Shell 3.1.90 - unable to compile because of missing dependencies

patience my friend patience


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-09-02 00:11:04

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Gnome-Shell 3.1.90 - unable to compile because of missing dependencies

sure, the dependencies are too many, jhbuild fails also. I'll wait for 3.2 (or 3.1.90 beta) in repo

Offline

#6 2011-09-02 09:20:53

alexcriss
Member
Registered: 2010-05-24
Posts: 121

Re: Gnome-Shell 3.1.90 - unable to compile because of missing dependencies

fast_rizwaan wrote:

jhbuild fails also


Last time I used it, it worked for me. What errors are you getting?

Last edited by alexcriss (2011-09-02 09:21:10)

Offline

#7 2011-09-03 02:21:40

fast_rizwaan
Member
Registered: 2010-04-01
Posts: 65

Re: Gnome-Shell 3.1.90 - unable to compile because of missing dependencies

alexcriss wrote:
fast_rizwaan wrote:

jhbuild fails also


Last time I used it, it worked for me. What errors are you getting?

make[4]: Entering directory `/home/rizvan/gnome-shell/source/glib/gio'
  CCLD   gio-querymodules
  CCLD   glib-compile-schemas
  CCLD   gsettings
  CCLD   gdbus
make[4]: Leaving directory `/home/rizvan/gnome-shell/source/glib/gio'
Making all in fam
make[4]: Entering directory `/home/rizvan/gnome-shell/source/glib/gio/fam'
  CCLD   libgiofam.la
make[4]: Leaving directory `/home/rizvan/gnome-shell/source/glib/gio/fam'
Making all in tests
make[4]: Entering directory `/home/rizvan/gnome-shell/source/glib/gio/tests'
  GEN    gdbus-test-codegen-generated.c
Traceback (most recent call last):
  File "../../gio/gdbus-2.0/codegen/gdbus-codegen", line 41, in <module>
    sys.exit(codegen_main.codegen_main())
  File "/home/rizvan/gnome-shell/source/glib/gio/gdbus-2.0/codegen/codegen_main.py", line 171, in codegen_main
    parsed_ifaces = parser.parse_dbus_xml(xml_data)
  File "/home/rizvan/gnome-shell/source/glib/gio/gdbus-2.0/codegen/parser.py", line 289, in parse_dbus_xml
    parser = DBusXMLParser(xml_data)
  File "/home/rizvan/gnome-shell/source/glib/gio/gdbus-2.0/codegen/parser.py", line 57, in __init__
    self._parser.Parse(xml_data)
  File "/home/rizvan/gnome-shell/source/glib/gio/gdbus-2.0/codegen/parser.py", line 155, in handle_start_element
    if attrs.has_key('name') and self.doc_comment_last_symbol == attrs['name']:
AttributeError: 'dict' object has no attribute 'has_key'
make[4]: *** [gdbus-test-codegen-generated.c] Error 1
make[4]: Leaving directory `/home/rizvan/gnome-shell/source/glib/gio/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rizvan/gnome-shell/source/glib/gio'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rizvan/gnome-shell/source/glib/gio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rizvan/gnome-shell/source/glib'
make: *** [all] Error 2
*** Error during phase build of glib: ########## Error running make   *** [1/49]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice: 

my ~/.jhbuildrc

cat ~/.jhbuildrc
# -*- mode: python -*-
#
# jhbuildrc for building gnome-shell. Customizations shuld be done in
# ~/.jhbuildrc-custom
#
# Copyright (C) 2008 Red Hat, Inc.
#
# Some ideas and a bit of code taken from gtk-osx-build
#
# Copyright (C) 2006, 2007, 2008 Imendio AB
#
# Use .jhbuildrc-custom to override the moduleset, modules to build,
# the source checkout location, installation prefix, or svn usernames
# etc.
#
# JHBUILDRC_GNOME_SHELL - Do not edit this line (or anything else)

# Only rebuild modules that have changed
build_policy = 'updated'

moduleset = 'http://git.gnome.org/browse/gnome-shell/plain/tools/build/gnome-shell.modules'

modules = [ 'gnome-shell-using-gir-repository' ]
# Enable this one to use introspection built from the stack itself
# modules = [ 'gnome-shell-full' ]

# what directory should the source be checked out to?
checkoutroot = os.path.expanduser('~/gnome-shell/source')

# the prefix to configure/install modules to (must have write access)
prefix = os.path.expanduser('~/gnome-shell/install')

# Use system libraries for the builds
if use_lib64:
    _libdir = 'lib64'
else:
    _libdir = 'lib'
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', _libdir, 'pkgconfig'))
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))

# Look in /usr/share for icons, D-BUS service files, etc
addpath('XDG_DATA_DIRS', '/usr/share')
# Look in /etc/xdg for system-global autostart files
addpath('XDG_CONFIG_DIRS', '/etc/xdg')

#
# For Ubuntu Intrepid, libmozjs lives in /usr/lib/xulrunner-<version>
# However, that path isn't in ld.so.conf, meaning that it's basically
# impossible to use the xulrunner .pc files and libraries. Work around
# this by deriving the path and adding it to LD_LIBRARY_PATH ourself.
#
import re
import subprocess
_pkgconfig = subprocess.Popen(['pkg-config', '--variable=sdkdir', 'mozilla-js'],
                              stdout=subprocess.PIPE)
_sdkdir = _pkgconfig.communicate()[0].strip()
_pkgconfig.wait()
if _pkgconfig.returncode == 0:
    _libdir = re.sub('-(sdk|devel)', '', _sdkdir)
    if os.path.exists(_libdir + '/libmozjs.so'):
        addpath('LD_LIBRARY_PATH', _libdir)

# Import optional user RC for further customization. You can override
# the prefix or default build setup for example, or CFLAGS or
# module_autogenargs, etc.
#
_userrc = os.path.join(os.environ['HOME'], '.jhbuildrc-custom')
if os.path.exists(_userrc):
    execfile(_userrc)

Offline

#8 2011-09-03 11:20:18

alexcriss
Member
Registered: 2010-05-24
Posts: 121

Re: Gnome-Shell 3.1.90 - unable to compile because of missing dependencies

Wow, never seen it failing in glib. I had problems with Mutter and E-D-S, but never Glib.

Offline

Board footer

Powered by FluxBB