Skip to content

Instantly share code, notes, and snippets.

@xolox
Created June 15, 2013 23:19
Show Gist options
  • Save xolox/5789986 to your computer and use it in GitHub Desktop.
Save xolox/5789986 to your computer and use it in GitHub Desktop.
The pip accelerator now supports dependencies on Debian system packages :-)
2013-06-16 01:01:53 wheezy-vm INFO Building binary distribution of python-mcrypt (1.1) ..
2013-06-16 01:01:53 wheezy-vm ERROR Failed to build binary distribution of python-mcrypt! (version: 1.1)
2013-06-16 01:01:53 wheezy-vm INFO Build output (will probably provide a hint as to what went wrong):
running bdist_dumb
running build
running build_ext
building 'mcrypt' extension
creating build
creating build/temp.linux-i686-2.7
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DVERSION="1.1" -I/usr/include/python2.7 -c mcrypt.c -o build/temp.linux-i686-2.7/mcrypt.o
mcrypt.c:23:20: fatal error: mcrypt.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
2013-06-16 01:01:53 wheezy-vm INFO python-mcrypt: Checking for missing dependencies ..
2013-06-16 01:01:53 wheezy-vm INFO You seem to be missing 1 dependency: libmcrypt-dev
2013-06-16 01:01:53 wheezy-vm INFO I can install it for you with this command: sudo apt-get install --yes libmcrypt-dev
Do you want me to install this dependency? [y/N] y
2013-06-16 01:02:05 wheezy-vm INFO Got permission to install missing dependency.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libmcrypt4
Suggested packages:
mcrypt
The following NEW packages will be installed:
libmcrypt-dev libmcrypt4
0 upgraded, 2 newly installed, 0 to remove and 68 not upgraded.
Need to get 192 kB of archives.
After this operation, 618 kB of additional disk space will be used.
Get:1 http://ftp.nl.debian.org/debian/ wheezy/main libmcrypt4 i386 2.5.8-3.1 [76.5 kB]
Get:2 http://ftp.nl.debian.org/debian/ wheezy/main libmcrypt-dev i386 2.5.8-3.1 [116 kB]
Fetched 192 kB in 0s (234 kB/s)
Selecting previously unselected package libmcrypt4.
(Reading database ... 164171 files and directories currently installed.)
Unpacking libmcrypt4 (from .../libmcrypt4_2.5.8-3.1_i386.deb) ...
Selecting previously unselected package libmcrypt-dev.
Unpacking libmcrypt-dev (from .../libmcrypt-dev_2.5.8-3.1_i386.deb) ...
Processing triggers for man-db ...
Setting up libmcrypt4 (2.5.8-3.1) ...
Setting up libmcrypt-dev (2.5.8-3.1) ...
2013-06-16 01:02:13 wheezy-vm INFO Successfully installed 1 missing dependency.
2013-06-16 01:02:13 wheezy-vm INFO Building binary distribution of python-mcrypt (1.1) ..
2013-06-16 01:02:14 wheezy-vm INFO Copying binary distribution python-mcrypt-1.1.linux-i686.tar.gz to cache as python-mcrypt:1.1:py2.7.tar.gz.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment