[imp] cvs install

Michael Rubinsky mrubinsk at horde.org
Tue Sep 29 16:34:29 UTC 2009


Quoting Thierry CHEN <frms at webologix.com>:

> Quoting Thierry CHEN <frms at webologix.com>:
>
>> 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 ?
>>
> For help to newbies like me:
> Finally installed horde_3.3.4.RC1with success.
> Had to read the script install_packages.php to understand what  
> happens. No docs and no more horde's team help.

If by "no more horde's team help" you mean we didn't have the time or  
inclination to teach you how PEAR works, then I guess we are guilty as  
charged.  This is basic stuff.  Again, if you are going to be  
installing a PHP project directly from the source code repository and  
*not* from any of the myriad available pre-packaged options, then you  
are expected to have a certain level of knowledge with regards to  
working with PHP and it's related tools, such as PEAR.


The "framework"
> downloaded is not used as is but has to be installed as a PEAR  
> package with install_packages script.

...or symlinked with the symlink script, but essentially, yes, this is  
correct since they *are* pear packages after all.


> Some dependencies are not verified by install_packages (whitch is  
> not present on all CVS branches)

Really? Which CVS branch of framework did you checkout the did not  
contain this file?


  and I had to install the missed one
> through pear manually:
>
> /# pear install --alldeps horde/Util/
>
> untill no more warnings are seen on the website. Hope this will help.

Not sure why you needed to do this. The install-packages script  
installs this with no issues when used correctly.

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


More information about the imp mailing list