Silva 2.2 buildout problem on Windows

"Luthiger Stoll Benno" <[email protected]> Mon, 13 Jul 2009 17:01:33 +0200
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Hello all

After solving the problem with egg versions, I'm stuck with another problem
which seems to be Windows installation specific.
Running bin/buildout I get the following error:
===
creating zope.proxy
copying zope/proxy\proxy.h -> zope.proxy
building 'AccessControl.cAccessControl' extension
creating build
creating build\temp.win32-2.4
creating build\temp.win32-2.4\Release
creating build\temp.win32-2.4\Release\accesscontrol
C:\programs\Tools\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall
-IExtensionClass -I. -IAcquisition -IC:\programs\python\python244\include
-IC:\programs\python\python244\PC -c AccessControl/cAccessControl.c -o
build\temp.win32-2.4\Release\accesscontrol\caccesscontrol.o
In file included from C:/programs/python/python244/include/Python.h:8,
                 from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/python/python244/include/pyconfig.h:30:16: io.h: No such file or
directory
C:/programs/python/python244/include/pyconfig.h:196:20: stdio.h: No such
file or directory
In file included from
C:/programs/Tools/MinGW/bin/../lib/gcc/mingw32/3.4.5/include/syslimits.h:7,
                 from
C:/programs/Tools/MinGW/bin/../lib/gcc/mingw32/3.4.5/include/limits.h:11,
                 from C:/programs/python/python244/include/Python.h:18,
                 from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/Tools/MinGW/bin/../lib/gcc/mingw32/3.4.5/include/limits.h:122:61
: no include path in which to search for limits.h
In file included from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/python/python244/include/Python.h:34:5: #error "Python.h
requires that stdio.h define NULL."
C:/programs/python/python244/include/Python.h:37:20: string.h: No such file
or directory
C:/programs/python/python244/include/Python.h:38:19: errno.h: No such file
or directory
C:/programs/python/python244/include/Python.h:39:20: stdlib.h: No such file
or directory
C:/programs/python/python244/include/Python.h:53:20: assert.h: No such file
or directory
In file included from C:/programs/python/python244/include/Python.h:55,
                 from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/python/python244/include/pyport.h:94:76: math.h: No such file or
directory
C:/programs/python/python244/include/pyport.h:107:18: time.h: No such file
or directory
C:/programs/python/python244/include/pyport.h:159:22: sys/stat.h: No such
file or directory
In file included from C:/programs/python/python244/include/Python.h:76,
                 from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/python/python244/include/object.h:227: error: syntax error
before "FILE"
C:/programs/python/python244/include/object.h:371: error: syntax error
before "FILE"
In file included from C:/programs/python/python244/include/Python.h:81,
                 from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/python/python244/include/unicodeobject.h:55:19: ctype.h: No such
file or directory
C:/programs/python/python244/include/unicodeobject.h:118:21: wchar.h: No
such file or directory
In file included from C:/programs/python/python244/include/Python.h:101,
                 from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/python/python244/include/fileobject.h:12: error: syntax error
before "FILE"
C:/programs/python/python244/include/fileobject.h:12: warning: no semicolon
at end of struct or union
C:/programs/python/python244/include/fileobject.h:15: error: syntax error
before '*' token
C:/programs/python/python244/include/fileobject.h:28: error: syntax error
before '}' token
C:/programs/python/python244/include/fileobject.h:28: warning: type defaults
to `int' in declaration of `PyFileObject'
C:/programs/python/python244/include/fileobject.h:28: warning: data
definition has no type or storage class
C:/programs/python/python244/include/fileobject.h:38: error: syntax error
before '*' token
C:/programs/python/python244/include/fileobject.h:39: error: syntax error
before '*' token
C:/programs/python/python244/include/fileobject.h:40: error: syntax error
before '*' token
C:/programs/python/python244/include/fileobject.h:40: warning: type defaults
to `int' in declaration of `PyFile_AsFile'
C:/programs/python/python244/include/fileobject.h:40: warning: data
definition has no type or storage class
C:/programs/python/python244/include/fileobject.h:57: error: syntax error
before "FILE"
C:/programs/python/python244/include/fileobject.h:58: error: syntax error
before "FILE"
In file included from C:/programs/python/python244/include/Python.h:117,
                 from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/python/python244/include/pythonrun.h:32: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:33: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:35: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:36: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:40: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:41: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:42: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:43: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:44: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:45: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:46: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:49: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:55: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:59: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:60: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:64: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:66: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:82: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:123: error: syntax error
before '*' token
C:/programs/python/python244/include/pythonrun.h:125: error: syntax error
before '*' token
In file included from C:/programs/python/python244/include/Python.h:119,
                 from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/python/python244/include/sysmodule.h:12: error: syntax error
before '*' token
C:/programs/python/python244/include/sysmodule.h:12: error: syntax error
before "FILE"
C:/programs/python/python244/include/sysmodule.h:12: warning: type defaults
to `int' in declaration of `PySys_GetFile'
C:/programs/python/python244/include/sysmodule.h:12: warning: data
definition has no type or storage class
In file included from C:/programs/python/python244/include/Python.h:121,
                 from ./ExtensionClass/ExtensionClass.h:83,
                 from AccessControl/cAccessControl.c:51:
C:/programs/python/python244/include/import.h:25: error: syntax error before
"FILE"
AccessControl/cAccessControl.c: In function `ZopeSecurityPolicy_validate':
AccessControl/cAccessControl.c:807: warning: implicit declaration of
function `strcmp'
AccessControl/cAccessControl.c: In function `permissionName':
AccessControl/cAccessControl.c:1959: warning: implicit declaration of
function `isalnum'
error: command 'gcc' failed with exit status 1
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:\programs\buildout\silva-buildout-trunk\eggs\zc.buildout-1.2.0-py2.4.egg\
zc\buildout\buildout.py", line 1509, in main
    getattr(buildout, command)(args)
  File
"c:\programs\buildout\silva-buildout-trunk\eggs\zc.buildout-1.2.0-py2.4.egg\
zc\buildout\buildout.py", line 473, in install
    installed_files = self[part]._call(recipe.install)
  File
"c:\programs\buildout\silva-buildout-trunk\eggs\zc.buildout-1.2.0-py2.4.egg\
zc\buildout\buildout.py", line 1091, in _call
    return f()
  File
"c:\programs\buildout\silva-buildout-trunk\eggs\plone.recipe.zope2install-2.
5-py2.4.egg\plone\recipe\zope2install\__init__.py", line 152, in install
    'build_ext', '-i',
AssertionError
===

Any ideas?

Regards,
Benno

_______________________________________________
silva-dev mailing list
silva-dev-IAPFreCvJWM6s/[email protected]
https://lists.infrae.com/mailman/listinfo/silva-dev
smime.p7s (application/x-pkcs7-signature, 3.9 KB) - not displayed