CLAWRIM Wiki

The Computational Lab for Advanced Water Resources Informatics and Modeling

User Tools

Site Tools


howtos:how_to_compile_qgis_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_qgis_on_slackware [2024-08-20 10:03 am] hchohowtos:how_to_compile_qgis_on_slackware [2024-09-03 09:24 am] (current) hcho
Line 1: Line 1:
 ====== How to compile QGIS on Slackware ====== ====== How to compile QGIS on Slackware ======
  
-First [[How to compile GRASS GIS on Slackware|install GRASS GIS]].+[[How to compile GRASS GIS on Slackware|Install GRASS GIS]] first.
  
 <code bash> <code bash>
Line 9: Line 9:
 # replace USERNAME with your non-root username who installed GRASS GIS # replace USERNAME with your non-root username who installed GRASS GIS
 if ! echo $PKG_CONFIG_PATH | grep -q /home/USERNAME/usr/local/share/pkgconfig; then if ! echo $PKG_CONFIG_PATH | grep -q /home/USERNAME/usr/local/share/pkgconfig; then
-  echo 'export PKG_CONFIG_PATH="USERNAME/usr/local/share/pkgconfig:$PKG_CONFIG_PATH"' > ~/.bash_profile+  echo 'export PKG_CONFIG_PATH="$HOME/usr/local/share/pkgconfig:$PKG_CONFIG_PATH"' > ~/.bash_profile
   . ~/.bash_profile   . ~/.bash_profile
 fi fi
 +
 +echo 'export LD_LIBRARY_PATH="$HOME/usr/local/src/grass/dist.x86_64-pc-linux-gnu/lib:$LD_LIBRARY_PATH"' > ~/.bash_profile
 +. ~/.bash_profile
 +
 +# create postgres group and user, which are required by postgresql
 +groupadd -g 209 postgres
 +useradd -u 209 -g 209 -d /var/lib/pgsql postgres
 +
 +# prepare qgis options
 +echo -n 'GRASS_PREFIX8=$(pkg-config --variable=prefix grass)' > /var/lib/sbopkg/SBo-git/gis/qgis/options.sbopkg
  
 # install qgis; # install qgis;
-# build queuefiles, not packages, to automatically build any dependencies; +# build (Q)ueuefiles, not packages, to automatically build any dependencies; 
-# build command line options for qgis to compile GRASS GIS support +# build (S)aved options for qgis to compile GRASS GIS support 
-sbopkg -k -i "qgis:GRASS_PREFIX8=$(pkg-config --variable=prefix grass)"+sbopkg -k -i qgis
 </code> </code>
howtos/how_to_compile_qgis_on_slackware.1724169810.txt.gz · Last modified: by hcho

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki