comparison INSTALL @ 107:788b5f239571

Be more robust in INSTALL and use different default prefix
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 08 Dec 2016 15:22:18 +0100
parents 6965fb5db4b7
children
comparison
equal deleted inserted replaced
106:32dd6ea6a582 107:788b5f239571
102 ========== 102 ==========
103 Install the usual development tools / xcode. 103 Install the usual development tools / xcode.
104 104
105 Define some paths for the build environment: 105 Define some paths for the build environment:
106 106
107 export CUSTOM_PREFIX=~/retraceit 107 export CUSTOM_PREFIX=~/devenv
108 108
109 export PATH=$CUSTOM_PREFIX/bin:$PATH 109 export PATH=$CUSTOM_PREFIX/bin:$PATH
110 export DYLD_LIBRARY_PATH=$CUSTOM_PREFIX/lib:$DYLD_LIBRARY_PATH 110 export DYLD_LIBRARY_PATH=$CUSTOM_PREFIX/lib:$DYLD_LIBRARY_PATH
111 export PKG_CONFIG_PATH=$CUSTOM_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH 111 export PKG_CONFIG_PATH=$CUSTOM_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
112 112
174 174
175 Now for retraceit: 175 Now for retraceit:
176 176
177 hg clone https://wald.intevation.org/hg/retraceit/ 177 hg clone https://wald.intevation.org/hg/retraceit/
178 cd retraceit 178 cd retraceit
179 mkdir build && cd build 179 mkdir -p build && cd build
180 cmake .. \ 180 cmake .. \
181 -DCMAKE_PREFIX_PATH=$CUSTOM_PREFIX \ 181 -DCMAKE_PREFIX_PATH=$CUSTOM_PREFIX \
182 -DCMAKE_INSTALL_PREFIX=$CUSTOM_PREFIX \ 182 -DCMAKE_INSTALL_PREFIX=$CUSTOM_PREFIX \
183 -DCMAKE_VERBOSE_MAKEFILE=True 183 -DCMAKE_VERBOSE_MAKEFILE=True
184 make 184 make
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)