[GRASS-user] r.stream with svn grass 64

All:

I have a grass64 svn installation on Ubuntu 10.04 that I have been having not problems with for a while. I have been updating the installation in the same way as I have been in a while. I have written into the script to automatically install the r.stream* modules. I have recently, last night, noticed that these are not being built and the error -

  ERROR: Incompatible library version for module. You need to rebuild GRASS
        or untangle multiple installations.

I have svn grass 7 and grass installed through the ubuntu repositories. Should I remove these two other installations?

many thanks,

--
Stephen Sefick
**************************************************
Auburn University
Biological Sciences
331 Funchess Hall
Auburn, Alabama
36849
**************************************************
sas0025@auburn.edu
http://www.auburn.edu/~sas0025
**************************************************

Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals.

                                 -K. Mullis

"A big computer, a complex algorithm and a long time does not equal science."

                               -Robert Gentleman

Hi Stephen,

On Tue, Jun 12, 2012 at 3:17 PM, Stephen Sefick <sas0025@auburn.edu> wrote:

All:

I have a grass64 svn installation on Ubuntu 10.04 that I have been having not problems with for a while. I have been updating the installation in the same way as I have been in a while. I have written into the script to automatically install the r.stream* modules.

which script do you use?

I have recently, last night, noticed that these are not being built and the error -

ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.

This happens to me sometimes when I forget to run make distclean before re-compiling the addons.

HTH,

madi


Dr. Margherita Di Leo

On Tue 12 Jun 2012 08:22:54 AM CDT, Margherita Di Leo wrote:

Hi Stephen,

On Tue, Jun 12, 2012 at 3:17 PM, Stephen Sefick <sas0025@auburn.edu
<mailto:sas0025@auburn.edu>> wrote:

    All:

    I have a grass64 svn installation on Ubuntu 10.04 that I have been
    having not problems with for a while. I have been updating the
    installation in the same way as I have been in a while. I have
    written into the script to automatically install the r.stream*
    modules.

which script do you use?

This is the script that I am using:

################################

#!/bin/bash

sudo -v

#change when major version number changes
grass_dir='grass64_release'

#get latest GRASS Sources
#svn checkout https://svn.osgeo.org/grass/grass/branches/#releasebranch_6_4 /home/$USER/source/grass/$grass_dir

#get latest grass-addons
#svn checkout https://svn.osgeo.org/grass/grass-addons /home/$USER/source/GRASS GIS/grass-addons

cd /home/$USER/source/grass/grass-addons

svn up

cd /home/$USER/source/grass/$grass_dir

make distclean

svn up

#ubuntu configuration for Grass 6.5
CFLAGS="-g -Wall" ./configure \
     --with-libs=/usr/lib64 \
     --with-cxx --with-freetype=yes \
     --with-postgres=no --with-sqlite=yes --enable-largefile=yes \
     --with-tcltk-includes=/usr/include/tcl8.4 \
     --with-freetype-includes=/usr/include/freetype2 \
     --with-python=/usr/bin/python2.6-config \
     --with-wxwidgets=yes \
     --with-nls --enable-largefile \
     --with-proj-share=/usr/share/proj \
     --with-readline \
     --with-cairo

make -j4

#cd /home/$USER/source/grass/grass-addons/raster
#sudo cp -rf r.stream* /home/$USER/source/grass/$grass_dir/raster
#cd /home/$USER/source/grass/$grass_dir/raster

#make r.stream* modules
#folders=$(ls | grep r.stream)
#for k in $folders ; do
#cd $k
#sudo make -j4
#cd /home/$USER/source/grass/$grass_dir/raster
#done

#cd /home/$USER/source/grass/$grass_dir

sudo make install
#########################

     I have recently, last night, noticed that these are not being
    built and the error -

     ERROR: Incompatible library version for module. You need to
    rebuild GRASS
          or untangle multiple installations.

This happens to me sometimes when I forget to run make distclean
before re-compiling the addons.

HTH,

madi

--
Dr. Margherita Di Leo