[imp] cvs install

Thierry CHEN frms at webologix.com
Mon Sep 28 12:12:45 UTC 2009


Quoting Michael Rubinsky <mrubinsk at horde.org>:

>
> Quoting Thierry CHEN <frms at webologix.com>:
>
>> Quoting "Michael J. Rubinsky" <mrubinsk at horde.org>:
>>
>>>
>>> Quoting Thierry CHEN <frms at webologix.com>:
>>>
>>>> Quoting Thierry CHEN <frms at webologix.com>:
>>>>
>>>>> Quoting Jan Schneider <jan at horde.org>:
>>>>>
>>>>> [Show Quoted Text - 19 lines][Hide Quoted Text]
>>>>> Zitat von Thierry CHEN <frms at webologix.com>:
>>>>>
>>>>>
>>>>>
>>>>>>> I installed the CVS FRAMEWORK_3.
>>>>>>> Buthttp://localhost/horde/test.php gives :
>>>>>>>
>>>>>>> "Warning: include_once(Log.php) [function.include-once[1]]: failed
>>>>>>> to open stream: No such file or directory in
>>>>>>> /var/www/horde/framework/Horde/Horde.php on line /3/"
>>>>>>>
>>>>>>> Where should I find that file ?
>>>>>
>>>>>> How to know all the dependencies needed for a proper install ?
>>>>> docs/INSTALL
>>>>>
>>>>> Jan.
>>>>>
>>>>> If I just follow that INSTALL document the message is:
>>>>> ( ! ) Warning: include_once(Horde.php) [function.include-once[1]]:
>>>>> failed to open stream: No such file or directory in
>>>>> /var/www/horde_cvs/lib/core.php on line /40/
>>>>>
>>>> If I set include_path in core.php to:
>>>>
>>>> /ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR .
>>>> '/var/www/horde/framework/Horde' . PATH_SEPARATOR .
>>>> dirname(__FILE__));//kmc_rc/
>>>
>>> It looks like you are pointing the include path at the source tree
>>> for framework, not the installed directory.
>>>
>>>
>>>> I get:
>>>>
>>>> Warning: include_once(Horde/Util.php) [function.include-once[1]]:
>>>> failed to open stream: No such file or directory in
>>>> /var/www/horde/framework/Horde/Horde.php on line 4
>>>>
>>>> How far should I go to get it work ? I think I've missed something
>>>> at install. I loaded first horde, then framework under horde
>>>> directory. Was there something else to load or to set ?
>>>>
>>>>> --
>>>>> Thierry CHEN
>>>>> webologix.com
>>>>>
>> And where is that " installed directory" ?
>> How could I have guess it ?
>
> By reading. docs/INSTALL or http://horde.org/horde/docs/?f=INSTALL.html
>
> Section 3, Prerequisites: http://horde.org/horde/docs/?f=INSTALL.html#id3
>
> ...or reading the PEAR documentation to find out how to get the 
> location of your pear install path...or probably a multitude of other 
> ways.
>
> If you are going to use CVS code for a project written in PHP, it's 
> expected that you have a certain level of familiarity with PHP 
> related tools. Otherwise you would be better off with a distributed 
> release, such as one of the bundles that takes care of most of this 
> for you.
>
Thanks for your very good advices.
I've read and execute all this. my include path contains /usr/share/php/PEAR where all pear modules have been installed. Is it what you call the "installed directory" or /var/www/horde/framework where I installed horde framework which is also in my include path ?

There are many warnings when I execute intall-packages.php like :

Installing iCalendar:
warning: horde/iCalendar requires package "horde/Util"
install ok: channel://pear.horde.org/iCalendar-0.1.0

But the "horde/Util" is in the framework directory where the install.packages.php[1]  excutes. And include_path contains also '.'. Is there another Util needed ?

>
> Thanks,
> mike
>
> --
> The Horde Project (www.horde.org)
> mrubinsk at horde.org
>
> "Time just hates me. That's why it made me an adult." - Josh Joplin
> -- 
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
>
>

-- 
Thierry CHEN
webologix.com

Links:
------
[1] http://install.packages.php


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the imp mailing list