Re: problem with new install on new Centos 7.5 system

Edward Burr <[email protected]>
Newsgroups gmane.comp.horde.user
Message-ID <[email protected]>
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




Quoting Ralf Lang <[email protected]>:

> Hi Edward,
>
> Am 13.11.18 um 15:23 schrieb 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.
>>
>> 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
>>
>>
>>
>>
> 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
> Mail: [email protected]
> 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: [email protected]
smime.p7s (application/pkcs7-signature, 4.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.