build 64bit python on Solaris

Jhy-Chun Wang wangjc101 at
Mon Sep 20 21:18:35 EDT 2004


I am tying to build a 64bit python 2.3.3 on Solaris, but getting the 
following error:

PYTHONPATH=/import/archperf/local/Python-2.3.3-64bit/lib/python2.3   \
         ./python -Wi -tt 
/import/archperf/local/Python-2.3.3-64bit/lib/python2.3/ \
         -d /import/archperf/local/Python-2.3.3-64bit/lib/python2.3 -f \
         -x 'badsyntax|site-packages' 
*** Error code 139
make: Fatal error: Command failed for target `libinstall'

<bash>ephyra::Python-2.3.3-64bit/$ dbx python
(dbx) run 

Running: python
(process id 18798)
t at 1 (l at 1) signal SEGV (no mapping at the fault address) in PyObject_Free 
at 0x10005c61c
0x000000010005c61c: PyObject_Free+0x002c:       ld      [%l6 + 0x20], %l3
(dbx) where
current thread: t at 1
=>[1] PyObject_Free(0x10030a150, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x10005c61c
   [2] string_dealloc(0x10030a150, 0x10030a150, 0x0, 0x100348ff0, 
0x493ee09995c1253e, 0x10030a030), at 0x10005e9c8
   [3] PyString_InternInPlace(0xffffffff7fffed98, 0x0, 0x0, 0x0, 
0x10030a030, 0x10030a150), at 0x100068548
   [4] PyString_InternFromString(0x1002d4478, 0x0, 0x0, 0x0, 0x0, 
0x10030a120), at 0x10006873c
   [5] init_slotdefs(0x0, 0x0, 0x0, 0x0, 0x0, 0x1002a6c08), at 0x10007d290
   [6] add_operators(0x1002a65d0, 0x0, 0x0, 0x100348ed0, 0x100348ed0, 
0x100348ed0), at 0x10007d7a4
   [7] PyType_Ready(0x1002a65d0, 0x0, 0x0, 0x100309050, 0x0, 0x0), at 
   [8] PyType_Ready(0x1002a6458, 0x0, 0x0, 0x0, 0x0, 0x1002a65d0), at 
   [9] _Py_ReadyTypes(0x0, 0xffffffff7ffff868, 0x0, 0x0, 0x1, 0x0), at 
   [10] Py_Initialize(0x100308df0, 0x0, 0x1002d0d58, 0xffffffff7de0d270, 
0x100306d80, 0x1), at 0x1000d48f8
   [11] Py_Main(0x1, 0xffffffff7ffff5d8, 0x1, 0x0, 0x0, 0x0), at 
   [12] main(0x1, 0xffffffff7ffff5d8, 0xffffffff7ffff5e8, 0x0, 0x0, 
0x100000000), at 0x100021d38

Any idea what went wrong? what configuration/compiler options should I 
use to build a 64bit python on Solaris?

Any help is very appreciated.

Jhychun Wang

More information about the Python-list mailing list