[Pythonmac-SIG] Building Python with X11 Tkinter
C. E. Ball
ceball at users.sf.net
Sun Dec 9 07:31:25 CET 2007
On Dec 8, 2007 8:40 AM, C. E. Ball <ceball at users.sf.net> wrote:
> I found the only way I could get Python to build using my own tcl and
> tk was by renaming OS X's Tk and Tcl framework directories so that
> they would not be found. Is there some alteration I can make to
> python's setup.py instead?
When building Python on linux, I pass
"LDFLAGS=-Wl,-rpath,/path/to/lib" to configure so that Python finds my
specific lib files (including the tcl and tk ones). On OS X I tried
"LDFLAGS=-rpath,/path/to/lib" but it doesn't seem to make any
difference (and I don't know what I'm doing).
More information about the Pythonmac-SIG