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:02 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 ======
  
-First [[How to compile GRASS GIS on Slackware|install GRASS GIS]].+[[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="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
-sbopkg -k -i "qgis:GRASS_PREFIX8=$(pkg-config --variable=prefix grass)"+# build (S)aved options for qgis to compile GRASS support 
 +sbopkg -k -i qgis
 </code> </code>
howtos/how_to_compile_qgis_on_slackware.1724169753.txt.gz · Last modified: by hcho

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki