Schnouki / bccc

buddycloud console client
9 stars 4 forks source link

Instructions don't work on Ubuntu 11.04 #1

Closed tkoski closed 12 years ago

tkoski commented 12 years ago

$ sudo apt-get install python3-setuptools [sudo] password for tkoski: Reading package lists... Done Building dependency tree
Reading state information... Done The following extra packages will be installed: libdb5.1 python3 python3-minimal python3-pkg-resources python3.2 python3.2-minimal Suggested packages: python3-doc python3-tk python3-profiler python3.2-doc python3.2-profiler The following NEW packages will be installed: libdb5.1 python3 python3-minimal python3-pkg-resources python3-setuptools python3.2 python3.2-minimal 0 upgraded, 7 newly installed, 0 to remove and 7 not upgraded. Need to get 6,818 kB of archives. After this operation, 24.8 MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://fr.archive.ubuntu.com/ubuntu/ natty/main libdb5.1 amd64 5.1.19-2ubuntu1 [702 kB] Get:2 http://fr.archive.ubuntu.com/ubuntu/ natty-updates/main python3.2-minimal amd64 3.2-1ubuntu1.1 [1,821 kB] Get:3 http://fr.archive.ubuntu.com/ubuntu/ natty-updates/main python3.2 amd64 3.2-1ubuntu1.1 [4,082 kB] Get:4 http://fr.archive.ubuntu.com/ubuntu/ natty/main python3-minimal all 3.2-1ubuntu1 [12.1 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu/ natty/main python3 all 3.2-1ubuntu1 [33.1 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu/ natty/main python3-pkg-resources all 0.6.15-1ubuntu1 [31.8 kB]
Get:7 http://fr.archive.ubuntu.com/ubuntu/ natty/main python3-setuptools all 0.6.15-1ubuntu1 [136 kB]
Fetched 6,818 kB in 10s (622 kB/s)
Selecting previously deselected package libdb5.1. (Reading database ... 264052 files and directories currently installed.) Unpacking libdb5.1 (from .../libdb5.1_5.1.19-2ubuntu1_amd64.deb) ... Selecting previously deselected package python3.2-minimal. Unpacking python3.2-minimal (from .../python3.2-minimal_3.2-1ubuntu1.1_amd64.deb) ... Selecting previously deselected package python3.2. Unpacking python3.2 (from .../python3.2_3.2-1ubuntu1.1_amd64.deb) ... Selecting previously deselected package python3-minimal. Unpacking python3-minimal (from .../python3-minimal_3.2-1ubuntu1_all.deb) ... Selecting previously deselected package python3. Unpacking python3 (from .../python3_3.2-1ubuntu1_all.deb) ... Selecting previously deselected package python3-pkg-resources. Unpacking python3-pkg-resources (from .../python3-pkg-resources_0.6.15-1ubuntu1_all.deb) ... Selecting previously deselected package python3-setuptools. Unpacking python3-setuptools (from .../python3-setuptools_0.6.15-1ubuntu1_all.deb) ... Processing triggers for man-db ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for python-support ... Setting up libdb5.1 (5.1.19-2ubuntu1) ... Setting up python3.2-minimal (3.2-1ubuntu1.1) ... Setting up python3.2 (3.2-1ubuntu1.1) ... Setting up python3-minimal (3.2-1ubuntu1) ... Setting up python3 (3.2-1ubuntu1) ... running python rtupdate hooks for python3.2... running python post-rtupdate hooks for python3.2... Setting up python3-pkg-resources (0.6.15-1ubuntu1) ... Setting up python3-setuptools (0.6.15-1ubuntu1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place

$ sudo easy_install3 urwid sleekxmpp python-dateutil dnspython3 Searching for urwid Reading http://pypi.python.org/simple/urwid/ Reading http://excess.org/urwid/ Best match: urwid 1.0.1 Downloading http://excess.org/urwid/urwid-1.0.1.tar.gz Processing urwid-1.0.1.tar.gz Running urwid-1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ch7l0a/urwid-1.0.1/egg-dist-tmp-gbgm95 source/str_util.c:25:20: fatal error: Python.h: No such file or directory compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1

Schnouki commented 12 years ago

Try installing python3-dev. (Ugh, Debian packages and all their -doc -dev -dbg...)

tkoski commented 12 years ago

$ sudo apt-get install python3-dev

saves the day :)