Comments on installation

Hi all,

im installing plone5 on centos. i went through the Plone docs but giving such errors. last time when i tried to install it, i did that easily but now i m in trouble here you go what i get during the installation.

`[root@mail ~]# ls
Plone-5.0.2-UnifiedInstaller Plone-5.0.2-UnifiedInstaller.tgz
[root@mail ~]# ^C
[root@mail ~]# yum install python-setuptools python-dev build-essential libssl-d ev libxml2-dev libxslt1-dev libbz2-dev libjpeg62-dev
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

  • base: mirror.hostduplex.com
  • epel: mirror.sfo12.us.leaseweb.net
  • extras: dallas.tx.mirror.xygenhosting.com
  • rpmforge: mirror.hmc.edu
  • updates: linux.mirrors.es.net
    Package python-setuptools-0.6.10-3.el6.noarch already installed and latest versi on
    No package python-dev available.
    No package build-essential available.
    No package libssl-dev available.
    No package libxml2-dev available.
    No package libxslt1-dev available.
    No package libbz2-dev available.
    No package libjpeg62-dev available.
    Nothing to do
    `
    Now when i tried to check them out

`[root@mail ~]# yum groupinstall -y 'development tools'
Loaded plugins: fastestmirror
Setting up Group Process
Loading mirror speeds from cached hostfile

  • base: mirror.hostduplex.com
  • epel: mirror.sfo12.us.leaseweb.net
  • extras: dallas.tx.mirror.xygenhosting.com
  • rpmforge: mirror.hmc.edu
  • updates: linux.mirrors.es.net
    Package flex-2.5.35-9.el6.x86_64 already installed and latest version
    Package gcc-4.4.7-16.el6.x86_64 already installed and latest version
    Package redhat-rpm-config-9.0.3-44.el6.centos.noarch already installed and lates t version
    Package rpm-build-4.8.0-47.el6.x86_64 already installed and latest version
    Package 1:make-3.81-20.el6.x86_64 already installed and latest version
    Package patch-2.6-6.el6.x86_64 already installed and latest version
    Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
    Package gettext-0.17-18.el6.x86_64 already installed and latest version
    Package automake-1.11.1-4.el6.noarch already installed and latest version
    Package bison-2.4.1-5.el6.x86_64 already installed and latest version
    Package libtool-2.2.6-15.5.el6.x86_64 already installed and latest version
    Package autoconf-2.63-5.1.el6.noarch already installed and latest version
    Package gcc-c++-4.4.7-16.el6.x86_64 already installed and latest version
    Package binutils-2.20.51.0.2-5.43.el6.x86_64 already installed and latest versio n
    Package patchutils-0.3.1-3.1.el6.x86_64 already installed and latest version
    Package byacc-1.9.20070509-7.el6.x86_64 already installed and latest version
    Package indent-2.2.10-7.el6.x86_64 already installed and latest version
    Package systemtap-2.7-2.el6.x86_64 already installed and latest version
    Package diffstat-1.51-2.el6.x86_64 already installed and latest version
    Package elfutils-0.161-3.el6.x86_64 already installed and latest version
    Package cvs-1.11.23-16.el6.x86_64 already installed and latest version
    Package rcs-5.7-37.el6.x86_64 already installed and latest version
    Package subversion-1.6.11-15.el6_7.x86_64 already installed and latest version
    Package gcc-gfortran-4.4.7-16.el6.x86_64 already installed and latest version
    Package 1:doxygen-1.6.1-6.el6.x86_64 already installed and latest version
    Package intltool-0.41.0-1.1.el6.noarch already installed and latest version
    Package git-1.7.1-4.el6_7.1.x86_64 already installed and latest version
    Package ctags-5.8-2.el6.x86_64 already installed and latest version
    Package cscope-15.6-6.el6.x86_64 already installed and latest version
    Package swig-1.3.40-6.el6.x86_64 already installed and latest version
    Warning: Group development does not have any packages.
    No packages in any requested group available to install or update
    [root@mail ~]# pip install python-dev
    You are using pip version 7.1.0, however version 8.1.1 is available.
    You should consider upgrading via the 'pip install --upgrade pip' command.
    Collecting python-dev
    /usr/lib/python2.6/site-packages/pip/vendor/requests/packages/urllib3/util/ssl .py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL c onnections to fail. For more information, see https://urllib3.readthedocs.org/en /latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    Could not find a version that satisfies the requirement python-dev (from versi ons: )
    No matching distribution found for python-dev
    `

Now when i try to install it through the following steps.this is what happens.

iam going with zeo not standalone.

./install.sh

at the end it give me the same error.
`[root@mail Plone-5.0.2-UnifiedInstaller]# ./install.sh
which: no dialog in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bi n:/root/bin)

which: no python2.7 in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr /bin:/root/bin)
Unable to find python2.7 on system exec path.

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.
    `

what's the problem here

Your problem is at the system level. You're trying to install python-dev which is the Ubuntu package name, as an rpm package (wrong name) and as a pip package (but it's a system not a python package).

Before running the Plone installer, please make sure to install all system dependencies properly: http://docs.plone.org/manage/deploying/preparing.html#centos

thanks gyst, what do you suggest. do i have to delete the files i have already installed on " i mean the wrong packages etc". i went through the links you have provided but when i try to install these "gcc-c++ patch openssl-devel libjpeg-devel libxslt-devel readline-devel make which python-devel wv poppler-utils " it pops out with a reply that they are already installed and again it asks for the python.
`./install.sh
which: no dialog in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

which: no python2.7 in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Unable to find python2.7 on system exec path.

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.
    `

see its telling me to install the following i did but still :frowning:

`[root@mail Plone-5.0.2-UnifiedInstaller]#
[root@mail Plone-5.0.2-UnifiedInstaller]# ./install.sh
which: no dialog in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

Goodbye for now
[root@mail Plone-5.0.2-UnifiedInstaller]# ./install.sh
which: no dialog in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

Testing /usr/local/bin/python2.7 for Zope/Plone requirements....
/usr/local/bin/python2.7 looks OK. We will use it.

Plone installation requires the development versions of libxml2 and libxslt.
libxml2 must be version 2.7.8 or greater; libxslt must be 1.1.26 or greater.
Ideally, you should install these as dev package libraries before running install.sh.
If -- and only if -- these packages are not available for your platform, you may
try adding --static-lxml=yes to your install.sh command line to force a
local, static build of these libraries. This will require Internet access for the
installer to download the extra source.
Installation aborted.
[root@mail Plone-5.0.2-UnifiedInstaller]# cd
[root@mail ~]# cd /bin
[root@mail bin]# http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_1.14.29.tar.gz
-bash: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_1.14.29.tar.gz: No such file or directory
[root@mail bin]# ^C
[root@mail bin]# yum install libxml2-dev libxslt-dev
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

You're telling me you installed python-devel but the Plone installer tells you you didn't. You should learn how to verify that the package has been installed on CentOS - that should result in a python executable file in your path. That's out of scope for this forum, you can probably find a CentOS forum for that.

You keep trying to install Ubuntu packages on a CentOS system even though I pointed this out to you before and gave you the URL that documents the exact package list you need to yum install. Trying to download the Debian package manager will not help you at all and would be inadvisable even on a Ubuntu/Debian based distro.

Sorry, but if you do not understand the difference between a CentOS distro with a yum package manager, and a Ubuntu distro with an apt-get package manager, you should stop fooling around in a root terminal, get a cup of coffee and do some reading and thinking first.

i have installed it :pensive: thanks

For the record:

Plone 5.0.3 installs via the Unified Installer on Centos 7 with exactly the packages specified on http://docs.plone.org/manage/deploying/preparing.html#centos

It installs on Centos 6 with the addition of command-line options to build Python 2.7 and static lxml. Those options are suggested by messages from the installer.