2017-05-11 4 views
1

私はdebian Linuxにmcsemaをインストールしようとしましたが、エラーで停止しました Cmake 3.1以上が必要です。 3.0.2を実行しています。 debianではapt-get installでインストールできる唯一のバージョンです。ソースからCMakeをビルドすると、いくつかのエラーも発生します。 Debian 8にCmakeの最新バージョンをインストールする方法を知っている人はいますか?cmakeをdebianにインストール8

+0

である "私もいくつかのエラーを取得しますか" ...? – rbaleksandar

+0

エラーのいくつかを削除しましたが、cmake/protobuf/ProtobufDownloader.cmakeでcmakeエラーが発生しました。エラー:31:protobufソースアーカイブをダウンロードできませんでした。 https://github.com/google/protobuf/archive/v2.6.1.tar.gz '「サポートされていないプロトコル」私はclang、cmake、llvm 3.8を自分のマシンにインストールしています。この問題を解決するにはどうすればいいですか? – user3126804

+2

そのような情報を目に見えるように質問に投稿してください。 – rbaleksandar

答えて

1

ダウンロードlatestsのcmake releaseとフォローREADME.rst説明:

UNIX/Mac OSX/MinGW/MSYS/Cygwin ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You need to have a compiler and a make installed. Run the bootstrap script you find in the source directory of CMake. You can use the --help option to see the supported options. You may use the --prefix=<install_prefix> option to specify a custom installation directory for CMake. You can run the bootstrap script from within the CMake source directory or any other build directory of your choice. Once this has finished successfully, run make and make install . In summary::

$ ./bootstrap && make && make install

+0

ありがとうございます。私は働いています。 ./bootstrap buildを実行しているときにエラーが発生しました: "\t エラーのいくつかを削除しましたが、cmake/protobuf/ProtobufDownloader.cmakeでcmakeエラーが発生しました。エラー: 31:protobufソースアーカイブのダウンロードに失敗しましたgithub.com/google/protobuf/archive/v2.6.1.tar.gz '; "サポートされていないプロトコル"私のマシンにclang、cmake、llvm 3.8がインストールされています。この問題を取り除くことはできますか? – user3126804

+1

解決策はmcsemaの問題のページで説明しています。 – user3126804

関連する問題