Re: Plone 5.0rc2 soft-released
Oleg Sadov <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CAGpBVFuigZKGmFBoBBD0LDxbO5Py5K0Us4w1YR1iBR-RZMa7HA@mail.gmail.com> |
Sorry for late report, but during the installing Plone 5.0rc2 by
Plone-5.0rc2-UnifiedInstaller in Scientific Linux 6 distro and got
such error:
===============================================================================
./install.sh --static-lxml=yes --target=/opt/Plone5.0
--daemon-user=plone --password=plone --group=plone
--with-python=/opt/Plone5.0/Python-2.7/bin/python zeo
We already have a Python environment for this target; ignoring --with-python.
Error: $PLONE_HOME/Python-${WANT_PYTHON}/bin/python is not an
executable. It should be the filename of a Python binary.
Please do one of the following:
1) Install python2.7 as a system dev package\;
2) Use --with-python=... option to point the installer to a useable python\; or
3) Use the --build-python option to tell the installer to build Python.
===============================================================================
The root of problem -- incorrect quoting in
helper_scripts/main_install_script.sh. After correcting of this issue
all installed successfully.
Patch attached.
--Oleg
2015-09-13 22:55 GMT+03:00 Eric Steele <esteele-z4DKO/[email protected]>:
> Thanks. Released
>
> On 12 Sep 2015, at 9:05, Nathan Van Gheem wrote:
>
> tested, looks fine.
>
> On Sat, Sep 12, 2015 at 6:44 AM, Eric Steele esteele-z4DKO/[email protected] wrote:
>
> Please give it a try and let me know if there are any glaring
> build/upgrade errors.
> http://dist.plone.org/release/5.0rc2-pending/versions.cfg
>
> Eric
>
> ________________________________
> ________________________________
>
> Plone-developers mailing list
> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/plone-developers
>
> --
> Nathan Van Gheem
> Solutions Architect
> Wildcard Corp
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Plone-developers mailing list
> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/plone-developers
>
------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
Plone-5.0rc2_main_install_script.sh.patch
(text/x-patch, 718 B)
diff -ur Plone-5.0rc2-UnifiedInstaller.orig/helper_scripts/main_install_script.sh Plone-5.0rc2-UnifiedInstaller/helper_scripts/main_install_script.sh
--- Plone-5.0rc2-UnifiedInstaller.orig/helper_scripts/main_install_script.sh 2015-09-13 23:45:08.000000000 +0300
+++ Plone-5.0rc2-UnifiedInstaller/helper_scripts/main_install_script.sh 2015-09-18 19:17:56.079707726 +0300
@@ -459,7 +459,7 @@
HAVE_PYTHON=yes
if [ "X$WITH_PYTHON" != "X" ]; then
echo "$IGNORING_WITH_PYTHON"
- WITH_PYTHON='$PLONE_HOME/Python-${WANT_PYTHON}/bin/python'
+ WITH_PYTHON="$PLONE_HOME/Python-${WANT_PYTHON}/bin/python"
fi
if [ "X$BUILD_PYTHON" = "Xyes" ]; then
echo "$IGNORING_BUILD_PYTHON"