Bug #4515
CMake make install with CMAKE_INSTALL_PREFIX
Start date:
10/20/2015
Due date:
% Done:
0%
Estimated time:
Description
Hi!
It seems to me that
make install
does not work well with
mkdir build; cmake -DCMAKE_INSTALL_PREFIX=/my/custom/install .. make make install ## this line!!
(Stuff like /etc/wt
...)
It seems -DCMAKE_INSTALL_PREFIX=...
is not enough, but that I need additionally: -DCONFIGURATION=... -DRUNDIR=... -DWTHTTP_CONFIGURATION=... -DCONFIGDIR=...
So I currently install like this:
sudo apt-get install libboost-all-dev doxygen libgraphicsmagick1-dev libgraphicsmagick3 libssl-dev libhpdf-dev libpq-dev libfcgi-dev libpq-dev libpangoft2-1.0-0 libpango1.0-dev INSTALL=/my/custom/install ## ## uncomment below, if you've compiled boost from source yourself ## BOOST_PATH=-DBOOST_ROOT=/my/path/to/boost cmake -DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick -DWT_CPP_11_MODE=-std=c++0x \ ${BOOST_PATH} \ -DCMAKE_INSTALL_PREFIX=${INSTALL} \ -DCONFIGURATION=${INSTALL}/etc/wt/wt_config.xml \ -DRUNDIR=${INSTALL}/var/run/wt \ -DWTHTTP_CONFIGURATION=${INSTALL}/etc/wt/wthttpd \ -DCONFIGDIR=${INSTALL}/etc/wt .. make -j2 -l2 make install
Is this documented somewhere?
How do you guys install witty, to a custom (non-root-path) location?
Thanks.
Updated by Koen Deforche over 6 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche