Closed prabakar2610 closed 8 years ago
Hi Prabakar. This is a CPython extension and requires build tools such as gcc. Also please look at the dependencies for CentOS.
Understood. I could see the installation checks for 3 files, if it could check for dependencies too then it can quit the installation process reporting the missing dependencies. This will help the user if they face any issue during installation.
Agreed. Internally this is JIRA issue CLIENT-393.
I tried install Aerospike Python client in CentOS and it failed with the below error. I did google for the error and could not find one for RHEL family. It would be great if someone can help me with the installation.
[prabakar@pkr22 ~]$ python -V Python 2.6.6 [prabakar@pkr22 ~]$ cat /etc/redhat-release CentOS release 6.7 (Final) [prabakar@pkr22 ~]$
[prabakar@pkr22 ~]$ sudo pip install aerospike Collecting aerospike Using cached aerospike-1.0.56.tar.gz Installing collected packages: aerospike Running setup.py install for aerospike Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-Wml0Sc/aerospike/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-_nEAp7-record/install-record.txt --single-version-externally-managed --compile: info: downloading 'http://www.aerospike.com/download/client/c/3.1.24/artifact/el6' to '/tmp/pip-build-Wml0Sc/aerospike/aerospike-client-c/package/aerospike-client-c.tgz' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 18.1M 100 18.1M 0 0 30793 0 0:10:17 0:10:17 --:--:-- 29511 info: extracting 'aerospike-client-c-3.1.24.el6.x86_64/aerospike-client-c-devel-3.1.24-1.el6.x86_64.rpm' from 'aerospike-client-c.tgz' info: extracting files from 'aerospike-client-c-3.1.24.el6.x86_64/aerospike-client-c-devel-3.1.24-1.el6.x86_64.rpm' 13378 blocks
Command "/usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-Wml0Sc/aerospike/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-_nEAp7-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Wml0Sc/aerospike [prabakar@pkr22 ~]$