On Tue, Dec 03, 2002 at 09:35:37PM -0800, mikel evins wrote: > I've tried dowloading the prebuilt .dylib and other files from the > Metakit homepage. I've tried buildding them from source. I've tried > using them with the python 2.2.1 that ships with Jaguar, and > MachoPython, and a brand spanking new python 2.2.2 built from source. > > Nothing seems to work; invariably, nor matter where I put Mk4py.dylib > (under whatver name), Python complains on importing metakit.py that the > Module Mk4py does not exist or can't be loaded.
Right - the makefile is passing GNU libtool the wrong options on OS X. There are some other problems too if you use a framework build (--enable-framework) of Python, which you probably didn't run into. The framework stuff is necessary if you want to be able to use Tkinter or wxPython. The attached patch should fix the problems with Python, and permit both Python and Tcl interfaces to work with framework builds. You need to use the Fink version of GNU libtool (or manually apply Fink's patches to the corresponding libtool version). Let me know if you have any questions... BTW, if you run into the long long problem I did with Mk4py (affects all platforms, not just Mac OS X), let me know and I can send you some preliminary patches. Mk4py's treatment of Python ints/longs is broken, and I am currently working on a more thorough patch that correctly handles overflows. -- =Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> Pablo Research Group, Department of Computer Science and Medical Scholars Program, University of Illinois at Urbana-Champaign _______________________________________________ metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit
