<div dir="ltr"><div>You can compile with hdf5... not a problem; same with python3, I believe<br><br></div>Tom<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 class="HOEnZb"><div class="h5"><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>