3

open ssl がインストールされているにもかかわらず、ライブラリの場所が見つかりません。openssl はデフォルトで Ubuntu に存在しますが、まだ見つからないため、新しいディストリビューションをダウンロードして /usr/local/ssl に再インストールします。デフォルトの cmake コマンドでインストールします。

cmake ..

パスを明示的に指定するだけでなく、

cmake -DCMAKE_INCLUDE_PATH=/usr/local/ssl/include -DCMAKE_LIBRARY_PATH=/usr/local/ssl/lib ..  

このエラーが発生し続けます:

-- Looking for ICU libraries
-- ICU not found, disabling ICU localization backend
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PCRE_LIB
    linked by target "booster" in directory /home/hoangtu/Programs/cppcms-0.99.7/booster
    linked by target "booster-static" in directory /home/hoangtu/Programs/cppcms-0.99.7/booster

どういう意味ですか?開いている ssl が見つかるはずです。ICU は Ubuntu にもデフォルトでインストールされています。また、最後の2行は何についてですか?

編集:わかりました、ICUをusrディレクトリにダウンロードしてインストールしました。ICUが見つかりました。唯一のエラーが残っています:

-- Looking for ICU libraries
-- ICU Found, building booster locale
GNU-TLS Gcrypt or OpenSSL librarys are not found, disabling AES encryption support
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PCRE_LIB
    linked by target "booster" in directory /home/hoangtu/Programs/cppcms-0.99.7/booster
    linked by target "booster-static" in directory /home/hoangtu/Programs/cppcms-0.99.7/booster

ブースターです。Openssl がまだ見つかりません。

4

1 に答える 1

5

偉大な、

ここで答えを見つけました:http://cppcms.sourceforge.net/wikipp/en/page/cppcms_1x_build_troubleshooting

sudo apt-get install build-essential libpcre3-dev libicu-dev libgcrypt11-dev zlib1g-dev cmake
于 2011-05-21T17:45:02.433 に答える