Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2004 11:50:36 +0100
From:      Filippo Natali <filippo.natali@widestore.net>
To:        Jason Larion <larion@theopalgroup.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Error making plone 2.04 on 5.3-Stable
Message-ID:  <41B97F7C.5030803@widestore.net>
In-Reply-To: <41B8B091.5030906@theopalgroup.com>
References:  <41B8B091.5030906@theopalgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 09.12.2004 21:07 Jason Larion wrote:
> All,
> 
> 	I am experience the following error while making the plone-2.04 port on freebsd 5.3-stable.  I've attached the relevant details here.  I've looked throught the ports archives, and have been unable to find anything similar/topical/etc.
> 
> 	Any help would be greatly appreciated.
> 
> Regards,
> Jason
> 
> 
> 
> [root@nemesis plone]# uname -a
> FreeBSD nemesis.xanathas.com 5.3-STABLE FreeBSD 5.3-STABLE #7: Tue Nov 23 17:34:39 EST 2004     root@www.xanathas.com:/usr/obj/usr/src/sys/NEMESIS  i386
> [root@nemesis plone]# pwd
> /usr/ports/www/plone
> [root@nemesis ports]# which python
> /usr/local/bin/python
> [root@nemesis ports]# python
> Python 2.4 (#2, Dec  1 2004, 12:27:06)
> [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
> Type "help", "copyright", "credits" or "license" for more information.
> 
> [root@nemesis plone]# make clean > /dev/null
> [root@nemesis plone]# make

[snip]

> Compiling /usr/ports/www/plone/work/Plone-2.0.4/PlacelessTranslationService/tests/test_PlacelessExports.py ...
>   File "/usr/ports/www/plone/work/Plone-2.0.4/PlacelessTranslationService/tests/test_PlacelessExports.py", line 20
>     return printed
> SyntaxError: 'return' outside function
> 
> Compiling /usr/ports/www/plone/work/Plone-2.0.4/PlacelessTranslationService/utils.py ...
> Listing /usr/ports/www/plone/work/Plone-2.0.4/PlacelessTranslationService/www ...
> *** Error code 1 (ignored)

Hi,

these errors are harmless and are ignored, as you can see :)

while I'm here...since the import of python 2.4 as default version, all
Zope products (which usually have "USE_ZOPE=yes" and "USE_PYTHON="yes"
defined in Makefile) depend both from python 2.3 and 2.4.

I've submitted a little patch for bsd.python.mk on freebsd-python@
(instead of modify every single Zope-related port):

http://lists.freebsd.org/pipermail/freebsd-python/2004-December/000165.html

In the weekend I'll test it better and eventually submit a pr.

bye
Filippo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41B97F7C.5030803>