[Python-bugs-list] [ python-Bugs-704919 ] Problems building python with tkinter on HPUX...

SourceForge.net noreply@sourceforge.net
Tue, 18 Mar 2003 16:48:02 -0800


Bugs item #704919, was opened at 2003-03-17 06:09
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=704919&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jayce Piel (jayce)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problems building python with tkinter on HPUX...

Initial Comment:
I have some problems when trying to install python on a
HPUX 10.20 system.
All seems to go well during the compiling and during
the installation process, but when I try to use tkinter
in my new python with an "import _tkinter", i have the
following lines :
Python 2.2.2 (#2, Mar 17 2003, 04:36:02)
[GCC 2.95.2 19991024 (release)] on hp-ux10
Type "help", "copyright", "credits" or "license" for
more information.
>>> import _tkinter
/usr/lib/dld.sl: Unresolved symbol: acos (code)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved symbol: asin (code)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved symbol: atan (code)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved symbol: cosh (code)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved symbol: log10 (code)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved symbol: sinh (code)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved symbol: tan (code)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved symbol: tanh (code)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved module for symbol:
tclTraceExec (data)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved module for symbol:
tclProcBodyType (data)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved module for symbol:
tclFreeObjList (data)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved module for symbol:
tclExecutableName (data)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
/usr/lib/dld.sl: Unresolved module for symbol:
Tcl_FindExecutable (code)  from
/usr/local/lib/python2.2/lib-dynload/_tkinter.sl
zsh: abort (core dumped)  python

I have a python1.5/tkinter that works with tcl/tk 8.0p2...
When trying to compile with this version of tcl/tk, i
had errors with the tkinter module compilation.
Then, I tried to compile a tcl/tk 8.4.2, or even use a
binary-package of a tcl/tk 8.2.1, but in both cases I
have the above errors when running...




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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-03-18 19:48

Message:
Logged In: YES 
user_id=33168

The problem appears to be that -lm (ie the math library)
needs to be linked, but is not.  I do not have access to a
10.20 machine.  It also looks like the tcl library may not
be found.  Perhaps there's a library search problem?  Jayce,
if you could produce a patch that works for you, I can check
in a fix.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=704919&group_id=5470