[GRASS-user] problem installing Grass 7 in RHEL6

Dear List,

I already managed to compile and install Grass 7 in Ubuntu 12.04, but
now I want to try it at work.

I'm trying to install Grass 7 on Red Hat Enterprise Linux 6, but I got
stuck during 'make', and I would like to ask your advice for solving
the issue.

My machine:
$ uname -r
2.6.32-279.5.2.el6.x86_64

Following the instructions given on
'http://grass.osgeo.org/wiki/Compile_and_Install’, I tried:

1) Installing all dependencies:

sudo yum install flex bison zlib-devel tcl-devel tk-devel gcc-c++
swig gettext \
             libtiff-devel libpng-devel sqlite-devel \
             mesa-libGL-devel mesa-libGLU-devel mesa-libGLw-devel \
             mesa-libOSMesa-devel libXmu-devel python-devel gtk2-devel\
             ncurses-devel postgresql-devel

2) configure:

CFLAGS="-g -Wall" ./configure \
         --with-cxx \
         --with-sqlite \
         --with-postgres \
         --with-freetype \
         --with-freetype-includes=/usr/include/freetype2 \
         --with-motif \
         --with-proj-share=/usr/share/proj

which gave as output:

GRASS is now configured for: x86_64-unknown-linux-gnu

  Source directory: /dataMZB/src/grass_trunk
  Build directory: /dataMZB/src/grass_trunk
  Installation directory: ${prefix}/grass-7.0.svn
  Startup script in directory: ${exec_prefix}/bin
  C compiler: gcc -g -O2
  C++ compiler: c++ -g -O2
  Building shared libraries: yes
  OpenGL platform: X11

  MacOSX application: no
  MacOSX architectures:
  MacOSX SDK:

  Tcl/Tk NVIZ: yes

  BLAS support: no
  C++ support: yes
  Cairo support: yes
  DWG support: no
  FFMPEG support: no
  FFTW support: no
  FreeType support: yes
  GDAL support: yes
  NETCDF support: no
  GEOS support: no
  LAPACK support: no
  Large File support (LFS): yes
  libLAS support: no
  MySQL support: no
  NLS support: yes
  ODBC support: no
  OGR support: yes
  OpenGL support: yes
  OpenMP support: no
  PNG support: yes
  POSIX thread support: yes
  PostgreSQL support: yes
  Readline support: no
  Regex support: yes
  SQLite support: yes
  TIFF support: yes
  Tcl/Tk support: yes
  wxWidgets support: yes
  X11 support: yes

3) $ make

and the the errors I got at the end of 'make' were:

/usr/bin/install -c -m 644 REQUIREMENTS.html
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/REQUIREMENTS.html
/usr/bin/install -c -m 644 GPL.TXT
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/GPL.TXT
/usr/bin/install -c -m 644 contributors.csv
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/contributors.csv
/usr/bin/install -c -m 644 contributors_extra.csv
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/contributors_extra.csv
/usr/bin/install -c -m 644 translators.csv
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/translators.csv
make[1]: Leaving directory `/dataMZB/src/grass_trunk'
make manifests
make[1]: Entering directory `/dataMZB/src/grass_trunk'
make[1]: Nothing to be done for `manifests'.
make[1]: Leaving directory `/dataMZB/src/grass_trunk'
GRASS GIS compilation log
-------------------------
Started compilation: Thu Sep 13 17:03:08 CEST 2012
--
Errors in:
/dataMZB/src/grass_trunk/scripts/v.krige
/dataMZB/src/grass_trunk/temporal/t.create
/dataMZB/src/grass_trunk/temporal/t.support
/dataMZB/src/grass_trunk/temporal/t.topology
/dataMZB/src/grass_trunk/temporal/t.list
/dataMZB/src/grass_trunk/temporal/t.info
/dataMZB/src/grass_trunk/temporal/t.remove
/dataMZB/src/grass_trunk/temporal/t.sample
/dataMZB/src/grass_trunk/temporal/t.register
/dataMZB/src/grass_trunk/temporal/t.unregister
/dataMZB/src/grass_trunk/temporal/t.rast.aggregate
/dataMZB/src/grass_trunk/temporal/t.rast.aggregate.ds
/dataMZB/src/grass_trunk/temporal/t.rast.to.rast3
/dataMZB/src/grass_trunk/temporal/t.rast.univar
/dataMZB/src/grass_trunk/temporal/t.rast.list
/dataMZB/src/grass_trunk/temporal/t.rast.mapcalc
/dataMZB/src/grass_trunk/temporal/t.rast.series
/dataMZB/src/grass_trunk/temporal/t.rast.export
/dataMZB/src/grass_trunk/temporal/t.rast.out.vtk
/dataMZB/src/grass_trunk/temporal/t.rast.import
/dataMZB/src/grass_trunk/temporal/t.rast.gapfill
/dataMZB/src/grass_trunk/temporal/t.rast.extract
/dataMZB/src/grass_trunk/temporal/t.rast3d.list
/dataMZB/src/grass_trunk/temporal/t.rast3d.extract
/dataMZB/src/grass_trunk/temporal/t.rast3d.mapcalc
/dataMZB/src/grass_trunk/temporal/t.rast3d.univar
/dataMZB/src/grass_trunk/temporal/t.vect.list
/dataMZB/src/grass_trunk/temporal/t.vect.db.select
/dataMZB/src/grass_trunk/temporal/t.vect.export
/dataMZB/src/grass_trunk/temporal/t.vect.extract
/dataMZB/src/grass_trunk/temporal/t.vect.import
/dataMZB/src/grass_trunk/temporal/t.vect.what.strds
/dataMZB/src/grass_trunk/temporal/t.vect.observe.strds
/dataMZB/src/grass_trunk/temporal/t.vect.univar

--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Thu Sep 13 17:28:47 CEST 2012
make: *** [default] Error 1

Following the instructions, I did make within the first directory
(/dataMZB/src/grass_trunk/scripts/v.krige) and I did not get any
error.

Then, I went to the second directory
(/dataMZB/src/grass_trunk/temporal/t.create), and I got the following
error message:

$ make
if [ "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/scripts/t.create"
!= "" ] ; then GISRC=/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/demolocation/.grassrc70
GISBASE=/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu
PATH="/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin:$PATH"
PYTHONPATH="/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python:$PYTHONPATH"
LD_LIBRARY_PATH="/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib:"
LC_ALL=C /dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/scripts/t.create
--html-description < /dev/null | grep -v '</body>\|</html>' >
t.create.tmp.html ; fi
Traceback (most recent call last):
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/scripts/t.create",
line 59, in <module>
    import grass.temporal as tgis
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/__init__.py",
line 7, in <module>
    from abstract_map_dataset import *
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/abstract_map_dataset.py",
line 22, in <module>
    from datetime_math import *
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/datetime_math.py",
line 17, in <module>
    from dateutil import parser
ImportError: No module named dateutil
make: *** [t.create.tmp.html] Error 1
rm t.create.tmp.html

Do you have any advice for solving this problem and get Grass 7
installed on RHEL 6 ?

Thanks in advance,

Mauricio Zambrano-Bigiarini

--

Water Resources Unit
Institute for Environment and Sustainability
Joint Research Centre, European Commission
webinfo : http://floods.jrc.ec.europa.eu/

DISCLAIMER:
"The views expressed are purely those of the writer
and may not in any circumstances be regarded as
stating an official position of the European Commission"

Linux user #454569 -- Ubuntu user #17469

"If you can dream it, you can do it" . (Walt Disney)

http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay

On Fri, Sep 14, 2012 at 9:17 AM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:

Dear List,

I already managed to compile and install Grass 7 in Ubuntu 12.04, but
now I want to try it at work.

I'm trying to install Grass 7 on Red Hat Enterprise Linux 6, but I got
stuck during 'make', and I would like to ask your advice for solving
the issue.

According to the error log, most of GRASS was compiled successfully
and can be used without problems. The t.* commands require an
additional package python-dateutil which you can install on RHEL 6
with

yum install python-dateutil

After that package has been installed, the t.* modules should compile
successfully.

HTH,

Markus M

My machine:
$ uname -r
2.6.32-279.5.2.el6.x86_64

Following the instructions given on
'http://grass.osgeo.org/wiki/Compile_and_Install’, I tried:

1) Installing all dependencies:

sudo yum install flex bison zlib-devel tcl-devel tk-devel gcc-c++
swig gettext \
             libtiff-devel libpng-devel sqlite-devel \
             mesa-libGL-devel mesa-libGLU-devel mesa-libGLw-devel \
             mesa-libOSMesa-devel libXmu-devel python-devel gtk2-devel\
             ncurses-devel postgresql-devel

2) configure:

CFLAGS="-g -Wall" ./configure \
         --with-cxx \
         --with-sqlite \
         --with-postgres \
         --with-freetype \
         --with-freetype-includes=/usr/include/freetype2 \
         --with-motif \
         --with-proj-share=/usr/share/proj

which gave as output:

GRASS is now configured for: x86_64-unknown-linux-gnu

  Source directory: /dataMZB/src/grass_trunk
  Build directory: /dataMZB/src/grass_trunk
  Installation directory: ${prefix}/grass-7.0.svn
  Startup script in directory: ${exec_prefix}/bin
  C compiler: gcc -g -O2
  C++ compiler: c++ -g -O2
  Building shared libraries: yes
  OpenGL platform: X11

  MacOSX application: no
  MacOSX architectures:
  MacOSX SDK:

  Tcl/Tk NVIZ: yes

  BLAS support: no
  C++ support: yes
  Cairo support: yes
  DWG support: no
  FFMPEG support: no
  FFTW support: no
  FreeType support: yes
  GDAL support: yes
  NETCDF support: no
  GEOS support: no
  LAPACK support: no
  Large File support (LFS): yes
  libLAS support: no
  MySQL support: no
  NLS support: yes
  ODBC support: no
  OGR support: yes
  OpenGL support: yes
  OpenMP support: no
  PNG support: yes
  POSIX thread support: yes
  PostgreSQL support: yes
  Readline support: no
  Regex support: yes
  SQLite support: yes
  TIFF support: yes
  Tcl/Tk support: yes
  wxWidgets support: yes
  X11 support: yes

3) $ make

and the the errors I got at the end of 'make' were:

/usr/bin/install -c -m 644 REQUIREMENTS.html
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/REQUIREMENTS.html
/usr/bin/install -c -m 644 GPL.TXT
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/GPL.TXT
/usr/bin/install -c -m 644 contributors.csv
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/contributors.csv
/usr/bin/install -c -m 644 contributors_extra.csv
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/contributors_extra.csv
/usr/bin/install -c -m 644 translators.csv
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/translators.csv
make[1]: Leaving directory `/dataMZB/src/grass_trunk'
make manifests
make[1]: Entering directory `/dataMZB/src/grass_trunk'
make[1]: Nothing to be done for `manifests'.
make[1]: Leaving directory `/dataMZB/src/grass_trunk'
GRASS GIS compilation log
-------------------------
Started compilation: Thu Sep 13 17:03:08 CEST 2012
--
Errors in:
/dataMZB/src/grass_trunk/scripts/v.krige
/dataMZB/src/grass_trunk/temporal/t.create
/dataMZB/src/grass_trunk/temporal/t.support
/dataMZB/src/grass_trunk/temporal/t.topology
/dataMZB/src/grass_trunk/temporal/t.list
/dataMZB/src/grass_trunk/temporal/t.info
/dataMZB/src/grass_trunk/temporal/t.remove
/dataMZB/src/grass_trunk/temporal/t.sample
/dataMZB/src/grass_trunk/temporal/t.register
/dataMZB/src/grass_trunk/temporal/t.unregister
/dataMZB/src/grass_trunk/temporal/t.rast.aggregate
/dataMZB/src/grass_trunk/temporal/t.rast.aggregate.ds
/dataMZB/src/grass_trunk/temporal/t.rast.to.rast3
/dataMZB/src/grass_trunk/temporal/t.rast.univar
/dataMZB/src/grass_trunk/temporal/t.rast.list
/dataMZB/src/grass_trunk/temporal/t.rast.mapcalc
/dataMZB/src/grass_trunk/temporal/t.rast.series
/dataMZB/src/grass_trunk/temporal/t.rast.export
/dataMZB/src/grass_trunk/temporal/t.rast.out.vtk
/dataMZB/src/grass_trunk/temporal/t.rast.import
/dataMZB/src/grass_trunk/temporal/t.rast.gapfill
/dataMZB/src/grass_trunk/temporal/t.rast.extract
/dataMZB/src/grass_trunk/temporal/t.rast3d.list
/dataMZB/src/grass_trunk/temporal/t.rast3d.extract
/dataMZB/src/grass_trunk/temporal/t.rast3d.mapcalc
/dataMZB/src/grass_trunk/temporal/t.rast3d.univar
/dataMZB/src/grass_trunk/temporal/t.vect.list
/dataMZB/src/grass_trunk/temporal/t.vect.db.select
/dataMZB/src/grass_trunk/temporal/t.vect.export
/dataMZB/src/grass_trunk/temporal/t.vect.extract
/dataMZB/src/grass_trunk/temporal/t.vect.import
/dataMZB/src/grass_trunk/temporal/t.vect.what.strds
/dataMZB/src/grass_trunk/temporal/t.vect.observe.strds
/dataMZB/src/grass_trunk/temporal/t.vect.univar

--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Thu Sep 13 17:28:47 CEST 2012
make: *** [default] Error 1

Following the instructions, I did make within the first directory
(/dataMZB/src/grass_trunk/scripts/v.krige) and I did not get any
error.

Then, I went to the second directory
(/dataMZB/src/grass_trunk/temporal/t.create), and I got the following
error message:

$ make
if [ "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/scripts/t.create"
!= "" ] ; then GISRC=/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/demolocation/.grassrc70
GISBASE=/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu
PATH="/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin:$PATH"
PYTHONPATH="/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python:$PYTHONPATH"
LD_LIBRARY_PATH="/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib:"
LC_ALL=C /dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/scripts/t.create
--html-description < /dev/null | grep -v '</body>\|</html>' >
t.create.tmp.html ; fi
Traceback (most recent call last):
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/scripts/t.create",
line 59, in <module>
    import grass.temporal as tgis
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/__init__.py",
line 7, in <module>
    from abstract_map_dataset import *
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/abstract_map_dataset.py",
line 22, in <module>
    from datetime_math import *
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/datetime_math.py",
line 17, in <module>
    from dateutil import parser
ImportError: No module named dateutil
make: *** [t.create.tmp.html] Error 1
rm t.create.tmp.html

Do you have any advice for solving this problem and get Grass 7
installed on RHEL 6 ?

Thanks in advance,

Mauricio Zambrano-Bigiarini

--

Water Resources Unit
Institute for Environment and Sustainability
Joint Research Centre, European Commission
webinfo : http://floods.jrc.ec.europa.eu/

DISCLAIMER:
"The views expressed are purely those of the writer
and may not in any circumstances be regarded as
stating an official position of the European Commission"

Linux user #454569 -- Ubuntu user #17469

"If you can dream it, you can do it" . (Walt Disney)

http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Thank you very much Soeren and Markus for your help.

Now I have Grass 7 running on RHEL6 :slight_smile:

Just in case this be useful for somebody else. The final part of the
procedure I used for getting the installation done was:

4) Following 'http://grass.osgeo.org/wiki/Compile_and_Install#CentOS’,
in the file:

grass_trunk/include/Make/Platform.make

I manually add the path to the python include:

  PYTHONINC = -I/usr/include/python2.6 # not python2.4 !!

5) After installing 'python-dateutil' package (I think it would be
useful for other users to add it into the dependencies listed in
''http://grass.osgeo.org/wiki/Compile_and_Install’’ ), I only got one
error:

Errors in:
/dataMZB/src/grass_trunk/scripts/v.krige
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Fri Sep 14 13:47:54 CEST 2012
make: *** [default] Error 1

So, I run 'make' on the directory:

/dataMZB/src/grass_trunk/scripts/v.krige

6) Then, I change to the original trunk directory and run 'make'
again, and I didn't get any error. The last lines of the output were:

GRASS GIS compilation log
-------------------------
Started compilation: Fri Sep 14 14:33:51 CEST 2012
--
Errors in:
No errors detected.

7) Finally, I run:

$ sudo make install

and Grass 7 is finally running.

All the best,

Mauricio

--

Water Resources Unit
Institute for Environment and Sustainability
Joint Research Centre, European Commission
webinfo : http://floods.jrc.ec.europa.eu/

DISCLAIMER:
"The views expressed are purely those of the writer
and may not in any circumstances be regarded as
stating an official position of the European Commission"

Linux user #454569 -- Ubuntu user #17469

"If you can dream it, you can do it" . (Walt Disney)

http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay

2012/9/14 Markus Metz <markus.metz.giswork@gmail.com>:

On Fri, Sep 14, 2012 at 9:17 AM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:

Dear List,

I already managed to compile and install Grass 7 in Ubuntu 12.04, but
now I want to try it at work.

I'm trying to install Grass 7 on Red Hat Enterprise Linux 6, but I got
stuck during 'make', and I would like to ask your advice for solving
the issue.

According to the error log, most of GRASS was compiled successfully
and can be used without problems. The t.* commands require an
additional package python-dateutil which you can install on RHEL 6
with

yum install python-dateutil

After that package has been installed, the t.* modules should compile
successfully.

HTH,

Markus M

My machine:
$ uname -r
2.6.32-279.5.2.el6.x86_64

Following the instructions given on
'http://grass.osgeo.org/wiki/Compile_and_Install’, I tried:

1) Installing all dependencies:

sudo yum install flex bison zlib-devel tcl-devel tk-devel gcc-c++
swig gettext \
             libtiff-devel libpng-devel sqlite-devel \
             mesa-libGL-devel mesa-libGLU-devel mesa-libGLw-devel \
             mesa-libOSMesa-devel libXmu-devel python-devel gtk2-devel\
             ncurses-devel postgresql-devel

2) configure:

CFLAGS="-g -Wall" ./configure \
         --with-cxx \
         --with-sqlite \
         --with-postgres \
         --with-freetype \
         --with-freetype-includes=/usr/include/freetype2 \
         --with-motif \
         --with-proj-share=/usr/share/proj

which gave as output:

GRASS is now configured for: x86_64-unknown-linux-gnu

  Source directory: /dataMZB/src/grass_trunk
  Build directory: /dataMZB/src/grass_trunk
  Installation directory: ${prefix}/grass-7.0.svn
  Startup script in directory: ${exec_prefix}/bin
  C compiler: gcc -g -O2
  C++ compiler: c++ -g -O2
  Building shared libraries: yes
  OpenGL platform: X11

  MacOSX application: no
  MacOSX architectures:
  MacOSX SDK:

  Tcl/Tk NVIZ: yes

  BLAS support: no
  C++ support: yes
  Cairo support: yes
  DWG support: no
  FFMPEG support: no
  FFTW support: no
  FreeType support: yes
  GDAL support: yes
  NETCDF support: no
  GEOS support: no
  LAPACK support: no
  Large File support (LFS): yes
  libLAS support: no
  MySQL support: no
  NLS support: yes
  ODBC support: no
  OGR support: yes
  OpenGL support: yes
  OpenMP support: no
  PNG support: yes
  POSIX thread support: yes
  PostgreSQL support: yes
  Readline support: no
  Regex support: yes
  SQLite support: yes
  TIFF support: yes
  Tcl/Tk support: yes
  wxWidgets support: yes
  X11 support: yes

3) $ make

and the the errors I got at the end of 'make' were:

/usr/bin/install -c -m 644 REQUIREMENTS.html
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/REQUIREMENTS.html
/usr/bin/install -c -m 644 GPL.TXT
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/GPL.TXT
/usr/bin/install -c -m 644 contributors.csv
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/contributors.csv
/usr/bin/install -c -m 644 contributors_extra.csv
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/contributors_extra.csv
/usr/bin/install -c -m 644 translators.csv
/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/translators.csv
make[1]: Leaving directory `/dataMZB/src/grass_trunk'
make manifests
make[1]: Entering directory `/dataMZB/src/grass_trunk'
make[1]: Nothing to be done for `manifests'.
make[1]: Leaving directory `/dataMZB/src/grass_trunk'
GRASS GIS compilation log
-------------------------
Started compilation: Thu Sep 13 17:03:08 CEST 2012
--
Errors in:
/dataMZB/src/grass_trunk/scripts/v.krige
/dataMZB/src/grass_trunk/temporal/t.create
/dataMZB/src/grass_trunk/temporal/t.support
/dataMZB/src/grass_trunk/temporal/t.topology
/dataMZB/src/grass_trunk/temporal/t.list
/dataMZB/src/grass_trunk/temporal/t.info
/dataMZB/src/grass_trunk/temporal/t.remove
/dataMZB/src/grass_trunk/temporal/t.sample
/dataMZB/src/grass_trunk/temporal/t.register
/dataMZB/src/grass_trunk/temporal/t.unregister
/dataMZB/src/grass_trunk/temporal/t.rast.aggregate
/dataMZB/src/grass_trunk/temporal/t.rast.aggregate.ds
/dataMZB/src/grass_trunk/temporal/t.rast.to.rast3
/dataMZB/src/grass_trunk/temporal/t.rast.univar
/dataMZB/src/grass_trunk/temporal/t.rast.list
/dataMZB/src/grass_trunk/temporal/t.rast.mapcalc
/dataMZB/src/grass_trunk/temporal/t.rast.series
/dataMZB/src/grass_trunk/temporal/t.rast.export
/dataMZB/src/grass_trunk/temporal/t.rast.out.vtk
/dataMZB/src/grass_trunk/temporal/t.rast.import
/dataMZB/src/grass_trunk/temporal/t.rast.gapfill
/dataMZB/src/grass_trunk/temporal/t.rast.extract
/dataMZB/src/grass_trunk/temporal/t.rast3d.list
/dataMZB/src/grass_trunk/temporal/t.rast3d.extract
/dataMZB/src/grass_trunk/temporal/t.rast3d.mapcalc
/dataMZB/src/grass_trunk/temporal/t.rast3d.univar
/dataMZB/src/grass_trunk/temporal/t.vect.list
/dataMZB/src/grass_trunk/temporal/t.vect.db.select
/dataMZB/src/grass_trunk/temporal/t.vect.export
/dataMZB/src/grass_trunk/temporal/t.vect.extract
/dataMZB/src/grass_trunk/temporal/t.vect.import
/dataMZB/src/grass_trunk/temporal/t.vect.what.strds
/dataMZB/src/grass_trunk/temporal/t.vect.observe.strds
/dataMZB/src/grass_trunk/temporal/t.vect.univar

--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Thu Sep 13 17:28:47 CEST 2012
make: *** [default] Error 1

Following the instructions, I did make within the first directory
(/dataMZB/src/grass_trunk/scripts/v.krige) and I did not get any
error.

Then, I went to the second directory
(/dataMZB/src/grass_trunk/temporal/t.create), and I got the following
error message:

$ make
if [ "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/scripts/t.create"
!= "" ] ; then GISRC=/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/demolocation/.grassrc70
GISBASE=/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu
PATH="/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin:$PATH"
PYTHONPATH="/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python:$PYTHONPATH"
LD_LIBRARY_PATH="/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/bin:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib:/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib:"
LC_ALL=C /dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/scripts/t.create
--html-description < /dev/null | grep -v '</body>\|</html>' >
t.create.tmp.html ; fi
Traceback (most recent call last):
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/scripts/t.create",
line 59, in <module>
    import grass.temporal as tgis
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/__init__.py",
line 7, in <module>
    from abstract_map_dataset import *
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/abstract_map_dataset.py",
line 22, in <module>
    from datetime_math import *
  File "/dataMZB/src/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/datetime_math.py",
line 17, in <module>
    from dateutil import parser
ImportError: No module named dateutil
make: *** [t.create.tmp.html] Error 1
rm t.create.tmp.html

Do you have any advice for solving this problem and get Grass 7
installed on RHEL 6 ?

Thanks in advance,

Mauricio Zambrano-Bigiarini

--

Water Resources Unit
Institute for Environment and Sustainability
Joint Research Centre, European Commission
webinfo : http://floods.jrc.ec.europa.eu/

DISCLAIMER:
"The views expressed are purely those of the writer
and may not in any circumstances be regarded as
stating an official position of the European Commission"

Linux user #454569 -- Ubuntu user #17469

"If you can dream it, you can do it" . (Walt Disney)

http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:
...

Errors in:
/dataMZB/src/grass_trunk/scripts/v.krige

...

So, I run 'make' on the directory:

/dataMZB/src/grass_trunk/scripts/v.krige

There appears to big in the Makefile of v.krige.
I get the same problem: success only at the second run of "make".

Markus

2012/9/14 Markus Neteler <neteler@osgeo.org>:

On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:
...

Errors in:
/dataMZB/src/grass_trunk/scripts/v.krige

...

So, I run 'make' on the directory:

/dataMZB/src/grass_trunk/scripts/v.krige

There appears to big in the Makefile of v.krige.
I get the same problem: success only at the second run of "make".

That is strange for me, because in Ubuntu 12.04 (I'm almost sure that)
I only run "make" once ....

Kinds,

Mauricio

Hi,

On Fri, Sep 14, 2012 at 3:26 PM, Mauricio Zambrano-Bigiarini <hzambran.newsgroups@gmail.com> wrote:

2012/9/14 Markus Neteler <neteler@osgeo.org>:

On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:

Errors in:
/dataMZB/src/grass_trunk/scripts/v.krige

So, I run ‘make’ on the directory:

/dataMZB/src/grass_trunk/scripts/v.krige

There appears to big in the Makefile of v.krige.
I get the same problem: success only at the second run of “make”.

That is strange for me, because in Ubuntu 12.04 (I’m almost sure that)
I only run “make” once …

I confirm i don’t need to run ‘make’ in this folder either, I’m on Red Hat.

cheers,

madi


Margherita DI LEO

Postdoctoral Researcher
European Commission - DG JRC
Forest Resources and Climate
I-21020 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Hi Margherita,

2012/9/14 Margherita Di Leo <diregola@gmail.com>:

Hi,

On Fri, Sep 14, 2012 at 3:26 PM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:

2012/9/14 Markus Neteler <neteler@osgeo.org>:
> On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini
> <hzambran.newsgroups@gmail.com> wrote:
> ...
>> Errors in:
>> /dataMZB/src/grass_trunk/scripts/v.krige
> ...
>> So, I run 'make' on the directory:
>>
>> /dataMZB/src/grass_trunk/scripts/v.krige
>
> There appears to big in the Makefile of v.krige.
> I get the same problem: success only at the second run of "make".

That is strange for me, because in Ubuntu 12.04 (I'm almost sure that)
I only run "make" once ....

I confirm i don't need to run 'make' in this folder either, I'm on Red Hat.

32 or 64 bits ?

Mauricio

On Fri, Sep 14, 2012 at 4:27 PM, Mauricio Zambrano-Bigiarini <hzambran.newsgroups@gmail.com> wrote:

Hi Margherita,

2012/9/14 Margherita Di Leo <diregola@gmail.com>:

Hi,

On Fri, Sep 14, 2012 at 3:26 PM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:

2012/9/14 Markus Neteler <neteler@osgeo.org>:

On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:

Errors in:
/dataMZB/src/grass_trunk/scripts/v.krige

So, I run ‘make’ on the directory:

/dataMZB/src/grass_trunk/scripts/v.krige

There appears to big in the Makefile of v.krige.
I get the same problem: success only at the second run of “make”.

That is strange for me, because in Ubuntu 12.04 (I’m almost sure that)
I only run “make” once …

I confirm i don’t need to run ‘make’ in this folder either, I’m on Red Hat.

32 or 64 bits ?

64

Mauricio


Margherita DI LEO

Postdoctoral Researcher
European Commission - DG JRC
Forest Resources and Climate
I-21020 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

2012/9/14 Margherita Di Leo <diregola@gmail.com>:

On Fri, Sep 14, 2012 at 4:27 PM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:

Hi Margherita,

2012/9/14 Margherita Di Leo <diregola@gmail.com>:
> Hi,
>
> On Fri, Sep 14, 2012 at 3:26 PM, Mauricio Zambrano-Bigiarini
> <hzambran.newsgroups@gmail.com> wrote:
>>
>> 2012/9/14 Markus Neteler <neteler@osgeo.org>:
>> > On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini
>> > <hzambran.newsgroups@gmail.com> wrote:
>> > ...
>> >> Errors in:
>> >> /dataMZB/src/grass_trunk/scripts/v.krige
>> > ...
>> >> So, I run 'make' on the directory:
>> >>
>> >> /dataMZB/src/grass_trunk/scripts/v.krige
>> >
>> > There appears to big in the Makefile of v.krige.
>> > I get the same problem: success only at the second run of "make".
>>
>> That is strange for me, because in Ubuntu 12.04 (I'm almost sure that)
>> I only run "make" once ....
>
>
> I confirm i don't need to run 'make' in this folder either, I'm on Red
> Hat.

32 or 64 bits ?

64

That is weird for me.

With the same OS and architecture, you didn't have to run 'make' on
the directory:

/grass_trunk/scripts/v.krige

Probably somebody may be able to explain that ...

Cheers,

Mauricio

On Fri, Sep 14, 2012 at 3:20 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Fri, Sep 14, 2012 at 2:47 PM, Mauricio Zambrano-Bigiarini
<hzambran.newsgroups@gmail.com> wrote:
...

Errors in:
/dataMZB/src/grass_trunk/scripts/v.krige

...

So, I run 'make' on the directory:

/dataMZB/src/grass_trunk/scripts/v.krige

There appears to big in the Makefile of v.krige.

(bug of course)

I get the same problem: success only at the second run of "make".

In GRASS 7, I have now commented the broken v.krige, unless
ticket #1619 is fixed.

Markus