Wie installiert man OpenSSL für Python 2.7?

Status
Für weitere Antworten geschlossen.

EftyEdge

Benutzer
Mitglied seit
10. Nov 2012
Beiträge
14
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen.

Ich habe auf meiner DS413 mit dem neusten DSM 4.1 Python 2.7 installiert. Dabei bin ich wie folgt vorgegangen.
Rich (BBCode):
- 'ipkg install python27' installiert Python 2.7 inkl. aller Abhängigkeiten
- 'ln -s /opt/bin/python2.7 /usr/bin/python' erstellt eine Verknüpfung
- 'ipkg install py27-setuptools' installiert Python 2.7 Tools

Jetzt versuche ich OpenSSL zu installieren. Leider finde ich im Netz dazu nur eine Anleitung die 'pip' voraussetzt. pip habe ich dann auch mit folgendem Befehl installiert
Rich (BBCode):
- 'curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python' installiert PIP

und danach ohne Probleme Cheetah für Python 2.7 installiert. Es läuft einwandfrei!
Rich (BBCode):
'/opt/local/bin/pip-2.7 install Cheetah' installiert Cheetah

Versuche ich aber wie folgt OpenSSL zu installieren
Rich (BBCode):
'/opt/local/bin/pip-2.7 install pyopenssl' installiert OpenSSL

dann erhalte ich folgende Fehlermeldung.
Rich (BBCode):
Downloading/unpacking pyOpenSSL
  Downloading pyOpenSSL-0.13.tar.gz (250kB): 250kB downloaded
  Running setup.py egg_info for package pyOpenSSL
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Installing collected packages: pyOpenSSL
  Running setup.py install for pyOpenSSL
    building 'OpenSSL.crypto' extension
    /opt/bin/gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/include/python2.7 -c OpenSSL/crypto/crypto.c -o build/temp.linux-ppc-2.7/OpenSSL/crypto/crypto.o
    unable to execute /opt/bin/gcc: No such file or directory
    error: command '/opt/bin/gcc' failed with exit status 1
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build/pyOpenSSL/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-juPDQp-record/install-record.txt --single-version-externally-managed:
    running install

running build

running build_py

creating build

creating build/lib.linux-ppc-2.7

creating build/lib.linux-ppc-2.7/OpenSSL

copying OpenSSL/__init__.py -> build/lib.linux-ppc-2.7/OpenSSL

copying OpenSSL/tsafe.py -> build/lib.linux-ppc-2.7/OpenSSL

copying OpenSSL/version.py -> build/lib.linux-ppc-2.7/OpenSSL

creating build/lib.linux-ppc-2.7/OpenSSL/test

copying OpenSSL/test/__init__.py -> build/lib.linux-ppc-2.7/OpenSSL/test

copying OpenSSL/test/util.py -> build/lib.linux-ppc-2.7/OpenSSL/test

copying OpenSSL/test/test_crypto.py -> build/lib.linux-ppc-2.7/OpenSSL/test

copying OpenSSL/test/test_rand.py -> build/lib.linux-ppc-2.7/OpenSSL/test

copying OpenSSL/test/test_ssl.py -> build/lib.linux-ppc-2.7/OpenSSL/test

running build_ext

building 'OpenSSL.crypto' extension

creating build/temp.linux-ppc-2.7

creating build/temp.linux-ppc-2.7/OpenSSL

creating build/temp.linux-ppc-2.7/OpenSSL/crypto

/opt/bin/gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/include/python2.7 -c OpenSSL/crypto/crypto.c -o build/temp.linux-ppc-2.7/OpenSSL/crypto/crypto.o

unable to execute /opt/bin/gcc: No such file or directory

error: command '/opt/bin/gcc' failed with exit status 1

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build/pyOpenSSL/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-juPDQp-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build/pyOpenSSL
Storing complete log in /root/.pip/pip.log

Kann mir bitte jemand von euch einen Tipp geben. Ich benötige OpenSSL für die Nutzung von SABnzbd unter Python 2.7.

Danke
Efty
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat 

 
 
  AdBlocker gefunden!

Du bist nicht hier, um Support für Adblocker zu erhalten. Dein Adblocker funktioniert bereits ;-)

Klar machen Adblocker einen guten Job, aber sie blockieren auch nützliche Funktionen.

Das Forum wird mit hohem technischen, zeitlichen und finanziellen Aufwand kostenfrei zur Verfügung gestellt. Wir zeigen keine offensive Werbung und bemühen uns um eine dezente Integration.

Bitte unterstütze dieses Forum, in dem du deinen Adblocker für diese Seite deaktivierst.

Du kannst uns auch über unseren Kaffeautomat einen Kaffe ausgeben oder ein PUR Abo abschließen und das Forum so werbefrei nutzen.

Vielen Dank für Deine Unterstützung!