Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit d20290b

Browse files
committed
Some tweaks
1 parent 7070d5b commit d20290b

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

README.rst

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ with the new drivers.
2323
Building
2424
--------
2525

26+
Please ensure, that before you install the extension, the following tools are
27+
installed: autoconf, automake, and libtool.
28+
29+
Compiling this extension requires the ``hphpize`` command, which is available by
30+
installing the ``hhvm-dev`` package from the
31+
`HHVM repositories <https://github.com/facebook/hhvm/wiki/Prebuilt-Packages-for-HHVM>`_
32+
or `building HHVM from source <https://github.com/facebook/hhvm/wiki/Building-and-Installing-HHVM>`_.
33+
34+
2635
From a package (.tgz)
2736
~~~~~~~~~~~~~~~~~~~~~
2837

@@ -34,7 +43,7 @@ commands::
3443

3544
mkdir hhvm-mongodb
3645
cd hhvm-mongodb
37-
tar -xvzf ../hhvm-mongodb-1.0alpha1
46+
tar -xvzf ../hhvm-mongodb-1.0alpha1.tgz
3847
cd hhvm-mongodb-1.0alpha1
3948
cd libbson; ./autogen.sh; cd ..
4049
cd libmongoc; ./autogen.sh; cd ..
@@ -46,11 +55,6 @@ commands::
4655
From source
4756
~~~~~~~~~~~
4857

49-
Compiling this extension requires the ``hphpize`` command, which is available by
50-
installing the ``hhvm-dev`` package from the
51-
`HHVM repositories <https://github.com/facebook/hhvm/wiki/Prebuilt-Packages-for-HHVM>`_
52-
or `building HHVM from source <https://github.com/facebook/hhvm/wiki/Building-and-Installing-HHVM>`_.
53-
5458
After cloning the repository, the extension may be built like so::
5559

5660
git submodule init
@@ -76,13 +80,12 @@ Installing
7680
In your ``/etc/hhvm/php.ini``, add the following lines (adjusting paths if
7781
necessary)::
7882

79-
hhvm.dynamic_extension_path=/usr/local/hhvm/3.9.1/lib/hhvm/extensions/20150212
8083
hhvm.dynamic_extensions[mongodb]=mongodb.so
8184

8285
Running Tests
8386
-------------
8487

85-
To run the rests::
88+
To run the rests, after adjusting the paths::
8689

8790
export TEST_PHP_EXECUTABLE=`which hhvm`
8891
hhvm -vDynamicExtensions.0=/usr/local/hhvm/3.9.1/lib/hhvm/extensions/20150212/mongodb.so run-tests.php

0 commit comments

Comments
 (0)