On Tue, Jul 31, 2012 at 7:52 AM, Chris Lambacher <ch...@kateandchris.net>wrote:

> It's been a while since I set this up, so I'm hazy on some of the details.
>
> Pypy builds on windows may look for dependencies in other locations but
> the way I had recommended to me and which worked was parallel to the pypy
> checkout. For example I have:
> c:\work\pypy
>       |
>       |- bzip2-1.0.5
>       |- expat-2.0.1
>       |- gc-7.1
>       |- openssl-0.9.8q
>       |-pypy ( this is the pypy working tree )
>       |-zlib-1.2.3
>
> It has been a while since I tried so the exact versions may be incorrect.
> The other thing that I had trouble with was the version of the Visual C++
> compiler. You need to use the same version that was used to compile the
> python interpreter you use to do the translation. For python 2.6 and 2.7
> this is visual C++ 2008 which is difficult to obtain. You can get the
> express version (which worked for me) here:
> http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express
>
> Good luck and try asking on freenode in #pypy, the one or two windows guys
> are helpful when they are around.
>
> -Chris
>
>
> On Mon, Jul 30, 2012 at 5:09 AM, gelin yan <dynami...@gmail.com> wrote:
>
>> Hi All
>>
>>      I spent almost three hours for compiling pypy on my windows 7 and
>> got nothing. During the period of translating, I saw many errors about no
>> file "expat.h", "zlib.h" sth like that. I have tried to located those files
>> on different paths but it still failed.
>>
>>     I have searched on google a bit however there is only one post which
>> give a brief introduction how to compile pypy 1.4 on windows. It is kinda
>> outdated and obscure.
>>
>>      At least I want to know where I can locate those third-party
>> dependencies correctly so that translator can find them.Thanks.
>>
>> Regards
>>
>> gelin yan
>>
>> _______________________________________________
>> pypy-dev mailing list
>> pypy-dev@python.org
>> http://mail.python.org/mailman/listinfo/pypy-dev
>>
>>
>
>
> --
> Christopher Lambacher
> ch...@kateandchris.ne <ch...@kateandchris.net>t
>

Hi Chris

     Thanks for your info. I tried the structure as you guided but the c
compiler still complained "can't open include file "expat.h"
What exact path do I need to set?

Regards

gelin yan
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to