For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2006 > Re: [PEAR] Cannot install HTML_Table









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Cannot install HTML_Table
Justin Patrin

2006-05-29, 7:02 pm

On 5/29/06, Julien Sobrier <julien@sobrier.net> wrote:
> Hello,
> I can't install the pear package HTML_Table:
> # pear install HTML_Table
>
> Warning: xml_parse() [http://www.php.net/function.xml-parse]: Unable to
> call handler _pkginfo_cdata_2_0() in Common.php on line 758
> (above error message several times)
>
> The following errors where found (use force option to install anyway):
> missing package name
> missing summary
> missing description
> missing license
> missing version
> missing release state
> missing release date
> missing release notes
> no maintainer(s)
> no files
>
> It looks like it is not able to parse package.xml correctly. But I don't
> know what line causes an issue.
>
> I was able to install other packages just fine.
>
> I couldn't find any help on the web.
>
> I also have the same problem with Auth_SASL. It seems like I cannot
> install any package that uses the 2.0 version, but no problem with the
> 1.0 version.
>
> I'm using php 4.3.10 on Debian stable.
>


Sounds like you're using a very old version of PEAR (<1.4.x). Try
upgrading (pear upgrade pear).

--=20
Justin Patrin
Julien Sobrier

2006-05-29, 7:02 pm

Justin Patrin wrote:
> Sounds like you're using a very old version of PEAR (<1.4.x). Try
> upgrading (pear upgrade pear).
>


Hello,
you're right, I didn't think about this:
# pear -V
PEAR Version: 1.0b3
PHP Version: 4.3.10-16
Zend Engine Version: 1.3.0

But I can't upgrade pear:
# pear -v upgrade pear

Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR - assumed
'PEAR_CONFIG_SYSCONFDIR' in Config.php on line 177

Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR - assumed
'PEAR_CONFIG_SYSCONFDIR' in Config.php on line 408
+ tmp dir created at /tmp/tmp7OuRYL
downloading PEAR-1.4.9.tgz ...
....done: 283,443 bytes
+ tmp dir created at /tmp/tmpFJDwmj
PEAR not installed

Should I have an environment variable called PEAR_CONFIG_SYSCONFDIR?
Where should it point to?

Thank you
Julien
Julien Sobrier

2006-05-29, 9:59 pm

Pierre wrote:
> On 5/30/06, Julien Sobrier <julien@sobrier.net> wrote:
>
>
> Run:
>
> $ pear upgrade pear-1.3.5
> $ pear upgrade pear
>
> If it fails, uninstall pear (I suppose you used apt-get), and install
> it without apt-get but using the instructions provided in our manual
> ([1] or [2]).
>
> Cheers,
> --Pierre
>
> [1] http://pear.php.net/manual/en/installation.php
> [2] http://pear.php.net/manual/en/faq.pearinhomedir.php


Thanks a lot, Pierre and Justin, it works fine after reinstalling pear.

Julien
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com