[horde] ActiveSync installation problem
Luis Felipe Marzagao
lfbm.andamentos at gmail.com
Wed Mar 6 13:26:59 UTC 2019
Em 11/02/2019 02:26, Michael J Rubinsky escreveu:
>
> Quoting Arjen de Korte <build+horde at de-korte.org>:
>
>> Citeren Michael J Rubinsky <mrubinsk at horde.org>:
>>
>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>
>>>> Quoting Arjen de Korte <build+horde at de-korte.org>:
>>>>
>>>>> Citeren Harlan <harlan.bloom at gmail.com>:
>>>>>
>>>>>> Hello,
>>>>>> When I go into Admin->Config from the webmail interface, I get
>>>>>> this error:
>>>>>> Class 'Horde_ActiveSync_State_Sql' not found
>>>>>> Google searches tell me I need to install ActiveSync. Ok. No
>>>>>> problem, sort of:
>>>>>>
>>>>>> # pear install --alldeps horde/Horde_ActiveSync
>>>>>> Package "pear.horde.org/Horde_Mapi" dependency
>>>>>> "pear.php.net/Math_BigInteger" has no releases
>>>>>> horde/Horde_Mapi requires package "pear/Math_BigInteger" (version
>>>>>> >= 1.0.2, version <= 2.0.0, excluded versions: 2.0.0)
>>>>>> horde/Horde_ActiveSync requires package "horde/Horde_Mapi"
>>>>>> (version >= 1.0.0, version <= 2.0.0alpha1, excluded versions:
>>>>>> 2.0.0alpha1)
>>>>>> No valid packages found
>>>>>> install failed
>>>>>> # pear install --alldeps horde/Horde_Mapi
>>>>>> Package "pear.horde.org/Horde_Mapi" dependency
>>>>>> "pear.php.net/Math_BigInteger" has no releases
>>>>>> horde/Horde_Mapi requires package "pear/Math_BigInteger" (version
>>>>>> >= 1.0.2, version <= 2.0.0, excluded versions: 2.0.0)
>>>>>> No valid packages found
>>>>>> install failed
>>>>>> # pear install --alldeps horde/Horde_BigInteger
>>>>>> No releases available for package "pear.horde.org/Horde_BigInteger"
>>>>>> install failed
>>>>>>
>>>>>> # pear list -c pear.horde.org
>>>>>> Installed packages, channel pear.horde.org:
>>>>>> ===========================================
>>>>>> Package Version State
>>>>>> Horde_Alarm 2.2.10 stable
>>>>>> Horde_Argv 2.1.0 stable
>>>>>> Horde_Auth 2.2.2 stable
>>>>>> Horde_Autoloader 2.1.2 stable
>>>>>> Horde_Browser 2.0.16 stable
>>>>>> Horde_Cache 2.5.5 stable
>>>>>> Horde_Cli 2.3.0 stable
>>>>>> Horde_Compress 2.2.1 stable
>>>>>> Horde_Compress_Fast 1.1.1 stable
>>>>>> Horde_Constraint 2.0.3 stable
>>>>>> Horde_Controller 2.0.5 stable
>>>>>> Horde_Core 2.31.7 stable
>>>>>> Horde_Crypt 2.7.12 stable
>>>>>> Horde_Crypt_Blowfish 1.1.2 stable
>>>>>> Horde_CssMinify 1.0.4 stable
>>>>>> Horde_Css_Parser 1.0.11 stable
>>>>>> Horde_Data 2.1.4 stable
>>>>>> Horde_Date 2.4.1 stable
>>>>>> Horde_Date_Parser 2.0.6 stable
>>>>>> Horde_Dav 1.1.4 stable
>>>>>> Horde_Db 2.4.0 stable
>>>>>> Horde_Editor 2.0.5 stable
>>>>>> Horde_ElasticSearch 1.0.4 stable
>>>>>> Horde_Exception 2.0.8 stable
>>>>>> Horde_Feed 2.0.4 stable
>>>>>> Horde_Form 2.0.19 stable
>>>>>> Horde_Group 2.1.1 stable
>>>>>> Horde_HashTable 1.2.6 stable
>>>>>> Horde_History 2.3.6 stable
>>>>>> Horde_Http 2.1.7 stable
>>>>>> Horde_Icalendar 2.1.8 stable
>>>>>> Horde_Idna 1.1.1 stable
>>>>>> Horde_Image 2.6.0 stable
>>>>>> Horde_Imap_Client 2.29.16 stable
>>>>>> Horde_Imsp 2.0.10 stable
>>>>>> Horde_Injector 2.0.5 stable
>>>>>> Horde_Itip 2.1.2 stable
>>>>>> Horde_JavascriptMinify 1.1.5 stable
>>>>>> Horde_JavascriptMinify_Jsmin 1.0.2 stable
>>>>>> Horde_Kolab_Format 2.0.9 stable
>>>>>> Horde_Kolab_Server 2.0.5 stable
>>>>>> Horde_Kolab_Session 2.0.3 stable
>>>>>> Horde_Kolab_Storage 2.2.3 stable
>>>>>> Horde_ListHeaders 1.2.5 stable
>>>>>> Horde_Lock 2.1.4 stable
>>>>>> Horde_Log 2.3.0 stable
>>>>>> Horde_LoginTasks 2.0.7 stable
>>>>>> Horde_Mail 2.6.4 stable
>>>>>> Horde_Mail_Autoconfig 1.0.3 stable
>>>>>> Horde_Mime 2.11.0 stable
>>>>>> Horde_Mime_Viewer 2.2.2 stable
>>>>>> Horde_Mongo 1.1.0 stable
>>>>>> Horde_Nls 2.2.1 stable
>>>>>> Horde_Notification 2.0.4 stable
>>>>>> Horde_Oauth 2.0.4 stable
>>>>>> Horde_OpenXchange 1.0.1 stable
>>>>>> Horde_Pack 1.0.7 stable
>>>>>> Horde_Perms 2.1.7 stable
>>>>>> Horde_Prefs 2.9.0 stable
>>>>>> Horde_Queue 1.1.5 stable
>>>>>> Horde_Rdo 2.1.0 stable
>>>>>> Horde_Role 1.0.1 stable
>>>>>> Horde_Routes 2.0.5 stable
>>>>>> Horde_Rpc 2.1.8 stable
>>>>>> Horde_Scribe 2.0.3 stable
>>>>>> Horde_Secret 2.0.6 stable
>>>>>> Horde_Serialize 2.0.5 stable
>>>>>> Horde_Service_Facebook 2.0.10 stable
>>>>>> Horde_Service_Gravatar 1.0.1 stable
>>>>>> Horde_Service_Twitter 2.1.6 stable
>>>>>> Horde_Service_Weather 2.5.4 stable
>>>>>> Horde_SessionHandler 2.2.9 stable
>>>>>> Horde_Share 2.2.0 stable
>>>>>> Horde_Smtp 1.9.5 stable
>>>>>> Horde_Socket_Client 2.1.2 stable
>>>>>> Horde_SpellChecker 2.1.3 stable
>>>>>> Horde_Stream 1.6.3 stable
>>>>>> Horde_Stream_Filter 2.0.4 stable
>>>>>> Horde_Stream_Wrapper 2.1.4 stable
>>>>>> Horde_Support 2.2.0 stable
>>>>>> Horde_SyncMl 2.0.7 stable
>>>>>> Horde_Template 2.0.3 stable
>>>>>> Horde_Test 2.6.3 stable
>>>>>> Horde_Text_Diff 2.2.0 stable
>>>>>> Horde_Text_Filter 2.3.6 stable
>>>>>> Horde_Text_Flowed 2.0.3 stable
>>>>>> Horde_Thrift 2.0.3 stable
>>>>>> Horde_Timezone 1.1.0 stable
>>>>>> Horde_Token 2.0.9 stable
>>>>>> Horde_Translation 2.2.2 stable
>>>>>> Horde_Tree 2.0.5 stable
>>>>>> Horde_Url 2.2.6 stable
>>>>>> Horde_Util 2.5.8 stable
>>>>>> Horde_Vfs 2.4.0 stable
>>>>>> Horde_View 2.0.6 stable
>>>>>> Horde_Xml_Element 2.0.4 stable
>>>>>> Horde_Xml_Wbxml 2.0.3 stable
>>>>>> content 2.0.6 stable
>>>>>> horde 5.2.20 stable
>>>>>> horde_lz4 1.0.10 stable
>>>>>> imp 6.2.23 stable
>>>>>> kronolith 4.2.27 stable
>>>>>> wicked 2.0.8 stable
>>>>>>
>>>>>> As far as I know, everything is reasonably update to date.
>>>>>>
>>>>>> Anyone have any suggestions on what I'm missing? Or what I
>>>>>> should be doing instead?
>>>>>
>>>>> There has been a security breach on the pear.php.net server and
>>>>> the channel has been taken offline as a result. If you're doing a
>>>>> new installation, chances are that you'll need a number of
>>>>> packages from that channel.
>>>>>
>>>>> See https://twitter.com/pear to see what has gone wrong and what
>>>>> you can do in the mean time if you can't wait until the service is
>>>>> restored. In short, since you're only missing one package from the
>>>>> PEAR channel, you might grab Math_Biginteger from GitHub:
>>>>>
>>>>> wget
>>>>> https://github.com/pear/Math_BigInteger/archive/v1.0.3.tar.gz -O
>>>>> Math_BigInteger-1.0.3.tar.gz
>>>>> pear install Math_BigInteger-1.0.3.tar.gz
>>>>>
>>>>> After than, try to install Horde_ActiveSync again.
>>>>
>>>>
>>>> Or, alternatively, if you don't plan on using ActiveSync, you can
>>>> disable it by editing horde/config/conf.php and setting
>>>> $conf['activesync']['enabled'] = true;
>>>>
>>>> Horde_ActiveSync isn't a required dependency, you only need it if
>>>> you want to use it to use it to sync to, for example, your mobile
>>>> phone.
>>>>
>>>
>>> ...and even one step further, we removed support for Math_BigInteger
>>> some time ago (it is buggy and causes memory issues), replaced by
>>> the bcmath php extension. Unfortunately, that update was never
>>> released to stable. I have pushed that live, for what it's worth.
>>
>> The unit tests in the PEAR package for Horde_Compress still requires it.
>
> Fixed and released.
>
>
As a side note, for Ubuntu 18.04, you must install php-bcmath before
installing kronolith, otherwise Horde_Activesync will not be installed
due to missing dependencies.
More information about the horde
mailing list