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 Py...
readynasrocks
Nov 17, 2012Aspirant
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
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!