howtos:how_to_compile_qgis_on_slackware
How to compile QGIS on Slackware
Install GRASS GIS first.
# switch to root su - # 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 echo 'export PKG_CONFIG_PATH="$HOME/usr/local/share/pkgconfig:$PKG_CONFIG_PATH"' > ~/.bash_profile . ~/.bash_profile 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; # build (Q)ueuefiles, not packages, to automatically build any dependencies; # build (S)aved options for qgis to compile GRASS GIS support sbopkg -k -i qgis
howtos/how_to_compile_qgis_on_slackware.txt · Last modified: by hcho