Skip to content

Doesn't install on Ubuntu #3

@bontchev

Description

@bontchev

I need this, because keyring depends on it, but I am unable to install it on my Ubuntu machine. The command

sudo apt-get build-dep python-dbus

fails with the error message

Picking 'dbus-python' as source package instead of 'python-dbus'
E: Unable to find a source package for dbus-python

The command

sudo -H pip install -U git+https://github.com/posborne/dbus-python.git

also fails. Here is what it produces:

Collecting git+https://github.com/posborne/dbus-python.git
  Cloning https://github.com/posborne/dbus-python.git to /tmp/pip-NRc4in-build
Installing collected packages: dbus-python
  Running setup.py install for dbus-python ... error
    Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-NRc4in-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-bz7mvZ-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/dbus
    copying dbus/_expat_introspect_parser.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/server.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/service.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/exceptions.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/types.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/proxies.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/_dbus.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/glib.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/connection.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/lowlevel.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/bus.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/decorators.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/gi_service.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/__init__.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/_compat.py -> build/lib.linux-x86_64-2.7/dbus
    copying dbus/gobject_service.py -> build/lib.linux-x86_64-2.7/dbus
    creating build/lib.linux-x86_64-2.7/dbus/mainloop
    copying dbus/mainloop/glib.py -> build/lib.linux-x86_64-2.7/dbus/mainloop
    copying dbus/mainloop/__init__.py -> build/lib.linux-x86_64-2.7/dbus/mainloop
    running build_ext
    /tmp/pip-NRc4in-build/autogen.sh
    I am going to run ./configure with no arguments - if you wish
    to pass any to it, please specify them on the /tmp/pip-NRc4in-build/autogen.sh command line.
    Running autoreconf -f -i...
    configure.ac:52: error: possibly undefined macro: AC_DISABLE_STATIC
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure.ac:59: error: possibly undefined macro: AC_PROG_LIBTOOL
    autoreconf: /usr/bin/autoconf failed with exit status: 1
    configure: WARNING: unrecognized options: --enable-maintainer-mode
    configure: creating cache config.cache
    checking whether make supports nested variables... yes
    configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

    Now run 'make' to compile dbus-python.
    make -C /tmp/pip-NRc4in-build
    make: Entering directory `/tmp/pip-NRc4in-build'
    make: *** No targets specified and no makefile found.  Stop.
    make: Leaving directory `/tmp/pip-NRc4in-build'
    error: command 'make' failed with exit status 2

    ----------------------------------------
Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-NRc4in-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-bz7mvZ-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-NRc4in-build/

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions