Help improve the builds of Metakit

Jean-Claude Wippler <[email protected]> Sun, 24 Jun 2007 17:05:51 +0200
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
I've just checked in a change to unix/Makefile.in which tries to  
address this bug tracker issue:
	http://www.equi4.com/fff/152
Am not sure at all this is the right way to do things - I added $ 
(LDFLAGS) in a few places, but notice that $(SHLIB_FLAGS) still isn't  
being used at all in the makefile.  Frankly: I'm a bit lost between  
what the various LDFLAGS, SHLIB_FLAGS, and LINK_SPECIAL_FLAGS values  
are supposed to be doing.  Why isn't there simply one flag for static  
linkage and one for dynamic linkage - or is that what this is and I  
just missing the point?

Anyway, please test with cygwin if you have access to that.

There are more issues with the Metakit build system, which is a bit  
odd given that this is "merely" a simple C++ distribution with no  
external dependencies other than Python and Tcl in the case of the  
Mk4py and Mk4tcl extensions.

As I see it, the only requirements here are to be able to build 6  
variants of this code: C++ / Python / Tcl, in static and dynamic  
library variants.  In the case of Python, there is a (big!) distutils  
file in python/setup.py, in the case of Tcl there is a TEA3 file in  
tcl/configure.in + tcl/Makefile.in - so all the pieces are there to  
make this work.  Producing universal builds out of the box on Mac OS  
X would be nice, for example.

And then there are the test suites, for C++, Python, and Tcl - not  
all equally effective right now, to put it mildly (I've become much  
more test-driven lately, so there is still hope...).

Unfortunately, this well-known quote seems to apply here:

	"Perfection is reached, not when there is no longer anything to
	add, but when there is no longer anything to take away."
		-- Antoine de Saint-Exupery

If you'd like to help improve the Metakit build, let me know.  I can  
work on the Tcl side of things, but have less confidence in my  
ability to improve the autoconf C++ and Python distutils builds.   
More importantly, to move forward this really needs to be a  
collaborative effort because of the testing on a range of platforms  
involved.

It may all seem a bit late in the game, but I can assure you that  
just because MK doesn't change does not mean it isn't being used...

-jcw



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---