2016-07-13 9 views
1

どうすればこの問題を解決できますか?私は、これらの指示に従ってのUbuntu 16.04(Laravelフォージサーバ)上のMongoDB HHVMドライバをインストールしようとしてきた:[手動でのMongoDB HHVMドライバのインストール]、[1]Laravel Forge HHVMサーバにMongoDBドライバをインストールする

私はこの部分まで、すべての命令を介して行ってきました

make -j 5 

私は、このコマンドを実行すると、私は次のエラーを取得する:ここで

[email protected]:/hhvm-mongodb/hhvm-mongodb-1.1.2# make -j 4 
make[2]: *** No rule to make target 'CMakeFiles/mongodb.dir/build'. Stop. 
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mongodb.dir/all' failed 
make[1]: *** [CMakeFiles/mongodb.dir/all] Error 2 
Makefile:127: recipe for target 'all' failed 
make: *** [all] Error 2 

は、私の環境とドライバのバージョンの詳細は、次のとおりです。

MongoDBのHHVMドライバ1.1.2

LaravelフォージServerの詳細

HHVMバージョン

HipHop VM 3.14.2 (rel) 
Compiler: tags/HHVM-3.14.2-0-ge8134a09af2bc6e27191a63b6ed2f113ac80ee92 
Repo schema: 676c6f18d2f55ba8ce519ca7af4c26a9747c1563 

PHPバージョン

PHP 7.0.8-4+deb.sury.org~xenial+1 (cli) (NTS) 
Copyright (c) 1997-2016 The PHP Group 
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies 
with Zend OPcache v7.0.8-4+deb.sury.org~xenial+1, Copyright (c) 1999-2016, by  Zend Technologies 

Laravelバージョン

"laravel/framework": "5.2.*" 

MongoDBのバージョン

[email protected]:/# mongod --version 
db version v2.6.10 
2016-07-13T16:17:56.085+0200 git version: nogitversion 
2016-07-13T16:17:56.085+0200 OpenSSL version: OpenSSL 1.0.2g-fips 1 Mar 2016` 

答えて

0

MongoDBのHHVMドライバのインストールドキュメントはupdatedてきました。

git clone https://github.com/mongodb/mongo-hhvm-driver --branch master 
cd mongo-hhvm-driver/ 
git submodule update --init --recursive 
hphpize 
cmake . 
make configlib 
make -j [number_of_processor_cores] # eg. make -j 4 
make install 
関連する問題