[imp] cvs install

Thierry CHEN frms at webologix.com
Wed Sep 30 11:34:01 UTC 2009


Quoting Michael Rubinsky <mrubinsk at horde.org>:

>
> 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
> -- 
> 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
>

You are very much more talkative to defend your attitude than to help on your pear install. I installed, used and sometimes participate to many open source projects (joomla, gallery2, e-groupware,...) and was very interested to discover your "php groupware application" cause I think the web is the place where such applications have to be. 

But after one month of headake I end with a 1.2.4 version that hangs up with javascript alerts when I try to set up an alarm on calendar plus the need of changing my indentitiy's message each time I answer to that unpractical mailing list (cause I had to forward all my email adresses to only one for use with horde), and a 3.3.4 version that gives a blank page on test.php with no any error message. And I see 4.4 version acoming that let me think your team changed internal structure 4 times (!) and still distribute first version as stable... Don't your team need some better organisation ? Mailing list, for ex, is awfull compared to forums. If I compare to others your project is a very good started idea but an awfull realisation. 

Don't receive this post as an insult but as constructive critics from someone who thinks that your start idea is very good. 

For the moment I give up with my intend to participate to that project cause my allowed time is out bounded (and some other posts let me think I'm not alone to think that way. Smart people hate to waste time understanding useless complex things. Joomla for ex installs in a mn with no bugs and gives usefull enough skeletons to add new components even if it lacks documentation like many open source projects). I'll try to stay as an horde user, anyway.

Thanks a lot guys for that v 1.2.4 that promises a lot of good things in a few years...;-)

-- 
Thierry CHEN
webologix.com

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


More information about the imp mailing list