milan_sanremo wrote:
> Under Solaris 10 I installed tcl 8.5 and tk8.5 and they work just fine.
>  I built both with
> ./configure -prefix /usr/local/python/lib
>
> I then set LD_RUN_PATH to /usr/local/python/lib and ran the ./configure
> for Python 2.5 with no arguments.  When I run make, it states:
>
> INFO: Can't locate Tcl/Tk libs and/or headers
> running build_scripts
>
> I verified that the libraries are in /usr/local/python/lib.  If I run
> /usr/local/python/bin/wish8.5 it works.
>
> My path incudes /usr/local/python/bin:/usr/local/python/lib.
>
> How do I get Python to recognize Tcl/Tk for the build?

I went back and rebuilt everything with the defaults.  the tcl and tk
libs were written to /usr/local/lib.

Running python with the default settings does not find it.  Changing
Modules/Setup TKLIB=/usr/local/lib still produces the error:

cc -shared
build/temp.solaris-2.10-i86pc-2.5/tmp/Python-2.5/Modules/_tkinter.o
build/temp.solaris-2.10-i86pc-2.5/tmp/Python-2.5/Modules/tkappinit.o
-L/usr/openwin/lib -L/usr/local/lib -ltk8.5 -ltcl8.5 -lX11 -o
build/lib.solaris-2.10-i86pc-2.5/_tkinter.so

** WARNING: renaming "_tkinter" since importing it failed: ld.so.1:
python: fatal: libtk8.5.so: open failed: No such file or directory
running build_scripts

Yet, the file exists in /usr/local/lib.  What am I missing?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to