Re: Build problems on Python 2.5

Matthew Dixon Cowles <[email protected]> Wed, 20 Sep 2006 12:15:05 -0500 (CDT)
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
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

_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit