Vicki Brown wrote:
At 20:22 +1000 04/04/2006, Julien Bonastre wrote:
^bump^
its too quiet in here!
Well, every time I post a question, there's no answer. I just assumed there
was no one here...
When I (tried to) install 4.4.2 I got some strange messages. I'm not sure if
these messages signify warnings, errors, or general information I can ignore.
Can anyone tell me if my installation successful? Do I have to do something
to "fix" PEAR?
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar: bad md5sum for file /usr/local/lib/php/Archive/Tar.php
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] HTML_Template_IT: bad md5sum for file
/usr/local/lib/php/HTML/Template/IT.php
[PEAR] Net_UserAgent_Detect- installed: 2.0.1
warning: pear/PEAR dependency package "pear/Archive_Tar" installed version
1.1 is not the recommended version 1.3.1
warning: pear/PEAR requires package "pear/XML_RPC" (version >= 1.4.0),
installed version is 1.1.0
[PEAR] PEAR - upgraded: 1.4.6
Wrote PEAR system config file at: /usr/local/etc/pear.conf
Nothing really fatal there. You could upgrade Archive_Tar. Just type:
pear upgrade Archive_Tar
I also tried to build PHP this way (recommended by the phpEasyProject folks)
but, again, I had problems:
./configure --with-apxs=/path/to/apxs --with-zlib --enable-xslt --with-dom
--with-dom-xslt --with-xslt-sablot --with-mysql --with-pear=/path/to/PEAR
I have two questions:
1) I got an error:
checking for DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution
How do I fix this?
Install the latest libxml2 package from whatever mechanism you use to
install system libraries like that. For me it would be:
apt-get install libxml2 libxml2-dev
2) Isn't PEAR included with the php build? How can I supply path/to/pear
when it's not yet installed?
It is. If you type:
./configure --help
You will see it says:
PEAR:
--with-pear=DIR Install PEAR in DIR [PREFIX/lib/php]
--without-pear Do not install PEAR
So that option is simply telling it where to install it. And the
default is indicated in the square brackets if you don't supply
anything. The default prefix is /usr/local, so it would end up in
/usr/local/lib/php
By the way, you really should build PHP 5.1.x instead.
-Rasmus