[pycrypto] Compile PyCrypto 2.6 on HP-UX 11.23 ia64 on HP C/aC++ compiler

Esmond Poynton esmond.poynton at gmail.com
Wed Feb 27 07:23:18 PST 2013

Hello all,

i am looking for some help/hints on compiling on version 2.6 on HPUX 11.23
using the HP C/aC++ compiler.

Compiler info
# B9007AA               C.11.23.16     HP C/aC++ Developer's Bundle
  B9007AA.ACXX.ACXX     C.06.25        HP aC++ Programming Language

Python Info

# python                2.7.3          python

Error message is below

root at greopc01:/tmp/pycrypto-2.6>python setup.py build
running build
running build_py
running build_ext
running build_configure
warning: GMP or MPIR library not found; Not building
building 'Crypto.Hash._MD2' extension
cc -Ae +Onolimit -I/usr/local/include -I/usr/local/include/ncurses
-I/usr/local/lib/hpux32/libffi-3.0.11/include +z -O3 -fomit-frame-pointer
-Isrc/ -I/usr/local/include/python2.7 -c src/MD2.c -o
cc: warning 901: unknown option: `-fomit-frame-pointer': use +help for
online documentation.
cc -Ae -b -s +Onoprocelim build/temp.hp-ux-B.11.23-ia64-2.7/src/MD2.o
-lpython2.7 -o build/lib.hp-ux-B.11.23-ia64-2.7/Crypto/Hash/_MD2.so
ld: Can't find library for -lpython2.7
Fatal error.
error: command 'cc' failed with exit status 1
root at greopc01:/tmp/pycrypto-2.6>

I am not sure how to resolve this error, if anyone is able to help with
some pointers or hints that would be great.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dlitz.net/pipermail/pycrypto/attachments/20130227/ec2640e5/attachment.html>

More information about the pycrypto mailing list