On Thu, Jul 24, 2008 at 4:46 PM, G. T. Stresen-Reuter
<[EMAIL PROTECTED]> wrote:
> Getting there... see below... Are you sure you want to go down this path
> with me? Your help is greatly appreciated, but if I poke around enough I'll
> eventually get it installed...
>
> On Jul 24, 2008, at 10:40 PM, Hannes Magnusson wrote:
>
>> On Thu, Jul 24, 2008 at 23:37, G. T. Stresen-Reuter
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> On Jul 24, 2008, at 10:20 PM, Hannes Magnusson wrote:
>>>
>>>>> I'm pretty sure I'm running either 0.2.6 or 0.2.7... Any way I can find
>>>>> out
>>>>> for sure?
>>>>
>>>> phd -V gives you the installed version.
>>>
>>> /usr/local/php5/bin/phd -V
>>> [23:35:40] PhD version: 0.2.3
>>> [23:35:40] Copyright (c) 2008 The PHP Documentation Group
>>
>> Try pear uninstall'ing it and then install:
>> [EMAIL PROTECTED]:~$ sudo pear uninstall doc.php.net/phd-beta
>> uninstall ok: channel://doc.php.net/PhD-0.3.0
>> [EMAIL PROTECTED]:~$ sudo pear install doc.php.net/phd-beta
>> downloading PhD-0.3.0.tgz ...
>> Starting to download PhD-0.3.0.tgz (39,686 bytes)
>> ..........done: 39,686 bytes
>> install ok: channel://doc.php.net/PhD-0.3.0
>>
>
> That seemed to work, but... here's the terminal output:
>
> tedsr$ sudo /usr/local/php5/bin/pear uninstall doc.php.net/phd-beta
> Password:
> uninstall ok: channel://doc.php.net/PhD-0.2.3
> tedsr$ sudo /usr/local/php5/bin/pear install doc.php.net/phd-beta
> downloading PhD-0.3.0.tgz ...
> Starting to download PhD-0.3.0.tgz (39,686 bytes)
> ..........done: 39,686 bytes
> ERROR: doc.php.net/PhD: conflicting files found:
>                 phd/formats/xhtml.php (__uri/phd)
>       phd/include/PhDFormat.class.php (__uri/phd)
>        phd/include/PhDTheme.class.php (__uri/phd)
>       phd/include/PhDHelper.class.php (__uri/phd)
>       phd/include/PhDReader.class.php (__uri/phd)
> phd/include/PhDPartialReader.class.php (__uri/phd)
>              phd/include/langs/bg.xml (__uri/phd)
>              phd/include/langs/cs.xml (__uri/phd)
>              phd/include/langs/de.xml (__uri/phd)
>              phd/include/langs/en.xml (__uri/phd)
>              phd/include/langs/it.xml (__uri/phd)
>              phd/include/langs/ja.xml (__uri/phd)
>              phd/include/langs/pl.xml (__uri/phd)
>           phd/include/langs/pt_BR.xml (__uri/phd)
>              phd/include/langs/ro.xml (__uri/phd)
>            phd/themes/php/bightml.php (__uri/phd)
>        phd/themes/php/chunkedhtml.php (__uri/phd)
>          phd/themes/php/phpdotnet.php (__uri/phd)
>             phd/themes/php/phpweb.php (__uri/phd)
>                        phd/config.php (__uri/phd)
>                           phd/LICENSE (__uri/phd)
>                         phd/mktoc.php (__uri/phd)
>                     phd/TODO.RENDERER (__uri/phd)
>
> I suspect there is a --force option for pear, but not sure how to invoke it
> (nor if it is appropriate in this context).

Looks like you've got a couple pear installations working on one
directory! -f is the force option.
You can do:
sudo /usr/local/php5/bin/pear install -f doc.php.net/phd-beta
or
sudo /usr/local/php5/bin/pear upgrade -f doc.php.net/phd-beta


-- 
Brett Bieber

http://saltybeagle.com/

Reply via email to