<div dir="ltr"><div><br></div><div>My working Environment:     Ubuntu 16.04.1 + GCC/G++ 5.4.0 </div><div><br></div><div>I now moves to grass 7.3 SVN, which seems to be the right version I should go for????</div><div><br></div>It seems I can do the following configuration directly...<div><br></div><div><b>It seems OpenDWG has already been replaced by LibreDWG ??? Any plan to have OpenDWG upgraded to LibreDWG???</b></div><div><div><br></div><div><br></div><div><div><div>CFLAGS="-O2 -Wall -fPIC" CXXFLAGS="-O2 -Wall -fPIC"  LDFLAGS="-s" ./configure \</div><div>    --enable-largefile=yes \</div><div>    --with-blas=yes --with-blas-includes=/usr/include --with-blas-libs=/usr/lib/libblas/ \</div><div>    --with-lapack=yes --with-lapack-includes= --with-lapack-libs=/usr/lib/lapack \</div><div>    --with-netcdf= \</div><div>    --with-readline=yes --with-readline-includes=/usr/include/readline --with-readline-libs=/usr/lib/x86_64-linux-gnu \</div><div>    --with-openmp=yes --with-openmp-includes=/usr/lib/openmpi/include --with-openmp-libs=/usr/lib/openmpi/lib \</div><div>    --with-pthread=yes --with-pthread-includes= --with-pthread-libs= \</div><div>    --with-liblas=/usr/local/bin/liblas-config \</div><div>    --with-libredwg=yes --with-libredwg-includes=/usr/local/include --with-libredwg-libs=/usr/local/lib \</div><div>    --with-nls \</div><div>    --with-cxx \</div><div>    --with-proj-share=/usr/share/proj/ \</div><div>    --with-geos \</div><div>    --with-wxwidgets \</div><div>    --with-cairo \</div><div>    --with-opengl-libs=/usr/include/GL \</div><div>    --with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" \</div><div>    --with-postgres=no \</div><div>    --with-sqlite=yes \</div><div>    --with-mysql=yes --with-mysql-includes="/usr/include/mysql" \</div><div>    --with-odbc=no \</div><div>    --with-bzlib=yes --with-bzlib-includes=/usr/include --with-bzlib-libs=/usr/lib/x86_64-linux-gnu \</div><div>    --with-opencl=yes --with-opencl-includes=/usr/local/cuda/include --with-opencl-libs=/usr/local/cuda/lib64 \</div><div>     2>&1 | tee config_log.txt</div></div></div><div><br></div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">GRASS is now configured for:  x86_64-pc-linux-gnu
</span><br>
<br>  Source directory:           /home/jiapei/Downloads/rsgis/OSGeo/grass/grass-7.3
<br>  Build directory:            /home/jiapei/Downloads/rsgis/OSGeo/grass/grass-7.3
<br>  Installation directory:     ${prefix}/grass-7.3.svn
<br>  Startup script in directory:${exec_prefix}/bin
<br>  C compiler:                 gcc -O2 -Wall -fPIC  <br>  C++ compiler:               c++ -O2 -Wall -fPIC
<br>  Building shared libraries:  yes
<br>  OpenGL platform:            X11
<br>
<br>  MacOSX application:         no
<br>  MacOSX architectures:        <br>  MacOSX SDK:                  <br>
<br>  BLAS support:               yes
<br>  BZIP2 support:              yes
<br>  C++ support:                yes
<br>  Cairo support:              yes
<br>  DWG support:                no
<br>  FFTW support:               yes
<br>  FreeType support:           yes
<br>  GDAL support:               yes
<br>  GEOS support:               yes
<br>  LAPACK support:             yes
<br>  Large File support (LFS):   yes
<br>  libLAS support:             yes
<br>  MySQL support:              yes
<br>  NetCDF support:             yes
<br>  NLS support:                yes
<br>  ODBC support:               no
<br>  OGR support:                yes
<br>  OpenCL support:             yes
<br>  OpenGL support:             yes
<br>  OpenMP support:             yes
<br>  PDAL support:               no
<br>  PNG support:                yes
<br>  POSIX thread support:       yes
<br>  PostgreSQL support:         no
<br>  Readline support:           yes
<br>  Regex support:              yes
<br>  SQLite support:             yes
<br>  TIFF support:               yes
<br>  X11 support:                yes<br>
<br></span><span style="font-family:monospace">
<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><b><font size="4">However, it fails to build...</font></b></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><div><font face="monospace">GISBASE="....../grass/grass-7.3/dist.x86_64-pc-linux-gnu" ARCH="x86_64-pc-linux-gnu" ARCH_DISTDIR="....../grass/grass-7.3/dist.x86_64-pc-linux-gnu" VERSION_NUMBER=7.3.svn VERSION_DATE=2016 python ./build_full_index.py </font></div><div><font face="monospace">  File "./build_full_index.py", line 35</font></div><div><font face="monospace">    classes.append((prefix, class_labels.get(prefix, prefix)))</font></div><div><font face="monospace">                                                             ^</font></div><div><font face="monospace">TabError: inconsistent use of tabs and spaces in indentation</font></div><div><font face="monospace">Makefile:105: recipe for target '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/docs/html/full_index.html' failed</font></div><div><font face="monospace">make[3]: *** [....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/docs/html/full_index.html] Error 1</font></div><div><font face="monospace">make[3]: Leaving directory '....../grass/grass-7.3/man'</font></div><div><font face="monospace">Makefile:43: recipe for target 'default' failed</font></div><div><font face="monospace">make[2]: *** [default] Error 2</font></div><div><font face="monospace">make[2]: Leaving directory '....../grass/grass-7.3/man'</font></div><div><font face="monospace">make[2]: Entering directory '....../grass/grass-7.3/macosx'</font></div><div><font face="monospace">make[2]: Leaving directory '....../grass/grass-7.3/macosx'</font></div><div><font face="monospace">make[2]: Entering directory '....../grass/grass-7.3/mswindows'</font></div><div><font face="monospace">make[2]: Nothing to be done for 'first'.</font></div><div><font face="monospace">make[2]: Leaving directory '....../grass/grass-7.3/mswindows'</font></div><div><font face="monospace">make[1]: Leaving directory '....../grass/grass-7.3'</font></div><div><font face="monospace">make ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/AUTHORS ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/CHANGES ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/CITING ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/COPYING ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/GPL.TXT ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/INSTALL ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/REQUIREMENTS.html ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/contributors.csv ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/contributors_extra.csv ....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/translators.csv</font></div><div><font face="monospace">make[1]: Entering directory '....../grass/grass-7.3'</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/AUTHORS' is up to date.</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/CHANGES' is up to date.</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/CITING' is up to date.</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/COPYING' is up to date.</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/GPL.TXT' is up to date.</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/INSTALL' is up to date.</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/REQUIREMENTS.html' is up to date.</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/contributors.csv' is up to date.</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/contributors_extra.csv' is up to date.</font></div><div><font face="monospace">make[1]: '....../grass/grass-7.3/dist.x86_64-pc-linux-gnu/translators.csv' is up to date.</font></div><div><font face="monospace">make[1]: Leaving directory '....../grass/grass-7.3'</font></div><div><font face="monospace">make manifests</font></div><div><font face="monospace">make[1]: Entering directory '....../grass/grass-7.3'</font></div><div><font face="monospace">make[1]: Nothing to be done for 'manifests'.</font></div><div><font face="monospace">make[1]: Leaving directory '....../grass/grass-7.3'</font></div><div><font face="monospace">GRASS GIS 7.3.svn r69562M compilation log</font></div><div><font face="monospace">--------------------------------------------------</font></div><div><font face="monospace">Started compilation: Wed Sep 28 16:37:18 PDT 2016</font></div><div><font face="monospace">--</font></div><div><font face="monospace">Errors in:</font></div><div><font face="monospace">....../grass/grass-7.3/lib/pngdriver</font></div><div><font face="monospace">....../grass/grass-7.3/lib/psdriver</font></div><div><font face="monospace">....../grass/grass-7.3/lib/htmldriver</font></div><div><font face="monospace">....../grass/grass-7.3/lib/cairodriver</font></div><div><font face="monospace">....../grass/grass-7.3/lib/db/sqlp</font></div><div><font face="monospace">....../grass/grass-7.3/lib/vector</font></div><div><font face="monospace">....../grass/grass-7.3/lib/imagery</font></div><div><font face="monospace">....../grass/grass-7.3/lib/cluster</font></div><div><font face="monospace">....../grass/grass-7.3/lib/rst/interp_float</font></div><div><font face="monospace">....../grass/grass-7.3/lib/lidar</font></div><div><font face="monospace">....../grass/grass-7.3/lib/raster3d/test</font></div><div><font face="monospace">....../grass/grass-7.3/lib/ogsf</font></div><div><font face="monospace">....../grass/grass-7.3/lib/nviz</font></div><div><font face="monospace">....../grass/grass-7.3/lib/python/exceptions</font></div><div><font face="monospace">....../grass/grass-7.3/lib/python/script</font></div><div><font face="monospace">....../grass/grass-7.3/lib/python/ctypes</font></div><div><font face="monospace">....../grass/grass-7.3/lib/python/temporal</font></div><div><font face="monospace">....../grass/grass-7.3/lib/python/pygrass</font></div><div><font face="monospace">....../grass/grass-7.3/lib/python/pydispatch</font></div><div><font face="monospace">....../grass/grass-7.3/lib/python/imaging</font></div><div><font face="monospace">....../grass/grass-7.3/lib/python/gunittest</font></div><div><font face="monospace">....../grass/grass-7.3/lib/manage</font></div><div><font face="monospace">....../grass/grass-7.3/db</font></div><div><font face="monospace">....../grass/grass-7.3/display</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.access</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.cairocomp</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.copy</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.dirseps</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.filename</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.findetc</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.findfile</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.gisenv</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.gui</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.list</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.mapset</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.mapsets</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.message</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.mkfontcap</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.parser</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.pnmcomp</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.ppmtopng</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.proj</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.region</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.remove</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.rename</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.tempfile</font></div><div><font face="monospace">....../grass/grass-7.3/general/g.version</font></div><div><font face="monospace">....../grass/grass-7.3/general/manage/lister</font></div><div><font face="monospace">....../grass/grass-7.3/raster</font></div><div><font face="monospace">....../grass/grass-7.3/raster3d</font></div><div><font face="monospace">....../grass/grass-7.3/vector</font></div><div><font face="monospace">....../grass/grass-7.3/misc/m.cogo</font></div><div><font face="monospace">....../grass/grass-7.3/misc/m.measure</font></div><div><font face="monospace">....../grass/grass-7.3/misc/m.nviz.image</font></div><div><font face="monospace">....../grass/grass-7.3/misc/m.nviz.script</font></div><div><font face="monospace">....../grass/grass-7.3/misc/m.transform</font></div><div><font face="monospace">....../grass/grass-7.3/imagery</font></div><div><font face="monospace">....../grass/grass-7.3/ps/ps.map</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.correlate</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.frame</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.out.file</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.to.rast</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.polar</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.rast.edit</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.rast.leg</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.redraw</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.shade</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.what.rast</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/d.what.vect</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/db.dropcolumn</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/db.droptable</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/db.in.ogr</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/db.out.ogr</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/db.test</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/db.univar</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/g.extension</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/g.extension.all</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/g.manual</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/g.search.modules</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/i.colors.enhance</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/i.image.mosaic</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/i.in.spotvgt</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/i.oif</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/i.pansharpen</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/i.spectral</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/i.tasscap</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/m.proj</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.blend</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.buffer.lowmem</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.colors.stddev</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.fillnulls</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.grow</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.import</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.in.aster</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.in.srtm</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.in.wms</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.mask</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/<a href="http://r.out.xyz">r.out.xyz</a></font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.pack</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.plane</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.reclass.area</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.rgb</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.shade</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.tileset</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/r.unpack</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/<a href="http://r3.in.xyz">r3.in.xyz</a></font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.build.all</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.centroids</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.addcolumn</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.addtable</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.join</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.dropcolumn</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.droprow</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.droptable</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.renamecolumn</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.reconnect.all</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.univar</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.db.update</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.dissolve</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.import</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.in.e00</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.in.geonames</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.in.lines</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.in.mapgen</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.in.wfs</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.rast.stats</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.report</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.pack</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.to.lines</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.unpack</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.what.strds</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/v.what.vect</font></div><div><font face="monospace">....../grass/grass-7.3/scripts/wxpyimgview</font></div><div><font face="monospace">....../grass/grass-7.3/temporal</font></div><div><font face="monospace">....../grass/grass-7.3/gui/wxpython</font></div><div><font face="monospace">....../grass/grass-7.3/visualization/ximgview</font></div><div><font face="monospace">....../grass/grass-7.3/locale</font></div><div><font face="monospace">....../grass/grass-7.3/man</font></div><div><font face="monospace">--</font></div><div><font face="monospace">In case of errors please change into the directory with error and run 'make'.</font></div><div><font face="monospace">If you get multiple errors, you need to deal with them in the order they</font></div><div><font face="monospace">appear in the error log. If you get an error building a library, you will</font></div><div><font face="monospace">also get errors from anything which uses the library.</font></div><div><font face="monospace">--</font></div><div><font face="monospace">Finished compilation: Wed Sep 28 16:37:31 PDT 2016</font></div><div><font face="monospace">Makefile:57: recipe for target 'default' failed</font></div><div><font face="monospace">make: *** [default] Error 1</font></div><div><font face="monospace">jiapei:grass-7.3$ </font></div><div style="font-family:monospace"><br></div></div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 28, 2016 at 4:56 AM, Thomas Adams <span dir="ltr"><<a href="mailto:tea3rd@gmail.com" target="_blank">tea3rd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>You can compile with hdf5... not a problem; same with python3, I believe<br><br></div>Tom<div><div class="h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 28, 2016 at 7:05 AM, JIA Pei <span dir="ltr"><<a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>By this command "<span style="white-space:pre-wrap"> </span><span style="white-space:pre-wrap">sudo</span><span style="white-space:pre-wrap"> </span><span style="white-space:pre-wrap">apt-get build-dep</span><span style="white-space:pre-wrap"> grass", I got:</span><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">The following NEW packages will be installed:<br>
</span></span><span style="font-family:monospace">  autoconf2.13 libgdal-dev libgdal1i libhdf4-0-alt libhdf4-alt-dev liblas-c-dev liblas-c3 liblas-dev liblas3 netcdf-bin python-pil python-ply python-wxgtk3.0 python-wxversion</span></blockquote><div><br></div><div>But, unfortunately, </div><div>1)  installed my own libgdal-dev, instead of Ubuntu's default one from repository</div><div>2)  I NEVER use libhdf4, clearly I prefer libhdf5</div><div>3) I use Python 3.5.2, instead of python 2</div><div>4) liblas from repository requires libgdal-dev from repository, and relies on libhdf4 ....</div><div><br></div><div><br></div><div>So, will grass move to </div><div>Python3</div><div>libhdf5</div><div>?????</div><div><br></div><div><br></div><div>Cheers</div><div><br></div><div> </div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 27, 2016 at 6:41 PM, Thomas Adams <span dir="ltr"><<a href="mailto:tea3rd@gmail.com" target="_blank">tea3rd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Go here: <a href="https://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu" target="_blank">https://grasswiki.osgeo.org/wi<wbr>ki/Compile_and_Install_Ubuntu</a><br><br></div>Look at this:<br><br><br><pre> <span>tar</span> xzf grass-7.0.4.tar.gz
 <span>cd</span> grass-7.0.4<span>/</span>
 
 <span># install build dependency packages:</span>
 <span>sudo</span> <span>apt-get build-dep</span> grass
 
 <span># configure to taste..</span>
<span>CFLAGS</span>=<span>"-O2 -Wall"</span> <span>LDFLAGS</span>=<span>"-s"</span> .<span>/</span>configure \
    <span>--enable-largefile</span>=<span>yes</span> \
    <span>--with-nls</span> \
    <span>--with-cxx</span> \
    <span>--with-proj-share</span>=<span>/</span>usr<span>/</span>share<span>/</span>p<wbr>roj<span>/</span> \
    <span>--with-geos</span> \
    <span>--with-wxwidgets</span> \
    <span>--with-cairo</span> \
    <span>--with-opengl-libs</span>=<span>/</span>usr<span>/</span>includ<wbr>e<span>/</span>GL \
    <span>--with-freetype</span>=<span>yes</span> <span>--with-freetype-includes</span>=<span>"/usr<wbr>/include/freetype2/"</span> \
    <span>--with-postgres</span>=<span>yes</span> <span>--with-postgres-includes</span>=<span>"/usr<wbr>/include/postgresql"</span> \
    <span>--with-sqlite</span>=<span>yes</span> \
    <span>--with-mysql</span>=<span>yes</span> <span>--with-mysql-includes</span>=<span>"/usr/in<wbr>clude/mysql"</span> \
    <span>--with-odbc</span>=no \
     <span>2</span><span>>&</span><span>1</span> <span>|</span> <span>tee</span> config_log.txt
 
 <span># build using 4 CPU cores</span>
 <span>time</span> <span>make</span> <span>-j</span> <span>4</span> <span>2</span><span>>&</span><span>1</span> <span>|</span> <span>tee</span> build_log.txt
 
 <span>sudo</span> <span>make</span> <span>install</span></pre><br><br><br></div>Tom<br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Sep 27, 2016 at 8:34 PM, JIA Pei <span dir="ltr"><<a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr"><div><br></div><div>Hi, all:</div><div><br></div><div>I failed to configure grass-7.0.4, can anybody give me a hand?</div><div>OS: Ubuntu 16.04.1</div><div>GCC/G++: <span style="color:rgb(0,0,0);font-family:monospace">Ubuntu 5.4.0-6ubuntu1~16.04.2</span></div><div><span style="color:rgb(0,0,0);font-family:monospace">FreeType: libfreetype6 2.6.1-0.1ubuntu2</span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><span style="font-family:monospace"><span style="color:rgb(0,0,0)">jiapei:grass-7.0.4$ ./configure<br>
</span></span><span style="font-family:monospace">checking host system type... x86_64-pc-linux-gnu<br>
</span><span style="font-family:monospace">checking for gcc... gcc<br>
</span><span style="font-family:monospace">checking whether the C compiler (gcc  ) works... yes<br>
</span><span style="font-family:monospace">checking whether the C compiler (gcc  ) is a cross-compiler... no<br>
</span><span style="font-family:monospace">checking whether we are using GNU C... yes<br>
</span><span style="font-family:monospace">checking whether gcc accepts -g... yes<br>
</span><span style="font-family:monospace">checking for Cygwin environment... no<br>
</span><span style="font-family:monospace">checking for mingw32 environment... no<br>
</span><span style="font-family:monospace">checking for executable suffix... no<br>
</span><span style="font-family:monospace">checking for full floating-point support... yes<br>
</span><span style="font-family:monospace">checking for pwd... /bin/pwd<br>
</span><span style="font-family:monospace">checking for source directory... /home/jiapei/Downloads/rsgis/O<wbr>SGeo/grass/grass-7.0.4<br>
</span><span style="font-family:monospace">checking for build directory... /home/jiapei/Downloads/rsgis/O<wbr>SGeo/grass/grass-7.0.4<br>
</span><span style="font-family:monospace">checking for svnversion... /usr/bin/svnversion<br>
</span><span style="font-family:monospace">checking for MacOSX App... no<br>
</span><span style="font-family:monospace">checking for MacOSX architectures... no<br>
</span><span style="font-family:monospace">checking for MacOSX SDK... no<br>
</span><span style="font-family:monospace">checking how to build libraries... shared<br>
</span><span style="font-family:monospace">checking for additional include dirs...  <br></span><span style="font-family:monospace">checking for additional library dirs...  <br></span><span style="font-family:monospace">checking for a BSD compatible install... /usr/bin/install -c<br>
</span><span style="font-family:monospace">checking for flex... flex<br>
</span><span style="font-family:monospace">checking for yywrap in -lfl... yes<br>
</span><span style="font-family:monospace">checking for bison... bison -y<br>
</span><span style="font-family:monospace">checking for ranlib... ranlib<br>
</span><span style="font-family:monospace">checking for ar... ar<br>
</span><span style="font-family:monospace">checking for env... env<br>
</span><span style="font-family:monospace">checking for perl... /usr/bin/perl<br>
</span><span style="font-family:monospace">checking how to run the C preprocessor... gcc -E<br>
</span><span style="font-family:monospace">checking for ANSI C header files... yes<br>
</span><span style="font-family:monospace">checking for limits.h... yes<br>
</span><span style="font-family:monospace">checking for termio.h... yes<br>
</span><span style="font-family:monospace">checking for termios.h... yes<br>
</span><span style="font-family:monospace">checking for unistd.h... yes<br>
</span><span style="font-family:monospace">checking for values.h... yes<br>
</span><span style="font-family:monospace">checking for f2c.h... yes<br>
</span><span style="font-family:monospace">checking for g2c.h... no<br>
</span><span style="font-family:monospace">checking for sys/ioctl.h... yes<br>
</span><span style="font-family:monospace">checking for sys/mtio.h... yes<br>
</span><span style="font-family:monospace">checking for sys/resource.h... yes<br>
</span><span style="font-family:monospace">checking for sys/time.h... yes<br>
</span><span style="font-family:monospace">checking for sys/timeb.h... yes<br>
</span><span style="font-family:monospace">checking for sys/types.h... yes<br>
</span><span style="font-family:monospace">checking for sys/utsname.h... yes<br>
</span><span style="font-family:monospace">checking for libintl.h... yes<br>
</span><span style="font-family:monospace">checking for iconv.h... yes<br>
</span><span style="font-family:monospace">checking for langinfo.h... yes<br>
</span><span style="font-family:monospace">checking whether time.h and sys/time.h may both be included... yes
<br></span><span style="font-family:monospace">checking for off_t... yes<br>
</span><span style="font-family:monospace">checking for uid_t in sys/types.h... yes<br>
</span><span style="font-family:monospace">checking return type of signal handlers... void<br>
</span><span style="font-family:monospace">checking for Cygwin environment... no<br>
</span><span style="font-family:monospace">checking for ftime... yes<br>
</span><span style="font-family:monospace">checking for gethostname... yes<br>
</span><span style="font-family:monospace">checking for gettimeofday... yes<br>
</span><span style="font-family:monospace">checking for lseek... yes<br>
</span><span style="font-family:monospace">checking for nice... yes<br>
</span><span style="font-family:monospace">checking for time... yes<br>
</span><span style="font-family:monospace">checking for uname... yes<br>
</span><span style="font-family:monospace">checking for seteuid... yes<br>
</span><span style="font-family:monospace">checking for setpriority... yes<br>
</span><span style="font-family:monospace">checking for setreuid... yes<br>
</span><span style="font-family:monospace">checking for setruid... no<br>
</span><span style="font-family:monospace">checking for drand48... yes<br>
</span><span style="font-family:monospace">checking for putenv... yes<br>
</span><span style="font-family:monospace">checking for setenv... yes<br>
</span><span style="font-family:monospace">checking for nanosleep... yes<br>
</span><span style="font-family:monospace">checking whether setpgrp takes no argument... yes<br>
</span><span style="font-family:monospace">checking for long long int... yes<br>
</span><span style="font-family:monospace">checking for W11... no<br>
</span><span style="font-family:monospace">checking for X... libraries , headers  <br></span><span style="font-family:monospace">checking for dnet_ntoa in -ldnet... yes<br>
</span><span style="font-family:monospace">checking for gethostbyname... yes<br>
</span><span style="font-family:monospace">checking for connect... yes<br>
</span><span style="font-family:monospace">checking for remove... yes<br>
</span><span style="font-family:monospace">checking for shmat... yes<br>
</span><span style="font-family:monospace">checking for IceConnectionNumber in -lICE... yes<br>
</span><span style="font-family:monospace">checking for library containing cuserid... none required<br>
</span><span style="font-family:monospace">checking for asprintf... yes<br>
</span><span style="font-family:monospace">checking for atan... no<br>
</span><span style="font-family:monospace">checking for atan in -lm... yes<br>
</span><span style="font-family:monospace">checking for dlsym... no<br>
</span><span style="font-family:monospace">checking for dlsym in -ldl... yes<br>
</span><span style="font-family:monospace">checking for iconv... yes<br>
</span><span style="font-family:monospace">checking for socket... yes<br>
</span><span style="font-family:monospace">checking for location of zlib includes...  <br></span><span style="font-family:monospace">checking for zlib.h... yes<br>
</span><span style="font-family:monospace">checking for location of zlib library...  <br></span><span style="font-family:monospace">checking for deflate in -lz... yes<br>
</span><span style="font-family:monospace">checking for location of External PROJ.4 includes...  <br></span><span style="font-family:monospace">checking for proj_api.h... yes<br>
</span><span style="font-family:monospace">checking External PROJ.4 version... 492<br>
</span><span style="font-family:monospace">checking for location of External PROJ.4 library...  <br></span><span style="font-family:monospace">checking for pj_get_def in -lproj... yes<br>
</span><span style="font-family:monospace">checking for location of External PROJ.4 data files...  <br></span><span style="font-family:monospace">configure: warning: *** External PROJ.4 directory not specified; default will be used<br>
</span><span style="font-family:monospace">checking for /usr/share/proj/epsg... yes<br>
</span><span style="font-family:monospace">checking for nad2bin... /usr/bin/nad2bin<br>
</span><span style="font-family:monospace">checking whether to use regex... yes<br>
</span><span style="font-family:monospace">checking for location of regex includes...  <br></span><span style="font-family:monospace">checking for regex.h... yes<br>
</span><span style="font-family:monospace">checking for location of regex library...  <br></span><span style="font-family:monospace">checking for regcomp... yes<br>
</span><span style="font-family:monospace">checking whether to use Readline... no<br>
</span><span style="font-family:monospace">checking whether to use GDAL... yes<br>
</span><span style="font-family:monospace">checking for gdal-config... /usr/local/bin/gdal-config<br>
</span><span style="font-family:monospace">checking whether to use libLAS... no<br>
</span><span style="font-family:monospace">checking whether to use NetCDF... no<br>
</span><span style="font-family:monospace">checking whether to use GEOS... no<br>
</span><span style="font-family:monospace">checking whether to use TIFF... yes<br>
</span><span style="font-family:monospace">checking for location of TIFF includes...  <br></span><span style="font-family:monospace">checking for tiffio.h... yes<br>
</span><span style="font-family:monospace">checking for location of TIFF library...  <br></span><span style="font-family:monospace">checking for TIFFOpen in -ltiff... yes<br>
</span><span style="font-family:monospace">checking whether to use PNG... yes<br>
</span><span style="font-family:monospace">checking for location of PNG includes...  <br></span><span style="font-family:monospace">checking for png.h... yes<br>
</span><span style="font-family:monospace">checking for location of PNG library...  <br></span><span style="font-family:monospace">checking for png_read_image in -lpng... yes<br>
</span><span style="font-family:monospace">checking whether to use PostgreSQL... no<br>
</span><span style="font-family:monospace">checking whether to use MySQL... no<br>
</span><span style="font-family:monospace">checking whether to use SQLite... yes<br>
</span><span style="font-family:monospace">checking for location of SQLite includes...  <br></span><span style="font-family:monospace">checking for sqlite3.h... yes<br>
</span><span style="font-family:monospace">checking for location of SQLite library...  <br></span><span style="font-family:monospace">checking for sqlite3_open in -lsqlite3... yes<br>
</span><span style="font-family:monospace">checking whether to use OpenGL... yes<br>
</span><span style="font-family:monospace">checking for location of OpenGL includes...  <br></span><span style="font-family:monospace">checking for GL/gl.h... yes<br>
</span><span style="font-family:monospace">checking for GL/glu.h... yes<br>
</span><span style="font-family:monospace">checking for location of OpenGL library...  <br></span><span style="font-family:monospace">checking for glBegin in -lGL... yes<br>
</span><span style="font-family:monospace">checking for gluBeginCurve in -lGLU... yes<br>
</span><span style="font-family:monospace">checking for glXCreatePbuffer... yes<br>
</span><span style="font-family:monospace">checking for glXCreateGLXPixmap... yes<br>
</span><span style="font-family:monospace">checking whether to use ODBC... no<br>
</span><span style="font-family:monospace">checking whether to use FFTW... yes<br>
</span><span style="font-family:monospace">checking for location of FFTW includes...  <br></span><span style="font-family:monospace">checking for fftw3.h... yes<br>
</span><span style="font-family:monospace">checking for location of FFTW library...  <br></span><span style="font-family:monospace">checking for fftw_execute in -lfftw3... yes<br>
</span><span style="font-family:monospace">checking whether to use BLAS... no<br>
</span><span style="font-family:monospace">checking whether to use LAPACK... no<br>
</span><span style="font-family:monospace">checking whether to use Cairo... yes<br>
</span><span style="font-family:monospace">checking for location of cairo includes...  <br></span><span style="font-family:monospace">checking for cairo.h... yes<br>
</span><span style="font-family:monospace">checking for location of cairo library...  <br></span><span style="font-family:monospace">checking for cairo linking flags...  <br></span><span style="font-family:monospace">checking for cairo_create... yes<br>
</span><span style="font-family:monospace">checking for cairo_xlib_surface_create_with<wbr>_xrender_format... yes<br>
</span><span style="font-family:monospace">checking for cairo_xlib_surface_get_xrender<wbr>_format... yes<br>
</span><span style="font-family:monospace">checking whether to use FreeType... yes<br>
</span><span style="font-family:monospace">checking for location of FreeType includes...  <br></span><span style="font-family:monospace"><b>checking for ft2build.h... no<br>
</b></span><span style="font-family:monospace"><b>configure: error: *** Unable to locate FreeType includes.</b><br>
</span><span style="font-family:monospace">jiapei:grass-7.0.4$ </span></blockquote><span style="font-family:monospace">
<br></span><div><br></div><div><br></div><div>Cheers</div><span><font color="#888888">-- <br><div><div dir="ltr"><div><br></div><div>Pei JIA, Ph.D.</div><div><br></div><div>Email: <a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a></div><div>cell in Canada:    <a href="tel:%2B1%20778-863-5816" value="+17788635816" target="_blank">+1 778-863-5816</a></div><div>cell in China: <a href="tel:%2B86%20186-8244-3503" value="+8618682443503" target="_blank">+86 186-8244-3503</a></div><div><br></div>Welcome to Vision Open<br><a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a></div></div>
</font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/grass-user</a><br></blockquote></div><br><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>Pei JIA, Ph.D.</div><div><br></div><div>Email: <a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a></div><div>cell in Canada:    <a href="tel:%2B1%20778-863-5816" value="+17788635816" target="_blank">+1 778-863-5816</a></div><div>cell in China: <a href="tel:%2B86%20186-8244-3503" value="+8618682443503" target="_blank">+86 186-8244-3503</a></div><div><br></div>Welcome to Vision Open<br><a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br><div dir="ltr"><div><div dir="ltr"><div><div><br></div></div></div></div></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>Pei JIA, Ph.D.</div><div><br></div><div>Email: <a href="mailto:jp4work@gmail.com" target="_blank">jp4work@gmail.com</a></div><div>cell in Canada:    +1 778-863-5816</div><div>cell in China: +86 186-8244-3503</div><div><br></div>Welcome to Vision Open<br><a href="http://www.visionopen.com" target="_blank">http://www.visionopen.com</a></div></div>
</div>