On 17/05/2010, at 15:21, Gunnar Wolf wrote:
> Alejandro Barrera dijo [Fri, May 14, 2010 at 09:01:42PM +0200]:
>>>  find /usr -name 'cherokee*' -print
>>> 
>>> Usually is the problem is related to having Cherokee in two different
>>> installation paths (/usr and /usr/local).
>> 
>> Hmm, just for the sake of usability, we could be more verbose about that 
>> error. Something like:
>> 
>> "ERROR: Broken installation detected. Found other cherokee vers in 
>> /usr/local/... Please remove it first."
>> 
>> :)
> 
> This would be bad on many accounts. First of all, you as a local admin
> might have _legitimate_ reasons to have more than one version of a
> given program installed, Cherokee included - And they can work
> reliably i.e. by setting rpath to their corresponding
> libraries. Second, it could incur in a noticeable slowdown at startup,
> while offending binaries are located. 

IMHO both of you guys are right..

Here is the patch a committed a few hours ago. It leaves the same error 
message, at the same time that it tries to point the user in the right 
direction: http://svn.cherokee-project.com/changeset/5102

I reckon it will be enough to solve ~90% of the issues. The other 10% will be 
either people who understand how rpath works, or people who don't have a clue 
about what they are doing or what the find command does.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to