I put a symbolic link from /usr/lib (which I didn't have) to /sw/lib (which has Tk). The compile ran with out having the error below, and appeared to be building and linking Tk resources without a problem - but when I call Tk from within python I still get:

Traceback (most recent call last):
File "<string>", line 1, in ?
File "/sw/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: Failure linking new module



I'm lost. Any additional help would be appreciated.

thanks,

Jim Nettles


On Jun 6, 2004, at 5:36 PM, Martin Costabel wrote:

nettles wrote:
[]
ld: warning -L: directory name (/usr/local/lib) does not exist
Clearly it needs to be looking in /sw/lib, but I haven't yet found where this is being set. Can anyone give me some help on this?

As a short-term workaround, you could create a directory /usr/local/lib if you don't have one. I don't know why python22 puts this directory on the link line, but I see this in my log file, too. Looks like a bug.


--
Martin



------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to