fixed gentoo install doc

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299362 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kristina Chodorow 2010-05-13 20:40:44 +00:00
parent 12b8e1bac8
commit 8885527de6

View file

@ -184,17 +184,29 @@ sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo
<section xml:id="mongo.installation.gentoo">
<title>Gentoo</title>
<para>On Gentoo using PECL you might get an error that libtool is the wrong
version. Compiling from source you'll need to run aclocal and autoconf.
<programlisting>
<para>
Gentoo has a package for the PHP driver called dev-php5/mongo, which can be
installed with:
</para>
<programlisting>
<![CDATA[
$ sudo emerge -va dev-php5/mongo
]]>
</programlisting>
<para>
If you use PECL, you may get an error that libtool is the wrong version.
Compiling from source you'll need to run aclocal and autoconf.
</para>
<programlisting>
<![CDATA[
$ phpize && aclocal && autoconf && ./configure && make && make install
]]>
</programlisting>
</para>
</programlisting>
</section>
<section xml:id="mongo.installation.fedora">
<title>Fedora</title>