NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Hyperbit
Oct 25, 2012Aspirant
Installing Pycrypto on DUO - Sparc
Hello Guys,
I Want to Use Pyload with DLC - Container Encryption function.
I Buy'd the following Packages from ReadyNasXtras.com:
Pyload 0.49
Python 2.7
But in this Python Version is the Pycrypto Extension mission (PyLoad need it)
How can i Install Pycrypto?
I Tried allready
Super Poussin said
is gcc installed ?
if yes try this : apt-get install python-dev
and i get this :
Can Somebody Help me?
I Want to Use Pyload with DLC - Container Encryption function.
I Buy'd the following Packages from ReadyNasXtras.com:
Pyload 0.49
Python 2.7
But in this Python Version is the Pycrypto Extension mission (PyLoad need it)
How can i Install Pycrypto?
I Tried allready
datengrab:~# easy_install http://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.tar.gz#md5=88dad0a270d1fe83a39e0467a66a22bb
Downloading http://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.tar.gz#md5=88dad0a270d1fe83a39e0467a66a22bb
Processing pycrypto-2.6.tar.gz
Running pycrypto-2.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-0I1LSx/pycrypto-2.6/egg-dist-tmp-Q1Yp98
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
unable to execute cc: No such file or directory
error: Setup script exited with error: command 'cc' failed with exit status 1
datengrab:~#
Super Poussin said
is gcc installed ?
if yes try this : apt-get install python-dev
and i get this :
datengrab:~# apt-get install python-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python-dev: Depends: python (< 2.4) but 2.7.3~rc2-1.1rnx2 is to be installed
E: Broken packages
Can Somebody Help me?
2 Replies
Replies have been turned off for this discussion
- readynasrocksAspirantHi Hyperbit,
In case you still have the issue, I was running into the exact same problem and just got around it. I too just purchased the Python from readynasxtras.
I'm on the NV+, and was actually trying to install duplicity. But I was getting the exact same cc error so I think this will work for you.
First I linked cc to gcc. Same result as you. Then I removed the -fwrapv option in python config, but then it started complaining about missing Python.h. Downloaded the same version of python and added that include directory to the include path and viola...
Here's the condensed version of the commands to reproduce. Hope I didn't miss anything.ln /usr/bin/gcc /usr/bin/cc
mkdir /root/src
cd /root/src
wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz --no-check-certificate
tar xvzf http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
vi /usr/lib/python2.7/config/Makefile
Change the OPT line as follows:# Compiler options
#OPT= -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes
OPT= -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -I /root/src/Python-2.7.3/Include
HTH,
Greg - HyperbitAspirantHi Greg,
thx 4 your reply but i will sell the duo,
cause of the very poor performance of it.
Synology is on the way ;)
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!