[dev] Horde installation and test.php

Sebastian Birnbach birnbacs at gmail.com
Thu Jan 3 12:59:33 UTC 2019


Dry as ever, helpful as can be :-)
Thanks Jan, you nailed it!

  Seb.

Am Do., 3. Jan. 2019 um 13:52 Uhr schrieb Jan Schneider <jan at horde.org>:

> Don't install it. It's an optional dependency.
>
> Zitat von Sebastian Birnbach <birnbacs at gmail.com>:
>
> > Thanks Michael, but what does that mean for current Horde? Jan and Ralf
> > were quite definite that Horde is PHP7 compatible, so how do you run it
> > without Fstab?
> > I don't care much about the portal block but I'd hate to do without
> > test.php.
> >
> >   Seb.
> >
> > Am Do., 3. Jan. 2019 um 13:15 Uhr schrieb Michael J Rubinsky <
> > mrubinsk at horde.org>:
> >
> >> That is a PEAR library, not a Horde library and it is not compatible
> >> with PHP 7. I think the only place it's used is in the "Accounts"
> >> portal block.
> >>
> >> mike
> >> Sent from mobile
> >> ________________________________
> >> From: Sebastian Birnbach <birnbacs at gmail.com>
> >> Sent: Thursday, January 3, 2019 5:49 AM
> >> To: dev at lists.horde.org
> >> Subject: [dev] Horde installation and test.php
> >>
> >> > After 10 days of fiddling with pkg I finally resolved to build Horde
> the
> >> > hard way, that is, with self-compiled everything, starting with PHP,
> and
> >> > pulling Horde via pear.
> >> >
> >> > This proved successful and I could overcome problems I had before
> (like
> >> > being unable to install the 'passwd' application, or a version
> mismatch
> >> > with libicu for dovecot).
> >> >
> >> > Horde and Imp seem to be fine as far as I could test so far. However,
> >> upon
> >> > running test.php I get an error I don't understand, maybe you guys can
> >> give
> >> > me a hand with this, please:
> >> >
> >> > Ein schwerer Fehler ist aufgetreten:
> >> > syntax error, unexpected 'new' (T_NEW)in
> >> > /usr/local/share/pear/File/Fstab.php:110
> >> >
> >> > 1. Horde_Test->pearModuleCheck() /usr/local/www/horde/test.php:135
> >> > 2. class_exists() /usr/local/www/horde/lib/Test.php:646
> >> > 3. spl_autoload_call()
> >> > 4. Horde_Autoloader->loadClass()
> >> > 5. Horde_Autoloader->_include()
> >> /usr/local/share/pear/Horde/Autoloader.php:65
> >> >
> >> > DetailsDie vollständige Fehlermeldung wurde in Hordes Logdatei
> >> geschrieben
> >> > und für Administratoren weiter unten ausgegeben. Benutzer, die keine
> >> > Administratoren sind, bekommen diese Details nicht zu sehen.
> >> >
> >> > ParseError Object
> >> > (
> >> >     [message:protected] => syntax error, unexpected 'new' (T_NEW)
> >> >     [string:Error:private] => ParseError: syntax error, unexpected
> >> > 'new' (T_NEW) in /usr/local/share/pear/File/Fstab.php:110
> >> > Stack trace:
> >> > #0 /usr/local/share/pear/Horde/Autoloader.php(65):
> >> > Horde_Autoloader->_include('/usr/local/shar...')
> >> > #1 [internal function]: Horde_Autoloader->loadClass('File_Fstab')
> >> > #2 [internal function]: spl_autoload_call('File_Fstab')
> >> > #3 /usr/local/www/horde/lib/Test.php(646): class_exists('File_Fstab')
> >> > #4 /usr/local/www/horde/test.php(135): Horde_Test->pearModuleCheck()
> >> > #5 {main}
> >> >     [code:protected] => 0
> >> >     [file:protected] => /usr/local/share/pear/File/Fstab.php
> >> >     [line:protected] => 110
> >> >     [trace:Error:private] => Array
> >> >         (
> >> >             [0] => Array
> >> >                 (
> >> >                     [file] =>
> /usr/local/share/pear/Horde/Autoloader.php
> >> >                     [line] => 65
> >> >                     [function] => _include
> >> >                     [class] => Horde_Autoloader
> >> >                     [type] => ->
> >> >                     [args] => Array
> >> >                         (
> >> >                             [0] =>
> /usr/local/share/pear/File/Fstab.php
> >> >                         )
> >> >
> >> >                 )
> >> >
> >> >             [1] => Array
> >> >                 (
> >> >                     [function] => loadClass
> >> >                     [class] => Horde_Autoloader
> >> >                     [type] => ->
> >> >                     [args] => Array
> >> >                         (
> >> >                             [0] => File_Fstab
> >> >                         )
> >> >
> >> >                 )
> >> >
> >> >             [2] => Array
> >> >                 (
> >> >                     [function] => spl_autoload_call
> >> >                     [args] => Array
> >> >                         (
> >> >                             [0] => File_Fstab
> >> >                         )
> >> >
> >> >                 )
> >> >
> >> >             [3] => Array
> >> >                 (
> >> >                     [file] => /usr/local/www/horde/lib/Test.php
> >> >                     [line] => 646
> >> >                     [function] => class_exists
> >> >                     [args] => Array
> >> >                         (
> >> >                             [0] => File_Fstab
> >> >                         )
> >> >
> >> >                 )
> >> >
> >> >             [4] => Array
> >> >                 (
> >> >                     [file] => /usr/local/www/horde/test.php
> >> >                     [line] => 135
> >> >                     [function] => pearModuleCheck
> >> >                     [class] => Horde_Test
> >> >                     [type] => ->
> >> >                     [args] => Array
> >> >                         (
> >> >                         )
> >> >
> >> >                 )
> >> >
> >> >         )
> >> >
> >> >     [previous:Error:private] =>
> >> > )
> >> >
> >> >
> >> >
> >> > Here are the warnings I ignored during installation:
> >> > WARNING: "pear/Console_Getopt" is deprecated in favor of
> >> > "pear/Console_GetoptPlus"
> >> > 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 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/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
> >> > WARNING: "pear/HTTP_Request" is deprecated in favor of
> >> "pear/HTTP_Request2"
> >> > WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
> >> > Failed to download pear/SOAP within preferred state "stable", latest
> >> > release is version 0.14.0, stability "beta", use "channel://
> >> > pear.php.net/SOAP-0.14.0" to install
> >> > Failed to download pear/XML_Serializer within preferred state
> "stable",
> >> > latest release is version 0.21.0, stability "beta", use "channel://
> >> > pear.php.net/XML_Serializer-0.21.0" to install
> >> > Failed to download pear/Console_Color2 within preferred state
> "stable",
> >> > latest release is version 0.1.2, stability "alpha", use "channel://
> >> > pear.php.net/Console_Color2-0.1.2" to install
> >> > Unknown remote channel: pear.nrk.io
> >> > WARNING: "pear/HTTP_Request" is deprecated in favor of
> >> "pear/HTTP_Request2"
> >> > WARNING: "pecl/mongo" is deprecated in favor of "channel:///mongodb"
> >> > Failed to download pear/Numbers_Words within preferred state "stable",
> >> > latest release is version 0.18.2, stability "beta", use "channel://
> >> > pear.php.net/Numbers_Words-0.18.2" to install
> >> > Failed to download pear/Image_Text within preferred state "stable",
> >> latest
> >> > release is version 0.7.0, stability "beta", use "channel://
> >> > pear.php.net/Image_Text-0.7.0" to install
> >> > WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2"
> >> > WARNING: "pear/Net_URL" is deprecated in favor of "pear/Net_URL2"
> >> > WARNING: "pear/HTTP_Request" is deprecated in favor of
> >> "pear/HTTP_Request2"
> >> > WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2"
> >> >
> >> > Any help greatly appreciated
> >> >
> >> >   birnbacs
> >> > --
> >> > dev mailing list
> >> > Frequently Asked Questions: http://wiki.horde.org/FAQ
> >> > To unsubscribe, mail: dev-unsubscribe at lists.horde.org
> >> >
> >>
> >>
> >>
>
>
>
> --
> Jan Schneider
> The Horde Project
> https://www.horde.org/
>
> --
> dev mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>


More information about the dev mailing list