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-31 10:43 am] hchohowtos:how_to_compile_qgis_on_slackware [2026-02-20 08:15 am] (current) hcho
Line 1: Line 1:
 ====== How to compile QGIS on Slackware ====== ====== How to compile QGIS on Slackware ======
  
-[[How to compile GRASS GIS on Slackware|Install GRASS GIS]] first.+[[how_to_compile_grass_on_slackware|Install GRASS]] first.
  
 <code bash> <code bash>
Line 7: Line 7:
 su - su -
  
-# replace USERNAME with your non-root username who installed GRASS GIS+# replace USERNAME with your non-root username who installed GRASS
 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="$HOME/usr/local/share/pkgconfig:$PKG_CONFIG_PATH"' > ~/.bash_profile   echo 'export PKG_CONFIG_PATH="$HOME/usr/local/share/pkgconfig:$PKG_CONFIG_PATH"' > ~/.bash_profile
Line 13: Line 13:
 fi fi
  
-echo -n 'export LD_LIBRARY_PATH="$HOME/usr/local/src/grass/dist.x86_64-pc-linux-gnu/lib:$LD_LIBRARY_PATH"' > ~/.bash_profile+echo 'export LD_LIBRARY_PATH="$HOME/usr/local/src/grass/dist.x86_64-pc-linux-gnu/lib:$LD_LIBRARY_PATH"' > ~/.bash_profile
 . ~/.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 # prepare qgis options
-cat 'GRASS_PREFIX8=$(pkg-config --variable=prefix grass)' > /var/lib/sbopkg/SBo-git/gis/qgis/options.sbopkg+echo -n 'GRASS_PREFIX8=$(pkg-config --variable=prefix grass)' > /var/lib/sbopkg/SBo-git/gis/qgis/options.sbopkg
  
 # install qgis; # install qgis;
 # build (Q)ueuefiles, not packages, to automatically build any dependencies; # build (Q)ueuefiles, not packages, to automatically build any dependencies;
-# build (S)aved options for qgis to compile GRASS GIS support+# build (S)aved options for qgis to compile GRASS support
 sbopkg -k -i qgis sbopkg -k -i qgis
 </code> </code>
howtos/how_to_compile_qgis_on_slackware.1725122623.txt.gz · Last modified: by hcho

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki