Re: Compiling Plone dependencies on Windows Server 2012

Steve McMahon <[email protected]> Tue, 8 Sep 2015 10:24:30 -0700
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CAOqzbgiJ_yRayAv3iZw4NsjVc+K00jsvz7u2dHOT7aAqx_Hoag@mail.gmail.com>
--===============3953404653885466637==
Content-Type: multipart/alternative; boundary=001a1140fce6aaf9f0051f3fa47f

--001a1140fce6aaf9f0051f3fa47f
Content-Type: text/plain; charset=UTF-8

Have you tried installing lxml into your Plone's Python by using a binary
lxml from PyPI?

https://pypi.python.org/pypi/lxml


On Tue, Sep 8, 2015 at 5:31 AM, Christoph Pingel <[email protected]>
wrote:

> Hi all,
>
> I'm trying to migrate an existing Plone project to the Windows Server 2012
> R2 platform.
> Plone version is 4.1.6 and it needs lxml >= 3.2.3.
> I installed the preconfigured standards windows installer vom Enfold
> Systems and edited buildout.cfg according to my preferences.
> Now whenever I run buildout, I get the error 'Setup script exited with
> error: Unable to find vcvarsall.bat' as soon as buildout tries to build
> lxml.
>
> AFAIK, vcvarsall.bat has to do with the choice of compiler on the
> platform.
> Python however seems to be built with Virtual C++ 9.0 (since there's a
> Microsoft.VC90.CRT.Manifest file in the python directory of my instance),
> but that doesn't necessarily mean that VC90 is installed, right?
>
> (Windows isn't my platform *at all*, and last time I had a similar issue I
> ended up installing cygwin and running everything there which I want to
> avoid this time.)
>
> What is the recommended way to install lxml on the Windows platform, and
> where is it documented? Any input is appreciated,
> TIA,
> Christoph
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Plone-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>

--001a1140fce6aaf9f0051f3fa47f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"" style=3D"font-size:12.8px"><table cellpadd=
ing=3D"0" class=3D""><tbody></tbody></table></div><div class=3D""></div><di=
v class=3D""></div><div class=3D""></div><div class=3D""></div><div id=3D":=
nj" tabindex=3D"-1"></div><div id=3D":r7" class=3D"" style=3D"font-size:12.=
8px"><div id=3D":r8" class=3D"" style=3D"overflow:hidden"><div dir=3D"ltr" =
style=3D"font-size:12.8px">Have you tried installing lxml into your Plone&#=
39;s Python by using a binary lxml from PyPI?<div><br></div><div><a href=3D=
"https://pypi.python.org/pypi/lxml" target=3D"_blank">https://pypi.python.o=
rg/pypi/lxml</a><br></div><div><br></div></div></div></div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, Sep 8, 2015 at 5:31=
 AM, Christoph Pingel <span dir=3D"ltr">&lt;<a href=3D"mailto:pingelsan@gma=
il.com" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex"><div dir=3D"ltr">Hi all,<div><br></div><div>I&#3=
9;m trying to migrate an existing Plone project to the Windows Server 2012 =
R2 platform.</div><div>Plone version is 4.1.6 and it needs lxml &gt;=3D 3.2=
.3.</div><div>I installed the preconfigured standards windows installer vom=
 Enfold Systems and edited buildout.cfg according to my preferences.=C2=A0<=
/div><div>Now whenever I run buildout, I get the error &#39;Setup script ex=
ited with error: Unable to find vcvarsall.bat&#39; as soon as buildout trie=
s to build lxml.</div><div><br></div><div>AFAIK, vcvarsall.bat has to do wi=
th the choice of compiler on the platform.=C2=A0</div><div>Python however s=
eems to be built with Virtual C++ 9.0 (since there&#39;s a Microsoft.VC90.C=
RT.Manifest file in the python directory of my instance), but that doesn&#3=
9;t necessarily mean that VC90 is installed, right?</div><div><br></div><di=
v>(Windows isn&#39;t my platform *at all*, and last time I had a similar is=
sue I ended up installing cygwin and running everything there which I want =
to avoid this time.)</div><div><br></div><div>What is the recommended way t=
o install lxml on the Windows platform, and where is it documented? Any inp=
ut is appreciated,=C2=A0</div><div>TIA,</div><div>Christoph</div><div><br><=
/div><div><br></div></div><br>---------------------------------------------=
---------------------------------<br>
<br>_______________________________________________<br>
Plone-Users mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
ceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/plone-users" rel=3D=
"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo=
/plone-users</a><br>
<br></blockquote></div><br></div>

--001a1140fce6aaf9f0051f3fa47f--


--===============3953404653885466637==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============3953404653885466637==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users

--===============3953404653885466637==--