Unable to get Tkinter menubar to appear under OS X

2009-06-24 Thread Eric Winter
Hi all. I've googled this issue several times and come up dry. Here's
the situation:

I have a X-windows build of Tkinter for Python built on an OS X
machine (10.4 or 10.5, same issue). This is not the Aqua version of
Tk, but Tk built from source using X-Window support. I also use a from-
source build of Python, not the system Python. I don't like this
arrangement, but project requirements (allegedly) dictate this
approach.

When I run any application using that copy of Tkinter and that copy of
Python, everything seems to work fine except menus - the code which
creates the menus runs, but no menus appear, either in the window or
at the top of the screen.

Am I required to use the Aqua version of Tk on OS X? If not, do I need
to do something special on OS X when I built Tk and/or Python? Any
hints here would be greatly appreciated.

Thanks,
Eric Winter
Fermi Science Support Center
NASA Goddard Space Flight Center
-- 
http://mail.python.org/mailman/listinfo/python-list


Unable to build libpython2.5.so on OS X 10.4

2009-05-07 Thread Eric Winter
Hi all. I'm trying to build some internal code that needs to link
against libpython2.5.so on a OS X 10.4 (Tiger) machine. It seems that
no matter what combination of options and environment variables I give
to the configure script from python 2.5.1, all I get is the
libpython2.5.a (the static library). I've googled the problem and
searched the comp.lang.python archives, but I have been unable to find
anything that works.

Is there some special magic I have to invoke to do this? I've not done
any Mac development, so there may be some obvious point I am missing.
The Python README file and configure script comments are not getting
me very far.

TIA,
Eric Winter
NASA GSFC
Fermi Gamma-Ray Space Telescope Science Support Center
--
http://mail.python.org/mailman/listinfo/python-list