Starting with a fresh install of Fedora 20, this describes the steps required to fully build EPS Conduits from source:
sudo yum groupinstall "Development Tools"
sudo yum groupinstall "Development Libraries"
sudo yum install cmake
sudo yum install boost boost-devel
sudo yum install openssl-libs
sudo yum install doxygen graphviz
sudo yum install rpm-build
sudo yum install vim-common # to get 'xxd'
tar zxf eps-conduits-0.0.2-X-Source.tar.gz
cd eps-conduits-0.0.2-X-Source
Builds on Fedora need to link against the dynamic Boost libraries, not the static libraries. So at this point you'll need to edit CMakeLists.txt
and make the following changes:
- Add this new line prior to
FIND_PACKAGE ( Boost ...)
: ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)
- Modify the following 2 existing lines:
-SET ( Boost_USE_STATIC_LIBS ON )
+SET ( Boost_USE_STATIC_LIBS OFF )
-FIND_LIBRARY ( CRYPTO libcrypto.a )
+FIND_LIBRARY ( CRYPTO crypto )
Save the 3 changes you just made to CMakeLists.txt
and resume with the build:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make docs
make package
- Note
- The build instructions for Fedora were last updated for v0.0.2-609 on 2014-09-01.