[New-bugs-announce] [issue4076] Cannot build non-framework tkinter Python on Mac OS X.5

Dan OD report at bugs.python.org
Wed Oct 8 16:09:35 CEST 2008

New submission from Dan OD <djo35 at cam.ac.uk>:

On a Mac running OS X 10.5:
As per previous releases, I have set up _tkinter in Modules/Setup.dist 
with a unix X11 Tcl/Tk build variables. 
I then run ./configure && make

This builds _tkinter with (wrongly) the Mac Tcl framework (ie not X11)

building '_tkinter' extension
gcc-4.2 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -DWITH_APPINIT=1 -
I/System/Library/Frameworks/Tcl.framework/Headers -
s -I/System/Library/Frameworks/Tk.framework/Headers -
-I/usr/X11R6/include -I. -I/Users/djo35/src/Python-3.0rc1/./Include -I. 
-IInclude -I./Include -I/usr/local/include -I/Users/djo35/src/Python-
3.0rc1/Include -I/Users/djo35/src/Python-3.0rc1 -c 
/Users/djo35/src/Python-3.0rc1/Modules/_tkinter.c -o build/temp.macosx-
10.3-i386-3.0/Users/djo35/src/Python-3.0rc1/Modules/_tkinter.o -
framework Tk

I would like this to build a unix tkinter.so - is this possible? I can't 
find a reference in the 3k documentation. Thanks, Dan

components: Build
messages: 74528
nosy: indiedan
severity: normal
status: open
title: Cannot build non-framework tkinter Python on Mac OS X.5
type: behavior
versions: Python 3.0

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list