2011-05-21 84 views
2

儘管我已經打開ssl安裝,它無法找到庫的位置。 openssl作爲默認存在於我的Ubuntu中,它仍然無法找到,因此我下載了一個新的發行版並將其重新安裝到/ usr/local/ssl。我安裝的默認cmake的命令:CPPCMS與庫建立錯誤

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中。另外,最後兩行是關於什麼的?

編輯:好的,我下載並安裝了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 

是助推器thingy。 Openssl仍然沒有找到。

回答