CLAWRIM Wiki

The Computational Lab for Advanced Water Resources Informatics and Modeling

User Tools

Site Tools


howtos:how_to_compile_grass_gis_on_slackware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:how_to_compile_grass_gis_on_slackware [2024-08-20 08:46 am] hchohowtos:how_to_compile_grass_gis_on_slackware [2024-08-21 06:08 am] (current) hcho
Line 4: Line 4:
  
 <code bash> <code bash>
-su - # switch to root+# switch to root 
 +su -
  
 # create postgres group and user for postgresql, one of pdal dependencies # create postgres group and user for postgresql, one of pdal dependencies
Line 27: Line 28:
 # create ~/.grassbuildrc # create ~/.grassbuildrc
 cd grass-build-scripts cd grass-build-scripts
-cp .grassbuildrc-example ~+cp .grassbuildrc-example ~/.grassbuildrc
  
 # build grass # build grass
 ./build.sh -m -a -g >& ~/usr/local/src/grass/build.log ./build.sh -m -a -g >& ~/usr/local/src/grass/build.log
 +
 +# install pkgconfig config
 +mkdir -p ~/usr/local/share/pkgconfig
 +cd ../grass
 +sed 's#/usr/local/grass[^/ ]*#'$HOME'/usr/local/src/grass/dist.x86_64-pc-linux-gnu#g' grass.pc > ~/usr/local/share/pkgconfig/grass.pc
 +if ! echo $PKG_CONFIG_PATH | grep -q $HOME/usr/local/share/pkgconfig; then
 +  echo 'export PKG_CONFIG_PATH="$HOME/usr/local/share/pkgconfig:$PKG_CONFIG_PATH"' > ~/.bash_profile
 +  . ~/.bash_profile
 +fi
  
 # create grass script # create grass script
howtos/how_to_compile_grass_gis_on_slackware.1724165199.txt.gz · Last modified: by hcho

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki