O.k. dann versuche ich meinen vorigen Beitrag nochmals zu rekonstruieren:
Top 1:
Die Suche nach "Tkinter*" hat folgendes Ergebnis
gebracht:
Code: Alles auswählen
[gcadc30:ci10ba10] /users/gcadc30/rp1ls4 : find . -name "Tkinter*" -print
./PYTHON/lib/python2.2/lib-tk/Tkinter.py
./PYTHON/lib/python2.2/lib-tk/Tkinter.pyc
./PYTHON/lib/python2.2/lib-tk/Tkinter.pyo
./projekt/python/Python-2.2.2/Lib/lib-tk/Tkinter.py
wobei die letzte Zeile das Verzeichnis ist in das ich python entpackt habe. PYTHON ist das Installationsvz., hier hatte ich eigentlich PYTHON/AIX angegeben. Dies Vz existiert auch enthält ebenfalls ein lib-Vz mit einem weitern Vz namens python2.2. was wiederum nur 2 weiter Vzs (config und lib-dynload) enthält.
Top 2:
Die Suche nache "_tkinter*" brachte folgendes zu Tage:
Code: Alles auswählen
[gcadc30:ci10ba10] /users/gcadc30/rp1ls4 : find . -name "_tkinter*" -print
./projekt/python/Python-2.2.2/Modules/_tkinter.c
./projekt/python/Python-2.2.2/PC/os2vacpp/_tkinter.def
./projekt/python/Python-2.2.2/PCbuild/_tkinter.dsp
jedoch ist dies nicht mein Installationsvz, sondern nur wie bereits i.d. letzten Zeile oben, das Vz. in das python entpackt wurde (...projekt/python)
Ist es bei Euren Installationen genauso, dass die
_tkinter nicht im Installationsvz liegt und dazu nur als ".c" (o.ä.)?
@Hans: bzgl. der Configdateien hast du mich wahrscheinlich falsch verstanden. Du hast wohl Recht wenn du meinst dass Python keine hat. Ich meinte jedoch die "Setup.dist" (hat man evtl. nur, wenn man Python direkt vom Sourcecode über die Befehle configure, make und make install installiert) Aufgrund dieser Datei wird Python - je nach zugrunde liegendem OS einmalig zu Beginn - konfiguriert. Aufgrund dieser Daten wird dann mit
make ein "install-file" erzeugt (sourecode compiliert) und anschließend erfolg erst die eigentliche Installation (soweit ich das richtig verstanden habe).
Top 3:
O.k., dass war nun mein voriger Beitrag gleich mit Antwort. Wenn ich aber nun schon dabei bin, dann aber auch gleich der Auszug aus der "Setup.dist" bzgl. Tkinter:
sie befindet sich (wenn man den sourcecode entpackt) in dem Verzeichnis "Modules":
Code: Alles auswählen
...
# Path component for the Tkinter-related modules
# The TKPATH variable is always enabled, to save you the effort.
TKPATH=:lib-tk
...
# The _tkinter module.
#
# The command for _tkinter is long and site specific. Please
# uncomment and/or edit those parts as indicated. If you don't have a
# specific extension (e.g. Tix or BLT), leave the corresponding line
# commented out. (Leave the trailing backslashes in! If you
# experience strange errors, you may want to join all uncommented
# lines and remove the backslashes -- the backslash interpretation is
# done by the shell's "read" command and it may not be implemented on
# every system.
# *** Always uncomment this (leave the leading underscore in!):
# _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
# *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
# -L/usr/local/lib \
# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
# -I/usr/local/include \
# *** Uncomment and edit to reflect where your X11 header files are:
# -I/usr/X11R6/include \
# *** Or uncomment this for Solaris:
# -I/usr/openwin/include \
# *** Uncomment and edit for Tix extension only:
# -DWITH_TIX -ltix8.1.8.2 \
# *** Uncomment and edit for BLT extension only:
# -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \
# *** Uncomment and edit for PIL (TkImaging) extension only:
# (See http://www.pythonware.com/products/pil/ for more info)
# -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
# *** Uncomment and edit for TOGL extension only:
# -DWITH_TOGL togl.c \
# *** Uncomment and edit to reflect your Tcl/Tk versions:
# -ltk8.2 -ltcl8.2 \
# *** Uncomment and edit to reflect where your X11 libraries are:
# -L/usr/X11R6/lib \
# *** Or uncomment this for Solaris:
# -L/usr/openwin/lib \
# *** Uncomment these for TOGL extension only:
# -lGL -lGLU -lXext -lXmu \
# *** Uncomment for AIX:
# -lld \
# *** Always uncomment this; X11 libraries to link with:
# -lX11
...
Das wäre soweit schon alles relevante gewesen.
Was meint ihr?
Bin über jeden Tipp/Hilfe dankbar.