[horde] horde install fails with many errors

Jan Schneider jan at horde.org
Sun Nov 17 21:11:33 UTC 2013


Zitat von Eric Levy <contact at ericlevy.name>:

> On 11/16/2013 01:01 PM, Simon B wrote:
>>
>> On 16 Nov 2013 18:49, "Eric Levy" <contact at ericlevy.name
>> <mailto:contact at ericlevy.name>> wrote:
>> >
>> >
>> >
>> > On 11/16/2013 12:09 PM, Jan Schneider wrote:
>> >>
>> >>
>> >> Zitat von Eric Levy <contact at ericlevy.name
>> <mailto:contact at ericlevy.name>>:
>> >>
>> >>> Quoting Michael J Rubinsky <mrubinsk at horde.org
>> <mailto:mrubinsk at horde.org>>:
>> >>>
>> >>>> Please keep discussions on the list.
>> >>>>
>> >>>> Quoting Eric Levy <contact at ericlevy.name
>> <mailto:contact at ericlevy.name>>:
>> >>>>
>> >>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org
>> <mailto:mrubinsk at horde.org>>:
>> >>>>>
>> >>>>>>
>> >>>>>> Quoting Eric Levy <contact at ericlevy.name
>> <mailto:contact at ericlevy.name>>:
>> >>>>>>
>> >>>>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org
>> <mailto:mrubinsk at horde.org>>:
>> >>>>>>>
>> >>>>>>>>
>> >>>>>>>> Quoting Eric Levy <contact at ericlevy.name
>> <mailto:contact at ericlevy.name>>:
>> >>>>>>>>
>> >>>>>>>>> Hello,
>> >>>>>>>>>
>> >>>>>>>>> I followed the directions for downloading Horde from the pear
>> >>>>>>>>> repository.  Unfortunately, Pear fails to install many of the
>> >>>>>>>>> necessary packages.  I am running:
>> >>>>>>>>>
>> >>>>>>>>> % pear -c <tgt_dir>/pear.conf install -a horde/groupware
>> >>>>>>>>>
>> >>>>>>>>> I have saved a complete log of the output of this operation,
>> >>>>>>>>> but  I   am unable to post it because the list moderator
>> >>>>>>>>> declined to   approve  my previous post because of its size
>> >>>>>>>>> exceeding 40 KB.
>> >>>>>>>>>
>> >>>>>>>>> Some sample lines from the log are:
>> >>>>>>>>>
>> >>>>>>>>> Validation Error: File "turba/config/conf.d/10-groupware.xml"
>> >>>>>>>>> in    directory "<dir name="/">" has invalid role "horde",
>> >>>>>>>>> should be  one   of cfg, data, doc, php, script, test, www
>> >>>>>>>>>
>> >>>>>>>>> Validation Error: This package contains role "horde" and
>> >>>>>>>>> requires   package "horde/Role" to be used
>> >>>>>>>>>
>> >>>>>>>>> I am hopeful that someone can help me achieve a resolution.
>> >>>>>>>>> Thank you.
>> >>>>>>>>>
>> >>>>>>>>> Eric Levy
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> --
>> >>>>>>>>> Horde mailing list
>> >>>>>>>>> Frequently Asked Questions: http://horde.org/faq/
>> >>>>>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>> <mailto:horde-unsubscribe at lists.horde.org>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> You did not install Horde_Role correctly.
>> >>>>>>>> --
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> Well, as instructed, I ran:
>> >>>>>>>
>> >>>>>>> % pear -c <dir>/pear.conf install horde/horde_role
>> >>>>>>
>> >>>>>>
>> >>>>>> This installed horde/horde_role into your system-wide pear. You
>> >>>>>> should  install it into your custom pear.
>> >>>>>>
>> >>>>>>
>> >>>>>>> then
>> >>>>>>>
>> >>>>>>> % <dir>/pear/pear -c <dir>/pear.conf run-scripts horde/horde_role
>> >>>>>>>
>> >>>>>>> which both succeeded.
>> >>>>>>>
>> >>>>>>> (When I attempted using the system pear executable for the
>> >>>>>>> second   step, I received the message: "Could not save horde_dir
>> >>>>>>> configuration value to PEAR config.")
>> >>>>>>>
>> >>>>>>> Since the Horde_Role install appears to have succeeded, how can
>> >>>>>>> I   diagnose the issue?
>> >>>>>>>
>> >>>>>>> Eric Levy
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> The discussion gave me the idea to try installing horde with the
>> >>>>> pear executable in the custom location.  This worked correctly.
>> >>>>
>> >>>>
>> >>>> *Every* command needs to performed with the custom pear binary.
>> >>>> From INSTALL:
>> >>>>
>> >>>> Then follow the regular installation steps, but use the pear command
>> >>>> from the PEAR installation you just created, e.g.:
>> >>>>
>> >>>> /var/www/webmail/pear/pear -c /var/www/webmail/pear.conf \
>> >>>>    channel-discover pear.horde.org <http://pear.horde.org>
>> >>>>
>> >>>
>> >>> I have been able now to install Horde with pear.  Thank you.
>> >>>
>> >>> Presently, I when point my browser to test.php, I see the following
>> >>> message:
>> >>>
>> >>> Could not find Horde's framework libraries in the following path(s):
>> >>> <install_dir>/lib:.:/usr/lib/php:/usr/local/lib/php. Please read
>> >>> horde/docs/INSTALL for information on how to install these libraries.
>> >>>
>> >>> I have verified that <install_dir>/lib exists and contains:
>> >>>
>> >>> ./   Ajax/    Application.php  core.php   LoginTasks/  Test.php  Tree/
>> >>> ../  Api.php  Block/           .htaccess  Prefs/       tests/    View/
>> >>>
>> >>> Is there any reason why test.php wouldn't be able to find these
>> >>> libraries?
>> >>>
>> >>> Eric Levy
>> >>
>> >>
>> >> Your install location is not in the install path. This is explained in
>> >> the FAQ. Rule 1: don't install into a separate pear until you absolutely
>> >> have to.
>> >
>> >
>> > Well I do absolutely have to, because I have no administrative access
>> to the machine.
>> >
>> > I set the install path to <dir> and the pear config file path to
>> <dir>/pear.conf.  I believe this is consistent with the instructions in
>> the documentation.
>> >
>> > I hope you are willing to help.
>>
>> This more or less happened to me.  Scrap the entire install and start
>> again, be sure to use the  separate pear path every time you call pear.
>>
>> Or, try installing with git?
>>
>> Simon
>>
>
> I just tried the first suggestion, doing a clean install, and the  
> result is the same.  index.php produces this error:
>
> Warning: require_once(Horde/Autoloader/Default.php)  
> [function.require-once]: failed to open stream: No such file or  
> directory in <dir>/lib/core.php on line 47
>
> Fatal error: require_once() [function.require]: Failed opening  
> required 'Horde/Autoloader/Default.php'  
> (include_path='<dir>/lib:.:/usr/lib/php:/usr/local/lib/php') in  
> <dir>/lib/core.php on line 47

As already suggested earlier, you don't have your PEAR installation  
directory in your include_path.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list