Re: Compiling for python-windows

Thadeus Burgess <[email protected]> Wed, 7 Sep 2011 11:10:55 -0500
Newsgroups gmane.comp.db.metakit
Message-ID <CAKTf30ZwHRbaj1vsqKk9E0bb9F_y2JVY4NiYoA+c=rZc0uN6Gg@mail.gmail.com>
--0015174c40c4bf482904ac5c3204
Content-Type: text/plain; charset=ISO-8859-1

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 <[email protected]
> 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 [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
--0015174c40c4bf482904ac5c3204
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Here is the solution...<br><br>Windows<br>~~~~~~~<br><br>Install MinGW for =
your version of windows (32 bit or 64 bit version)<br><br>Download ``metaki=
t &lt;<a href=3D"http://equi4.com/pub/mk/metakit-2.4.9.7.tar.gz">http://equ=
i4.com/pub/mk/metakit-2.4.9.7.tar.gz</a>&gt;`` and<br>

extract it using 7-zip.<br><br>.. code-block:: bash<br><br>=A0=A0=A0 $: set=
 PATH=3DPATH;C:\mingw\msys\1.0\bin\;C:\mingw\bin\<br>=A0=A0=A0 $: cd metaki=
t-2.4.9.7\builds<br>=A0=A0=A0 $: sh ..\unix\configure<br>=A0=A0=A0 $: make<=
br>=A0=A0=A0 $: cd ..\python<br>

=A0=A0=A0 $: C:\python27\python setup.py clean build --compiler=3Dmingw32 #=
 or mingw64<br><br>Find the files in ``..\builds\lib.windows.....\Mk4py.pyd=
``.<br><br>You will also need the following files alongside the ``Mk4py.pyd=
``.<br>

<br>* ``C:\mingw\bin\libgcc_s_dw2-1.dll``<br>* ``C:\mingw\bin\libstdc++-6.d=
ll``<br><br clear=3D"all">--<br>Thadeus<br><br><br>
<br><br><div class=3D"gmail_quote">On Thu, Mar 31, 2011 at 11:41 AM, Thadeu=
s Burgess <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]=
">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex;">

Is there anyone who could help get a version of metakit with python on wind=
ows?<br><br>I attempted to use the pre-compiled version from the site which=
 does not work. (Spits out a &quot;module Mk4py not found&quot;).<br><br>



Could either a pre-compiled python version working or a step-by-step guide =
to get a version compiled.<br><br>Thanks for your help and time<br><br><br =
clear=3D"all">--<br><font color=3D"#888888">Thadeus<br><br><br>
</font></blockquote></div><br>

<p></p>

-- <br />
You received this message because you are subscribed to the &quot;metakit&q=
uot; group.<br />
To post to this group, send email to [email protected]<br />
To unsubscribe from this group, send email to metakit-unsubscribe@googlegro=
ups.com<br />
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/metakit?hl=3Den">http://groups.google.com/group/metakit?hl=3Den</a>
--0015174c40c4bf482904ac5c3204--