Thadeus Burgess | 31 Mar 18:41
Picon

Compiling for python-windows

Is there anyone who could help get a version of metakit with python on windows?

I attempted to use the pre-compiled version from the site which does not work. (Spits out a "module Mk4py not found").

Could either a pre-compiled python version working or a step-by-step guide to get a version compiled.

Thanks for your help and time


--
Thadeus


--
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
Thadeus Burgess | 7 Sep 18:10
Picon

Re: Compiling for python-windows

Here is the solution...

Windows
~~~~~~~

Install MinGW for your version of windows (32 bit or 64 bit version)

Download ``metakit <http://equi4.com/pub/mk/metakit-2.4.9.7.tar.gz>`` and
extract it using 7-zip.

.. code-block:: bash

    $: set PATH=PATH;C:\mingw\msys\1.0\bin\;C:\mingw\bin\
    $: cd metakit-2.4.9.7\builds
    $: sh ..\unix\configure
    $: make
    $: cd ..\python
    $: C:\python27\python setup.py clean build --compiler=mingw32 # or mingw64

Find the files in ``..\builds\lib.windows.....\Mk4py.pyd``.

You will also need the following files alongside the ``Mk4py.pyd``.

* ``C:\mingw\bin\libgcc_s_dw2-1.dll``
* ``C:\mingw\bin\libstdc++-6.dll``

--
Thadeus




On Thu, Mar 31, 2011 at 11:41 AM, Thadeus Burgess <thadeus.burgess <at> gmail.com> wrote:
Is there anyone who could help get a version of metakit with python on windows?

I attempted to use the pre-compiled version from the site which does not work. (Spits out a "module Mk4py not found").

Could either a pre-compiled python version working or a step-by-step guide to get a version compiled.

Thanks for your help and time


--
Thadeus



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

Gmane