|
From: Christopher B. <Chr...@no...> - 2006-02-24 22:33:36
|
Samuel M. Smith wrote: > MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the > wx.Bitmap yes, if you are running OS-X 10.4. OS-X 10.4 comes with a version of wxPython pre-installed. It's an older version that you probably don't want to use, plus it's installed for python 2.3.5 However, when you need to build wx code (which the wxagg back-end does), you can use the wx-config utility to find out what libs to link etc. Apple has installed a wx-config into /usr/bin/wx-config that points to their install of wx. You need to make sure MPL uses the wx-config that came with the version of wxPython you installed instead. I think it's in /usr/local/lib/wxPython-Something-or-other/bin/wxconfig There is an environment variable you can set to tell MPL's setup.py where to look for it. It escapes me for the moment what it's called, but poke around setup.py and friends and you'll find it. When you've got this all working, it would be great if you could contribute a binary mpkg to pythonmac.org. How did you link libpng and libfreetype? Statically I hope, so that a binary would be useful to everyone. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |