SUMMARY: Python 2.4.1 installation problem

From: Padiyath Sreekumaran (Kumar.Padiyath@psi.ch)
Date: Wed Apr 06 2005 - 01:41:25 EDT


   Hello,
   Many thanks for all the reply.After suggestions of the users who
installed
   this program, I added "-pthread" for CXX= also in the Makefile and
verything went
   well except the make test run.
      
  CC= cc -pthread
  CXX= c++ -pthread <--------

    During the "make test" run I got the following error with a core dump:
.
.
.
.
test_copy_reg
test_cpickle
test_crypt
test_csv
test_curses
test_curses skipped -- No module named _curses
test_datetime
test_dbm
*** Segmentation fault - core dumped

    At presesent I donot know whether that will effect the compilation of
other
    programs which I mentioned below. Many many thanks for the help.

    Thanks in advance,
     Kumar

 The Question was:
==================
> Hello,
> Iam trying to compile Python 2.4.1 on Tru64 OS version
> V5.1A. The C- Compiler version is
> $cc -V
>Compaq C V6.4-014 on Compaq Tru64 UNIX V5.1A (Rev. 1885) Compiler
>Driver V6.4-215 (sys) cc Driver
>
> C++ version is
>
> $cxx -V
>Compaq C++ V6.5-014 for Compaq Tru64 UNIX V5.1A (Rev. 1885) Compiler
>Driver V6.5-014 (cxx) cxx Driver
>
> The user wants to have following program installed on the machine.
> RasMol_2.7.2.1.1, ScientificPython-2.4.9, Numeric-23.8. Has any
> one installed the latest version of Python on Tru64? Can I use a
> previous version of Python program with the above mentioned SW? The
> error I get with the Python compilation is
>
> ar cr libpython2.4.a Modules/config.o Modules/getpath.o
>Modules/main.o Modules/gcmodule.o 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
> c++ -o python Modules/python.o libpython2.4.a -lrt -lm
>/usr/bin/ld:
>Unresolved:
>__pthread_self
>pthread_attr_setscope
>pthread_attr_init
>pthread_attr_destroy
>__pthread_create
>__pthread_detach
>collect2: ld returned 1 exit status
>*** Exit 1
>
>
------------------------------------------------------------------
Padiyath Sreekumar | Tel: +41.56.310.3643
Paul Scherrer Institut | email: kumar.padiyath@psi.ch
AIT | Office: WHGA/U132
WHGA/U132 | Fax: +41.56.310.3649
CH-5232 Villigen PSI |
Switzerland |
-----------------------------------------------------------------



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:17 EDT