Discussion:
[horde] problem with new install on new Centos 7.5 system
Edward Burr
2018-11-13 14:23:23 UTC
Permalink
Hello,

I have been running Horde for many years on Centos 6 and am working on
replacing with Centos 7, but am having trouble installing Horde on it.
Any thoughts on what I could do to get past this would be greatly
appreciated.

I am following instructions at:
https://www.horde.org/apps/groupware/docs/INSTALL

In short, the three issues I'm encountering are:
- step 2.5: 'pecl install http' fails due to "no releases available"
- step 3.1: 'pear install -a horde/groupware' fails a few pieces:
horde/Horde_Backup
pecl/sasl
pecl/idn
- step 3.3: 'groupware-install' fails due to the "pear" directory
not being present in the horde directory


The new system is:
CentOS Linux release 7.5.1804 (Core)
Linux c7.burr.cc 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

skipped (1) quick install

(2) Prerequisites:
1) # rpm -q httpd
httpd-2.4.6-80.el7.centos.1.x86_64
(Apache 2)

2) configured in /etc/httpd/conf/httpd.conf

3) # rpm -q php
php-5.4.16-45.el7.x86_64

4) # pear config-show | grep 'PEAR directory'
PEAR directory php_dir /usr/share/pear

# pear list | grep -e Date -e DNS -e Weather -e Fstab
Date 1.4.7 stable
(skipping all the Date_Holidays_*)
File_Fstab 2.0.3 stable
Net_DNS2 1.4.4 stable
Services_Weather 1.4.7 stable

5) # pecl list
Installed packages, channel pecl.php.net:
=========================================
Package Version State
APC 3.1.13 beta
LZF 1.6.6 stable
apcu 4.0.11 stable
igbinary 2.0.8 stable
imagick 3.4.3 stable
intl 3.0.0 stable
memcache 3.0.8 beta
mongo 1.6.16 stable

# pecl list -c horde | grep lz4
horde_lz4 1.0.10 stable

* # pecl install http
* No releases available for package "pecl.php.net/http"
* install failed

# rpm -q aspell
aspell-0.60.6.1-9.el7.x86_64
# rpm -q postfix
postfix-2.10.1-6.el7.x86_64
# rpm -q vsftpd
vsftpd-3.0.2-22.el7.x86_64

(3)
3.1) see install.txt
3.2) not done
3.3) see install.txt

More info is available in files at http://www.burr.cc/~egburr/horde_inst/

etc_php.d_horde-related.ini -- /etc/php.d/horde-related.ini
install.txt -- output from steps 3.1 and 3.3 above
notes -- the above notes
pear.install.Horde_Backup -- attempt to install Horde_Backup
pear.list -- list of installed pear modules
pear.list.horde -- list of installed pear horde modules
pecl.install.idn -- attempt to install idn
pecl.instal.sasl -- attempt to install sasl
pecl.list -- list of installed pecl modules
rpm.qa -- list of listalled rpm packages
Edward Burr
2018-11-14 18:21:05 UTC
Permalink
Hi Ralf,

Thanks for the suggestion. 'yum install php-http' installed
php-pecl-http and now "pecl list" shows pecl_http is installed. So,
the step 2.5 issue appears to be cleared up?

But the step 3.1 and 3.3 issues remain.

3.1) During "pear install -a horde/groupware":
Failed to download horde/Horde_Backup within preferred state "stable",
latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install

Trying to install each manually fails.

# pear install horde/Horde_Backup-1.0.0RC1
horde/horde_core requires package "horde/Horde_Backup" (version >=
1.0.0, version <= 2.0.0alpha1, excluded versions: 2.0.0alpha1),
downloaded version is 1.0.0RC1
horde/Horde_Backup cannot be installed, conflicts with installed packages
No valid packages found
install failed

# pecl install sasl-0.1.0
downloading sasl-0.1.0.tgz ...
Starting to download sasl-0.1.0.tgz (6,435 bytes)
.....done: 6,435 bytes
5 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source
directory of the module
ERROR: `phpize' failed

# pecl install channel://pecl.php.net/idn-0.2.0
downloading idn-0.2.0.tgz ...
Starting to download idn-0.2.0.tgz (6,313 bytes)
.....done: 6,313 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
GNU libidn installation dir? [autodetect] :
building in /var/tmp/pear-build-rootw5Z2Gw/idn-0.2.0
running: /var/tmp/idn/configure --with-php-config=/usr/bin/php-config
--with-idn
configure: error: Please reinstall the GNU Libidn distribution
ERROR: `/var/tmp/idn/configure --with-php-config=/usr/bin/php-config
--with-idn' failed

# rpm -q libidn
libidn-1.28-4.el7.x86_64

NOTE:
# rpm -ql libidn | grep -v share
/usr/bin/idn
/usr/lib64/libidn.so.11
/usr/lib64/libidn.so.11.6.11

I tried using all these in place of "autodetect". Same failure for each.

3.3)
]# groupware-install
PHP Warning: require_once(PEAR/Config.php): failed to open stream: No
such file or directory in /usr/bin/groupware-install on line 15

Warning: require_once(PEAR/Config.php): failed to open stream: No such
file or directory in /usr/bin/groupware-install on line 15
PHP Fatal error: require_once(): Failed opening required
'PEAR/Config.php' (include_path='.:/php/includes:/usr/share/pear
;
; Windows: \path1') in /usr/bin/groupware-install on line 15

Fatal error: require_once(): Failed opening required 'PEAR/Config.php'
(include_path='.:/php/includes:/usr/share/pear
;
; Windows: \path1') in /usr/bin/groupware-install on line 15

I don't understand why this error that it doesn't exist. It is present
and world readable.
-rw-r--r--. 1 root root 69473 Nov 10 12:31 /usr/share/pear/PEAR/Config.php
Hi Edward,
Post by Edward Burr
Hello,
I have been running Horde for many years on Centos 6 and am working on
replacing with Centos 7, but am having trouble installing Horde on it.
Any thoughts on what I could do to get past this would be greatly
appreciated.
https://www.horde.org/apps/groupware/docs/INSTALL
 - step 2.5: 'pecl install http' fails due to "no releases available"
             horde/Horde_Backup
             pecl/sasl
             pecl/idn
 - step 3.3: 'groupware-install' fails due to the "pear" directory not
being present in the horde directory
CentOS Linux release 7.5.1804 (Core)
Linux c7.burr.cc 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
skipped (1) quick install
  1) # rpm -q httpd
     httpd-2.4.6-80.el7.centos.1.x86_64
     (Apache 2)
  2) configured in /etc/httpd/conf/httpd.conf
  3) # rpm -q php
     php-5.4.16-45.el7.x86_64
  4) # pear config-show | grep 'PEAR directory'
     PEAR directory                 php_dir          /usr/share/pear
     # pear list | grep -e Date -e DNS -e Weather -e Fstab
     Date                       1.4.7   stable
     (skipping all the Date_Holidays_*)
     File_Fstab                 2.0.3   stable
     Net_DNS2                   1.4.4   stable
     Services_Weather           1.4.7   stable
  5) # pecl list
     =========================================
     Package  Version State
     APC      3.1.13  beta
     LZF      1.6.6   stable
     apcu     4.0.11  stable
     igbinary 2.0.8   stable
     imagick  3.4.3   stable
     intl     3.0.0   stable
     memcache 3.0.8   beta
     mongo    1.6.16  stable
     # pecl list -c horde | grep lz4
     horde_lz4                    1.0.10  stable
*    # pecl install http
*    No releases available for package "pecl.php.net/http"
*    install failed
  # rpm -q aspell
  aspell-0.60.6.1-9.el7.x86_64
  # rpm -q postfix
  postfix-2.10.1-6.el7.x86_64
  # rpm -q vsftpd
  vsftpd-3.0.2-22.el7.x86_64
(3)
  3.1) see install.txt
  3.2) not done
  3.3) see install.txt
More info is available in files at http://www.burr.cc/~egburr/horde_inst/
etc_php.d_horde-related.ini -- /etc/php.d/horde-related.ini
install.txt -- output from steps 3.1 and 3.3 above
notes -- the above notes
pear.install.Horde_Backup -- attempt to install Horde_Backup
pear.list -- list of installed pear modules
pear.list.horde -- list of installed pear horde modules
pecl.install.idn -- attempt to install idn
pecl.instal.sasl -- attempt to install sasl
pecl.list -- list of installed pecl modules
rpm.qa -- list of listalled rpm packages
Have you checked if php7-http or php-http packages are available
from the rpm repository of your distribution?
Regards
Ralf
--
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Ralf Lang
2018-11-16 08:43:49 UTC
Permalink
Post by Edward Burr
Hi Ralf,
Thanks for the suggestion. 'yum install php-http' installed
php-pecl-http and now "pecl list" shows pecl_http is installed. So,
the step 2.5 issue appears to be cleared up?
But the step 3.1 and 3.3 issues remain.
Failed to download horde/Horde_Backup within preferred state "stable",
latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
Trying to install each manually fails.
If you are using distribution php, get the PECLs from distribution (yum).

For installing RC packages, either preinstall Horde_Backup ignoring deps
(pear install -n horde/Horde_Backup) or allow installation of beta software

|pear config-setpreferred_state beta|

change to stable when you are done.


Regards


Ralf
--
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: ***@b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-***@lists.horde.org
Edward Burr
2018-11-18 04:40:05 UTC
Permalink
This post might be inappropriate. Click to display it.
Edward Burr
2018-11-20 15:59:20 UTC
Permalink
Post by Edward Burr
Post by Ralf Lang
Post by Edward Burr
Hi Ralf,
Thanks for the suggestion. 'yum install php-http' installed
php-pecl-http and now "pecl list" shows pecl_http is installed. So,
the step 2.5 issue appears to be cleared up?
But the step 3.1 and 3.3 issues remain.
Failed to download horde/Horde_Backup within preferred state "stable",
latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
Trying to install each manually fails.
If you are using distribution php, get the PECLs from distribution (yum).
For installing RC packages, either preinstall Horde_Backup ignoring deps
(pear install -n horde/Horde_Backup) or allow installation of beta software
|pear config-setpreferred_state beta|
change to stable when you are done.
yum install php-sasl
yum install pecl-sasl
yum install pecl_sasl
yum install pear-sasl
yum install pear_sasl
# All result in "No package XXX available. Nothing to do."
yum install php-idn
# installed php-idn-1.2c-12
pecl install channel://pecl.php.net/idn-0.2.0
# still fails with same error
I uninstalled all the horde packages and pre-installed Horde_Backup
per your suggestion.
pear uninstall `pear list -c horde | tail -n +4 | awk '{ print "horde/"$1 }'`
pear install -n horde/Horde_Backup-1.0.0RC1
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
pear install horde/horde_role
pear run-scripts horde/horde_role
pear install -a horde/groupware
horde/Horde_Core requires package "horde/Horde_Backup" (version >=
1.0.0, version <= 2.0.0alpha1, excluded versions: 2.0.0alpha1),
installed version is 1.0.0RC1
ASpparently 1.0.0RC1 isn't greater than/equal to 1.0.0 even though
Failed to download horde/Horde_Backup within preferred state
"stable", latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
How do I satisfy this requirement?
The install directions appear pretty straightforward. I've got to
be missing something obvious, but I can't figure out what it could
be.
pear install horde/horde_backup-beta
Among other things, that did:
downloading Horde_Backup-1.0.0RC1.tgz ...
Starting to download Horde_Backup-1.0.0RC1.tgz (8,518 bytes)
.....done: 8,518 bytes
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1

which leaves us still with the same problem as above.
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
Edward Burr
2018-11-25 05:09:17 UTC
Permalink
I realize it's holiday time here in the US, but that has given me lots
of time to play with this. I'm not trying to push for faster answers,
just reporting what I've tried.

I've gone so far as wiping the box and completely re-installing CentOS
7.5 from scratch and bringing it up to latest updates, and then
attempting this Horde Groupware installation again following the
suggestions given in this email thread. I am again stuck at the same
point as described below.

Is there any way to get around Horde_Core's requirement for a level of
Horde_Backup that doesn't exist, while still handling all the rest of
Horde_Core's requirements during installation?

And any thoughts on the pecl/sasl and pecl/idn issues?

Thanks,
Edward
Post by Edward Burr
Post by Edward Burr
Post by Ralf Lang
Post by Edward Burr
Hi Ralf,
Thanks for the suggestion. 'yum install php-http' installed
php-pecl-http and now "pecl list" shows pecl_http is installed. So,
the step 2.5 issue appears to be cleared up?
But the step 3.1 and 3.3 issues remain.
Failed to download horde/Horde_Backup within preferred state "stable",
latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
Trying to install each manually fails.
If you are using distribution php, get the PECLs from distribution (yum).
For installing RC packages, either preinstall Horde_Backup ignoring deps
(pear install -n horde/Horde_Backup) or allow installation of beta software
|pear config-setpreferred_state beta|
change to stable when you are done.
yum install php-sasl
yum install pecl-sasl
yum install pecl_sasl
yum install pear-sasl
yum install pear_sasl
# All result in "No package XXX available. Nothing to do."
yum install php-idn
# installed php-idn-1.2c-12
pecl install channel://pecl.php.net/idn-0.2.0
# still fails with same error
I uninstalled all the horde packages and pre-installed
Horde_Backup per your suggestion.
pear uninstall `pear list -c horde | tail -n +4 | awk '{ print "horde/"$1 }'`
pear install -n horde/Horde_Backup-1.0.0RC1
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
pear install horde/horde_role
pear run-scripts horde/horde_role
pear install -a horde/groupware
horde/Horde_Core requires package "horde/Horde_Backup" (version >=
1.0.0, version <= 2.0.0alpha1, excluded versions: 2.0.0alpha1),
installed version is 1.0.0RC1
ASpparently 1.0.0RC1 isn't greater than/equal to 1.0.0 even though
Failed to download horde/Horde_Backup within preferred state
"stable", latest release is version 1.0.0RC1, stability "beta",
use "channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
How do I satisfy this requirement?
The install directions appear pretty straightforward. I've got to
be missing something obvious, but I can't figure out what it could
be.
pear install horde/horde_backup-beta
downloading Horde_Backup-1.0.0RC1.tgz ...
Starting to download Horde_Backup-1.0.0RC1.tgz (8,518 bytes)
.....done: 8,518 bytes
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
which leaves us still with the same problem as above.
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
Edward Burr
2018-11-29 16:32:00 UTC
Permalink
Another thought, has anyone actually installed Horde Groupware on
CentOS 7.5 yet? Is there a preferred Linux distribution? I chose
CentOS because I work with Red Hat Enterprise Linux on a daily basis
at work.

Though I am concerned that with the Horde_Backup / Horde_Core version
requirement mismatch and their independence from any Linux
distribution, I wonder how anyone has gotten around that?

Is there something missing from the install documentation at
https://www.horde.org/apps/groupware/docs/INSTALL that I should know
about?
Post by Edward Burr
Post by Edward Burr
Post by Ralf Lang
Post by Edward Burr
Hi Ralf,
Thanks for the suggestion. 'yum install php-http' installed
php-pecl-http and now "pecl list" shows pecl_http is installed. So,
the step 2.5 issue appears to be cleared up?
But the step 3.1 and 3.3 issues remain.
Failed to download horde/Horde_Backup within preferred state "stable",
latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
Trying to install each manually fails.
If you are using distribution php, get the PECLs from distribution (yum).
For installing RC packages, either preinstall Horde_Backup ignoring deps
(pear install -n horde/Horde_Backup) or allow installation of beta software
|pear config-setpreferred_state beta|
change to stable when you are done.
yum install php-sasl
yum install pecl-sasl
yum install pecl_sasl
yum install pear-sasl
yum install pear_sasl
# All result in "No package XXX available. Nothing to do."
yum install php-idn
# installed php-idn-1.2c-12
pecl install channel://pecl.php.net/idn-0.2.0
# still fails with same error
I uninstalled all the horde packages and pre-installed
Horde_Backup per your suggestion.
pear uninstall `pear list -c horde | tail -n +4 | awk '{ print "horde/"$1 }'`
pear install -n horde/Horde_Backup-1.0.0RC1
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
pear install horde/horde_role
pear run-scripts horde/horde_role
pear install -a horde/groupware
horde/Horde_Core requires package "horde/Horde_Backup" (version >=
1.0.0, version <= 2.0.0alpha1, excluded versions: 2.0.0alpha1),
installed version is 1.0.0RC1
ASpparently 1.0.0RC1 isn't greater than/equal to 1.0.0 even though
Failed to download horde/Horde_Backup within preferred state
"stable", latest release is version 1.0.0RC1, stability "beta",
use "channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
How do I satisfy this requirement?
The install directions appear pretty straightforward. I've got to
be missing something obvious, but I can't figure out what it could
be.
pear install horde/horde_backup-beta
downloading Horde_Backup-1.0.0RC1.tgz ...
Starting to download Horde_Backup-1.0.0RC1.tgz (8,518 bytes)
.....done: 8,518 bytes
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
which leaves us still with the same problem as above.
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
Edward Burr
2018-11-29 17:23:51 UTC
Permalink
Post by Edward Burr
Another thought, has anyone actually installed Horde Groupware on
CentOS 7.5 yet? Is there a preferred Linux distribution? I chose
CentOS because I work with Red Hat Enterprise Linux on a daily
basis at work.
Though I am concerned that with the Horde_Backup / Horde_Core
version requirement mismatch and their independence from any Linux
distribution, I wonder how anyone has gotten around that?
Is there something missing from the install documentation at
https://www.horde.org/apps/groupware/docs/INSTALL that I should
know about?
Post by Edward Burr
Post by Edward Burr
Post by Ralf Lang
Post by Edward Burr
Hi Ralf,
Thanks for the suggestion. 'yum install php-http' installed
php-pecl-http and now "pecl list" shows pecl_http is installed. So,
the step 2.5 issue appears to be cleared up?
But the step 3.1 and 3.3 issues remain.
Failed to download horde/Horde_Backup within preferred state "stable",
latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
Trying to install each manually fails.
If you are using distribution php, get the PECLs from
distribution (yum).
For installing RC packages, either preinstall Horde_Backup ignoring deps
(pear install -n horde/Horde_Backup) or allow installation of beta software
|pear config-setpreferred_state beta|
change to stable when you are done.
yum install php-sasl
yum install pecl-sasl
yum install pecl_sasl
yum install pear-sasl
yum install pear_sasl
# All result in "No package XXX available. Nothing to do."
yum install php-idn
# installed php-idn-1.2c-12
pecl install channel://pecl.php.net/idn-0.2.0
# still fails with same error
I uninstalled all the horde packages and pre-installed
Horde_Backup per your suggestion.
pear uninstall `pear list -c horde | tail -n +4 | awk '{ print "horde/"$1 }'`
pear install -n horde/Horde_Backup-1.0.0RC1
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
pear install horde/horde_role
pear run-scripts horde/horde_role
pear install -a horde/groupware
horde/Horde_Core requires package "horde/Horde_Backup" (version
2.0.0alpha1), installed version is 1.0.0RC1
ASpparently 1.0.0RC1 isn't greater than/equal to 1.0.0 even
Failed to download horde/Horde_Backup within preferred state
"stable", latest release is version 1.0.0RC1, stability "beta",
use "channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
How do I satisfy this requirement?
The install directions appear pretty straightforward. I've got
to be missing something obvious, but I can't figure out what it
could be.
pear install horde/horde_backup-beta
downloading Horde_Backup-1.0.0RC1.tgz ...
Starting to download Horde_Backup-1.0.0RC1.tgz (8,518 bytes)
.....done: 8,518 bytes
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
which leaves us still with the same problem as above.
why do you install Horde_Backup at all? It's not required at all.
This is why:
[***@c7 horde]# pear install -a horde/groupware
WARNING: "pear/Console_Getopt" is deprecated in favor of
"pear/Console_GetoptPlus"
Failed to download horde/Horde_Backup within preferred state "stable",
latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install

I guess I got so hung up on those three failures during the install
because of the subsequent error with:

[***@c7 horde]# groupware-install
PHP Warning: require_once(PEAR/Config.php): failed to open stream: No
such file or directory in /usr/bin/groupware-install on line 15

Warning: require_once(PEAR/Config.php): failed to open stream: No such
file or directory in /usr/bin/groupware-install on line 15
PHP Fatal error: require_once(): Failed opening required
'PEAR/Config.php' (include_path='.:/php/includes:/usr/share/pear
Fatal error: require_once(): Failed opening required 'PEAR/Config.php'
(include_path='.:/php/includes:/usr/share/pear

Based on the responses I've received, I was hoping that clearing up
the pear install failures would fix the groupware-install failure.

NOTE: The referenced Config.php that triggers "no such file" is
present, is in the include_path, and is world readable. So I'm not
understanding this error, either.

[***@box /]# ls -l /usr/share/pear/PEAR/Config.php
68 -rw-r--r--. 1 root root 67882 May 10 2016 /usr/share/pear/PEAR/Config.php
Post by Edward Burr
Post by Edward Burr
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
Edward Burr
2018-12-01 02:17:39 UTC
Permalink
Post by Edward Burr
Post by Edward Burr
Another thought, has anyone actually installed Horde Groupware on
CentOS 7.5 yet? Is there a preferred Linux distribution? I chose
CentOS because I work with Red Hat Enterprise Linux on a daily
basis at work.
Though I am concerned that with the Horde_Backup / Horde_Core
version requirement mismatch and their independence from any
Linux distribution, I wonder how anyone has gotten around that?
Is there something missing from the install documentation at
https://www.horde.org/apps/groupware/docs/INSTALL that I should
know about?
Post by Edward Burr
Post by Edward Burr
Post by Ralf Lang
Post by Edward Burr
Hi Ralf,
Thanks for the suggestion. 'yum install php-http' installed
php-pecl-http and now "pecl list" shows pecl_http is installed. So,
the step 2.5 issue appears to be cleared up?
But the step 3.1 and 3.3 issues remain.
Failed to download horde/Horde_Backup within preferred state "stable",
latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
Trying to install each manually fails.
If you are using distribution php, get the PECLs from
distribution (yum).
For installing RC packages, either preinstall Horde_Backup ignoring deps
(pear install -n horde/Horde_Backup) or allow installation of beta software
|pear config-setpreferred_state beta|
change to stable when you are done.
yum install php-sasl
yum install pecl-sasl
yum install pecl_sasl
yum install pear-sasl
yum install pear_sasl
# All result in "No package XXX available. Nothing to do."
yum install php-idn
# installed php-idn-1.2c-12
pecl install channel://pecl.php.net/idn-0.2.0
# still fails with same error
I uninstalled all the horde packages and pre-installed
Horde_Backup per your suggestion.
pear uninstall `pear list -c horde | tail -n +4 | awk '{ print "horde/"$1 }'`
pear install -n horde/Horde_Backup-1.0.0RC1
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
pear install horde/horde_role
pear run-scripts horde/horde_role
pear install -a horde/groupware
But Horde_Core failed to install, and many components
horde/Horde_Core requires package "horde/Horde_Backup"
2.0.0alpha1), installed version is 1.0.0RC1
ASpparently 1.0.0RC1 isn't greater than/equal to 1.0.0 even
Failed to download horde/Horde_Backup within preferred state
"stable", latest release is version 1.0.0RC1, stability
"beta", use "channel://pear.horde.org/Horde_Backup-1.0.0RC1"
to install
How do I satisfy this requirement?
The install directions appear pretty straightforward. I've got
to be missing something obvious, but I can't figure out what
it could be.
pear install horde/horde_backup-beta
downloading Horde_Backup-1.0.0RC1.tgz ...
Starting to download Horde_Backup-1.0.0RC1.tgz (8,518 bytes)
.....done: 8,518 bytes
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
which leaves us still with the same problem as above.
why do you install Horde_Backup at all? It's not required at all.
WARNING: "pear/Console_Getopt" is deprecated in favor of
"pear/Console_GetoptPlus"
Failed to download horde/Horde_Backup within preferred state
"stable", latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable",
latest release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
I guess I got so hung up on those three failures during the install
No such file or directory in /usr/bin/groupware-install on line 15
Warning: require_once(PEAR/Config.php): failed to open stream: No
such file or directory in /usr/bin/groupware-install on line 15
PHP Fatal error: require_once(): Failed opening required
'PEAR/Config.php' (include_path='.:/php/includes:/usr/share/pear
Fatal error: require_once(): Failed opening required
'PEAR/Config.php' (include_path='.:/php/includes:/usr/share/pear
Based on the responses I've received, I was hoping that clearing up
the pear install failures would fix the groupware-install failure.
No, these don't have anything to do with each other.
Post by Edward Burr
NOTE: The referenced Config.php that triggers "no such file" is
present, is in the include_path, and is world readable. So I'm not
understanding this error, either.
68 -rw-r--r--. 1 root root 67882 May 10 2016
/usr/share/pear/PEAR/Config.php
This doesn't make much sense indeed.
Okay, if I ignore the Horde_Backup, pecl/sasl, and pecl/idn failures
during the "pear install -a horde/groupware", I still get the
PEAR/Config.php not found error when I try the "groupware-install".
The responses focused on the first part, so I was hoping. Any thoughts
on troubleshooting the "groupware-install" failure then?

How can I verify that pear is actually using that include_path it says it is?
/etc/php.ini has:
include_path= .:/php/includes:/usr/share/pear"

OMG it's missing a "

Okay, I'm past this now. Sorry to bother you about this part.

The Horde_Backup, pecl/sasl, and pecl/idn failures still bug me, though.
--
Jan Schneider
The Horde Project
https://www.horde.org/
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
Grouchy Sysadmin
2018-12-01 04:02:22 UTC
Permalink
Post by Edward Burr
Post by Edward Burr
Post by Edward Burr
Another thought, has anyone actually installed Horde Groupware on
CentOS 7.5 yet? Is there a preferred Linux distribution? I chose
CentOS because I work with Red Hat Enterprise Linux on a daily
basis at work.
Though I am concerned that with the Horde_Backup / Horde_Core
version requirement mismatch and their independence from any Linux
distribution, I wonder how anyone has gotten around that?
Is there something missing from the install documentation at
https://www.horde.org/apps/groupware/docs/INSTALL that I should
know about?
Post by Edward Burr
Post by Edward Burr
Post by Ralf Lang
Post by Edward Burr
Hi Ralf,
Thanks for the suggestion. 'yum install php-http' installed
php-pecl-http and now "pecl list" shows pecl_http is
installed. So,
the step 2.5 issue appears to be cleared up?
But the step 3.1 and 3.3 issues remain.
Failed to download horde/Horde_Backup within preferred state "stable",
latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
Trying to install each manually fails.
If you are using distribution php, get the PECLs from
distribution (yum).
For installing RC packages, either preinstall Horde_Backup ignoring deps
(pear install -n horde/Horde_Backup) or allow installation of beta software
|pear config-setpreferred_state beta|
change to stable when you are done.
yum install php-sasl
yum install pecl-sasl
yum install pecl_sasl
yum install pear-sasl
yum install pear_sasl
# All result in "No package XXX available. Nothing to do."
yum install php-idn
# installed php-idn-1.2c-12
pecl install channel://pecl.php.net/idn-0.2.0
# still fails with same error
I uninstalled all the horde packages and pre-installed
Horde_Backup per your suggestion.
pear uninstall `pear list -c horde | tail -n +4 | awk '{ print "horde/"$1 }'`
pear install -n horde/Horde_Backup-1.0.0RC1
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
pear install horde/horde_role
pear run-scripts horde/horde_role
pear install -a horde/groupware
But Horde_Core failed to install, and many components depending
horde/Horde_Core requires package "horde/Horde_Backup" (version
2.0.0alpha1), installed version is 1.0.0RC1
ASpparently 1.0.0RC1 isn't greater than/equal to 1.0.0 even
Failed to download horde/Horde_Backup within preferred state
"stable", latest release is version 1.0.0RC1, stability "beta",
use "channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
How do I satisfy this requirement?
The install directions appear pretty straightforward. I've got
to be missing something obvious, but I can't figure out what it
could be.
pear install horde/horde_backup-beta
downloading Horde_Backup-1.0.0RC1.tgz ...
Starting to download Horde_Backup-1.0.0RC1.tgz (8,518 bytes)
.....done: 8,518 bytes
install ok: channel://pear.horde.org/Horde_Backup-1.0.0RC1
which leaves us still with the same problem as above.
why do you install Horde_Backup at all? It's not required at all.
WARNING: "pear/Console_Getopt" is deprecated in favor of
"pear/Console_GetoptPlus"
Failed to download horde/Horde_Backup within preferred state
"stable", latest release is version 1.0.0RC1, stability "beta", use
"channel://pear.horde.org/Horde_Backup-1.0.0RC1" to install
Failed to download pecl/sasl within preferred state "stable", latest
release is version 0.1.0, stability "alpha", use
"channel://pecl.php.net/sasl-0.1.0" to install
Failed to download pecl/idn within preferred state "stable", latest
release is version 0.2.0, stability "beta", use
"channel://pecl.php.net/idn-0.2.0" to install
I guess I got so hung up on those three failures during the install
No such file or directory in /usr/bin/groupware-install on line 15
Warning: require_once(PEAR/Config.php): failed to open stream: No
such file or directory in /usr/bin/groupware-install on line 15
PHP Fatal error:  require_once(): Failed opening required
'PEAR/Config.php' (include_path='.:/php/includes:/usr/share/pear
Fatal error: require_once(): Failed opening required
'PEAR/Config.php' (include_path='.:/php/includes:/usr/share/pear
Based on the responses I've received, I was hoping that clearing up
the pear install failures would fix the groupware-install failure.
No, these don't have anything to do with each other.
Post by Edward Burr
NOTE: The referenced Config.php that triggers "no such file" is
present, is in the include_path, and is world readable. So I'm not
understanding this error, either.
68 -rw-r--r--. 1 root root 67882 May 10  2016
/usr/share/pear/PEAR/Config.php
This doesn't make much sense indeed.
Okay, if I ignore the Horde_Backup, pecl/sasl, and pecl/idn failures
during the "pear install -a horde/groupware", I still get the
PEAR/Config.php not found error when I try the "groupware-install".
The responses focused on the first part, so I was hoping. Any thoughts
on troubleshooting the "groupware-install" failure then?
How can I verify that pear is actually using that include_path it says it is?
include_path= .:/php/includes:/usr/share/pear"
OMG it's missing a "
Okay, I'm past this now. Sorry to bother you about this part.
The Horde_Backup, pecl/sasl, and pecl/idn failures still bug me, though.
Perhaps an alternative view may be useful. I tend not to rely on
distribution packages. Instead, create an individual user account,
install pear locally, and then use the local pear installation to
install horde and dependencies. That's the way I've always done it, and
I've found far less issues.
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-***@lists.horde.org
Nels Lindquist
2018-12-03 21:41:30 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Edward Burr
Another thought, has anyone actually installed Horde Groupware on
CentOS 7.5 yet? Is there a preferred Linux distribution? I chose
CentOS because I work with Red Hat Enterprise Linux on a daily
basis at work.
Yes, definitely. I have a couple of CentOS 7.x VPSs with Horde
Groupware Webmail Edition installed.
Post by Edward Burr
Though I am concerned that with the Horde_Backup / Horde_Core
version requirement mismatch and their independence from any Linux
distribution, I wonder how anyone has gotten around that?
I don't have Horde_Backup installed anywhere; not sure where that
requirement stems from.
Post by Edward Burr
Is there something missing from the install documentation at
https://www.horde.org/apps/groupware/docs/INSTALL that I should
know about?
It looks pretty straightforward to me, and equivalent to the
horde/webmail channel. (Incidentally, are you sure you don't want the
webmail edition? Most people want IMP, which is bundled with the
Webmail Edition but not bare Groupware).

Looking at the steps you've gone through, I'd recommend a couple of
things. One is to get a newer version of PHP using the webtatic
repository:

https://webtatic.com/projects/yum-repository/

The stock PHP even for RHEL/CentOS 7.x is PHP 5.4, and you'd likely be
better off with at least 5.6 if not 7.1, both of which are available
from webtatic. Don't neglect the yum-plugin-replace package (also from
webtatic) which allows you to do things like:

"yum replace php-common --replace-with php71w-common"

which will figure out all the dependencies and (mostly) seamlessly
replace one version of all your installed php packages with another.

The other thing I'd change is to add -B to your pear command line for
the initial install, so:

"pear install -a -B horde/groupware" (or horde/webmail if you also
want IMP)

which will leave out the binary dependencies. You should be able to
install most of the required pecl modules directly from the webtatic
repository; the only one I actually had to build locally is the
optional (but recommended) horde_lz4 package.

- ----
Nels Lindquist
<***@maei.ca>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlwFowoACgkQh6z5POoOLgTajQCgrAmWmpchkIfRmV1IKiPXpgaI
OqIAn16IEF2TMiJS47dzVzYNfiNewOUr
=mmKf
-----END PGP SIGNATURE-----
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-***@lists.horde.org
Loading...