Compiling Python 2.4.1 on HP-UX

danricofer_at_gmail.com
Date: 05/13/05


Date: 13 May 2005 12:27:48 -0700

I have a "HP-UX B.11.11" I'm trying to compile Python 2.4.1, I have an
error while building the package, seems like something about linking
packages:

ar cr libpython2.4.a Modules/threadmodule.o Modules/signalmodule.o
Modules/posixmodule.o Modules/errnomodule.o Modules/_sre.o
Modules/_codecsmodule.o Modules/zipimport.o Modules/symtablemodule.o
Modules/xxsubtype.o
ranlib libpython2.4.a
gcc -pthread -Wl,-E -Wl,+s -o python \
Modules/python.o \
libpython2.4.a -lnsl -lrt -ldld -lm
/usr/ccs/bin/ld: Unsatisfied symbols:
PyThread_acquire_lock (first referenced in libpython2.4.a(import.o))
(code)
PyThread_exit_thread (first referenced in
libpython2.4.a(threadmodule.o)) (code)
PyThread_allocate_lock (first referenced in libpython2.4.a(import.o))
(code)
PyThread_free_lock (first referenced in libpython2.4.a(threadmodule.o))
(code)
PyThread_start_new_thread (first referenced in
libpython2.4.a(threadmodule.o)) (code)
PyThread_release_lock (first referenced in libpython2.4.a(import.o))
(code)
PyThread_get_thread_ident (first referenced in
libpython2.4.a(import.o)) (code)
PyThread__init_thread (first referenced in libpython2.4.a(thread.o))
(code)
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
#

I've downloaded python 2.3.3 from http://hpux.connect.org.uk/ and but
couldn't compiled with success. Any tip or tric?

Thanx in advance!



Relevant Pages

  • Compiling Python 2.4.1 on HP-UX
    ... I have a "HP-UX B.11.11" I'm trying to compile Python 2.4.1, ... error while building the package, seems like something about linking ... *** Error exit code 1 ...
    (comp.sys.hp.hpux)
  • Compiling Python 2.4.1 on HP-UX
    ... I have a "HP-UX B.11.11" I'm trying to compile Python 2.4.1, ... error while building the package, seems like something about linking ... *** Error exit code 1 ...
    (comp.sys.hp.hpux)
  • Re: Adding GNUsTicker
    ... checking for headers required to compile python extensions... ... I guess I should use a distro that comes with all this by default, like Debian? ... Would you know by any chance which package would satisfy ...
    (Debian-User)