[Zope] zope-2.5.1_2 compilation failures

Noah Garrett Wallach sleek@enabled.com
Wed, 20 Nov 2002 13:10:51 -0800 (PST)


attempting to install zope-2.5.1_2 on a FreeBSD 4.7 Stable machine.
making from /usr/ports - I get a compiliation failure.  Can anybody
suggest what I can do from here?

------------------------------------------------------------------------------
Writing the pcgi resource file (ie cgi script),
/usr/local/www/Zope/Zope.cgi
chmod 0755 /usr/local/www/Zope/Zope.cgi

------------------------------------------------------------------------------
Deleting '.pyc' and '.pyo' files recursively under /usr/local/www/Zope...
Done.

------------------------------------------------------------------------------
Compiling python modules
  File
"/usr/local/www/Zope/lib/python/Products/Squishdot/validatePosting.py",
lin
e 31
    return Processed,'You must enter an email address for notification!'
SyntaxError: 'return' outside function

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
There were errors during Python module compilation.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

*** Error code 1

Stop in /usr/ports/www/zope.
typhoon#

have python 2.1.3 installed on the machine

--- snip ---
Stop in /usr/ports/www/zope.
typhoon#  python
Python 2.1.3 (#1, Nov 19 2002, 19:39:45)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "copyright", "credits" or "license" for more information.
--- snip ---