licensepp icon indicating copy to clipboard operation
licensepp copied to clipboard

Installation links for Crypto++ down

Open vkresch opened this issue 4 years ago • 2 comments

The links in the README for the installation doesn't work anymore.

wget https://muflihun.github.io/downloads/cryptocpp.tar.gz
tar xf cryptocpp.tar.gz
cd cryptopp-CRYPTOPP_5_6_5
wget https://muflihun.github.io/downloads/pem_pack.zip
unzip pem_pack.zip
cmake .
make
make install

I can install Crypto++ with sudo apt-get install libcrypto++-dev libcrypto++-doc libcrypto++-utils but I can't seem to find pem_pack.zip. Any help would be appreciated. I'm using Ubuntu 18.04.

vkresch avatar Sep 04 '19 08:09 vkresch

Currently I have a workaround which throws me an error when I try to install licensepp:

git clone https://github.com/zuhd-org/licensepp
git clone https://github.com/weidai11/cryptopp.git
git clone https://github.com/noloader/cryptopp-pem.git
cp cryptopp-pem/* cryptopp/
cd cryptopp
make
sudo make install
cd licensepp
mkdir build
cd build
cmake ..

Error:

-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
==> Static linking to Crypto++
CMake Error at cmake/FindCryptoPP.cmake:94 (STRING):
  STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:46 (find_package)


CMake Error at cmake/FindCryptoPP.cmake:98 (STRING):
  STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:46 (find_package)


CMake Error at cmake/FindCryptoPP.cmake:100 (STRING):
  STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:46 (find_package)


CMake Error at cmake/FindCryptoPP.cmake:102 (STRING):
  STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:46 (find_package)


-- Found CryptoPP: /usr/local/include (found version "..") 
-- Crypto++ binary: /usr/local/lib/libcryptopp.a
-- Configuring incomplete, errors occurred!

Any ideas how to fix it?

vkresch avatar Sep 04 '19 09:09 vkresch

Fix FindCryptoPP.cmake like in this issue.

vkresch avatar Sep 04 '19 11:09 vkresch

I have updated the build instructions along with correct links. Sorry for 4 year late reply ;)

abumq avatar Jul 20 '23 11:07 abumq