[wxPython] [HPUX 10.20] Problem Building wxPython

I've been tring to build wxPython under HPUX10.20 but some problem occured.

When I run "build -b" in the "....../wxPython/src" directory, I saw
following message...

···

------------------------------------------

c++ -b helpers.o libpy.o -L/download/wxPython/src `wx-config --libs` -o
libwxPyHelpers.2.2.sl.1.0.0
/usr/ccs/bin/ld: Unsatisfied symbols:
   PyObject_GetAttrString (code)
   PyString_Type (data)
   PyExc_NameError (data)
   PyType_Type (data)
   PyErr_SetString (code)
   PyString_FromString (code)
   PyString_AsString (code)
   PyInstance_Type (data)
   main
collect2: ld returned 1 exit status
make: *** [libwxPyHelpers.2.2.sl.1.0.0] Error 1

------------------------------------------

It seems my machine can't find proper library link, or there is not enough
library installed,

Would anyone tell me what I am missing?

- Hong.

platform : HPUX 10.20
Installed utility : gcc 2.95 ( depot )
                    python 1.5.2 ( source compile )
                       tcl 8.3.0 ( source compile )
                       tk 8.3.0 ( source compile )
                       DCOracle 1.3.0 ( source compile )
                       glib 1.2.6 ( depot )
                       gtk+ 1.2.6 ( depot )
                       wxGTK-2.2.1 ( source compile )
                       wxWindows 2.2.1 ( source compile )

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

/usr/ccs/bin/ld: Unsatisfied symbols:
   PyObject_GetAttrString (code)
   PyString_Type (data)
   PyExc_NameError (data)
   PyType_Type (data)
   PyErr_SetString (code)
   PyString_FromString (code)
   PyString_AsString (code)
   PyInstance_Type (data)
   main

These symbols are from Python, and are present in the Python executable. On
Linux and Solaris (at least) these symbols are bound when the shared library
is loaded by the python process and so they are not required at link time.
Perhaps there is a flag needed on HP to specify this behaviour, or perhaps
the way the link is being performed it is trying to make an executable
instead of a shared library.

If you can figure out what flags are needed for the link command let me know
and I'll fix the build script.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxPython.org Java give you jitters?
http://wxPROs.com Relax with wxPython!

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users