Problems installing Zope2 under WINDOWS VISTA

7 messages Options
Embed this post
Permalink
floseries () Problems installing Zope2 under WINDOWS VISTA
Reply Threaded More More options
Print post
Permalink

Hi,

I've got problems with installation using zc.buildout under WINDOW VISTA (also under XP)

Downloaded the svn-Project AndreasBuildout, made bootstraping and run bin\buildout

Following Assertion error occurs:

...
Installing zope2.
running build_ext
creating zope.proxy
copying zope/proxy\proxy.h -> zope.proxy
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
While:
  Installing zope2.

An internal error occured due to a bug in either zc.buildout or in a recipe being used:
Traceback (most recent call last):
  File "c:\users\fritz\appdata\local\temp\tmptlb1if\zc.buildout-1.4.1-py2.4.egg\zc\buildout\buildout.py", line 1659, in main
  File "c:\users\fritz\appdata\local\temp\tmptlb1if\zc.buildout-1.4.1-py2.4.egg\zc\buildout\buildout.py", line 532, in install
  File "c:\users\fritz\appdata\local\temp\tmptlb1if\zc.buildout-1.4.1-py2.4.egg\zc\buildout\buildout.py", line 1203, in _call
  File "d:\programme\andreasbuildout\eggs\plone.recipe.zope2install-3.2-py2.4.egg\plone\recipe\zope2install\__init__.py", line 247, in install
    'build_ext', '-i',
AssertionError

Any hint or helpful advice ? I do not want to bother with all the compilation stuff concerning cygwin and minGW. I thought Plone 3 is working out of the box. Python version used is 2.4, PIL and PyWin32 installed.

Fritz

Karl Johan Kleist () Re: Problems installing Zope2 under WINDOWS VISTA
Reply Threaded More More options
Print post
Permalink
No reason to be scared: installing and using MingW32 is piece-of-cake: http://plone.org/documentation/how-to/using-buildout-on-windows/view?searchterm=mingw

And Plone 3 is working out-of-the-box if one use the Windows installer (which comes with pre-built Zope). Manually buildout:ing (building out???) is for developers.

floseries wrote:
I've got problems with installation using zc.buildout under WINDOW VISTA (also under XP)
Steve McMahon () Re: Problems installing Zope2 under WINDOWS VISTA
Reply Threaded More More options
Print post
Permalink
Or ... just use the Windows installer for Plone, which includes all the precompiled binaries you need to run Plone.

plone.org/products/plone

On Fri, Oct 30, 2009 at 5:47 PM, Karl Johan Kleist <[hidden email]> wrote:

No reason to be scared: installing and using MingW32 is piece-of-cake:
http://plone.org/documentation/how-to/using-buildout-on-windows/view?searchterm=mingw

And Plone 3 is working out-of-the-box if one use the Windows installer
(which comes with pre-built Zope). Manually buildout:ing (building out???)
is for developers.


floseries wrote:
>
> I've got problems with installation using zc.buildout under WINDOW VISTA
> (also under XP)
>

--
View this message in context: http://n2.nabble.com/Problems-installing-Zope2-under-WINDOWS-VISTA-tp3920061p3920107.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup


_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup
floseries () Re: Problems installing Zope2 under WINDOWS VISTA
Reply Threaded More More options
Print post
Permalink
In reply to this post by Karl Johan Kleist
floseries wrote:
Thanks Karl for the link. But still it's not working. Same error as before.

By the way I had installed another binary WINDOWS installer for python 2.4 because the original one from python.org came with an error on installation:

The cabinet file 'python' required for this installation is  corrupt 
and cannot be used. 
This could indicate a network error, ... 
or a problem with this package.


This error I've got a few days earlier, too. And I stopped the firewall for being sure that this will not be the error. Probably I have to go to the python group, but why does it work for others as explained in the article "Using buildout on WINDOWS"?

I'm not scared, I'm frustrated. But not against Plone and Zope. It's probably WINDOWS. But this will not help me.

Karl Johan Kleist wrote:
No reason to be scared: installing and using MingW32 is piece-of-cake: http://plone.org/documentation/how-to/using-buildout-on-windows/view?searchterm=mingw
floseries () Re: Problems installing Zope2 under WINDOWS VISTA
Reply Threaded More More options
Print post
Permalink
In reply to this post by Steve McMahon
This doesn't work, because I want to get started with the AndreasTheme09 for learning more about Plone3 development. And in the ReadMe.txt of the svn project there is no description how to insert all the eggs and develop-parts ot that example product into a running buildout.cfg and which parts to copy into the src-directory or eggs-directory or anything else. As a newby I got totally lost and the book "Professional Plone development" does not give any help on this.

If someone could give help on this, I would be glad.

Steve McMahon wrote:
Or ... just use the Windows installer for Plone, which includes all the
precompiled binaries you need to run Plone.

plone.org/products/plone
Karl Johan Kleist () Re: Problems installing Zope2 under WINDOWS VISTA
Reply Threaded More More options
Print post
Permalink
In reply to this post by floseries

And did you actually create "...\Lib\distutils\distutils.cfg" in the same Python installation that you used to bootstrap the buildout? And it's a 32 bit Python?

floseries wrote:
Thanks Karl for the link. But still it's not working. Same error as before.
floseries () Re: Problems installing Zope2 under WINDOWS VISTA
Reply Threaded More More options
Print post
Permalink
floseries wrote:
I have really a problem with my eyes.
All the time I've read and written disutils.cfg instead of distutils.cfg

Not knowing what the error message means if one is not experienced in compiling with GNU cc or something else under WINDOWS is hard to find such a mistake.

Thanks a lot. Now it's running fine and all has been compiled fine.

But I only found this misspelling error, because I had to compile PIL 1.1.6 with a setup.py and got the same error message only with the difference, that I just before had written the python command and added to this "-c mingw32". There it was clear for me that something was wrong with the disutils.cfg

Karl Johan Kleist wrote:
And did you actually create "...\Lib\distutils\distutils.cfg" in the same Python installation that you used to bootstrap the buildout? And it's a 32 bit Python?