Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Installing Pycrypto on DUO - Sparc
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-10-25
04:21 AM
2012-10-25
04:21 AM
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?
Message 1 of 3
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-17
03:12 PM
2012-11-17
03:12 PM
Re: Installing Pycrypto on DUO - Sparc
Hi 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.
Change the OPT line as follows:
HTH,
Greg
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
Message 2 of 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-19
12:00 PM
2012-11-19
12:00 PM
Re: Installing Pycrypto on DUO - Sparc
Hi Greg,
thx 4 your reply but i will sell the duo,
cause of the very poor performance of it.
Synology is on the way 😉
thx 4 your reply but i will sell the duo,
cause of the very poor performance of it.
Synology is on the way 😉
Message 3 of 3