[Metakit] Build problems on Python 2.5
Matthew Dixon Cowles
matt at mondoinfo.com
Wed Sep 20 13:15:05 CEST 2006
Dear Ralf,
> I've setup a mercurial repository with some patches needed to
> compile with python 2.5. take a look at
> http://systemexit.de/repo/metakit. You can download a tgz from this
> url: http://systemexit.de/repo/metakit?ca=tip;type=gz
Splendid! Thank you very much. I had done a bit of digging since I
sent the message, but two of the problems in PyView.cpp were proving
to be non-trivial, at least for me. You saved me a good deal of work.
> It seems you're using a mac.
Yes. As with the version from Equi4, the Makefile created
Mk4py.dylib. That doesn't work. It seems that it needs to be
Mk4py.so. I inelegantly hacked the Makefile to add the target:
Mk4py.so: $(PYOBJS) $(LOBJS) $(LINK_SPECIAL_FILES)
g++ -bundle -flat_namespace -undefined suppress -o $@ $(PYOBJS)
$(LINK_SPECIAL_FLAGS)
which did what I needed.
> Can you test building metakit using scons (with "cd metakit/python;
> scons; scons install"). scons can be found here: http://scons.org/
> The build should be simpler using scons (no need to configure;
> make; then python setup.py).
I'll gladly have a look at scons, but it may be just a bit before I
get to it.
Regards,
Matt
More information about the Metakit
mailing list