<div dir="ltr"><div><div><div>Hi,<br><br></div>I was again revising the wiki page "Compile and install Ubuntu" (BTW, the name is strange, do we compile Ubuntu?).<br><br></div>I've removed a lot of packages from the dependencies [1] since they are not need for compilation (or running) of GRASS. I don't know about others. But this is actually what I wanted to ask about. Do you this that we should change the page in the way that it will reflect the most common use case which is IMHO just compilation of GRASS but I'm not sure. Now for example, package for PROJ4 is missing and you must find out in the wiki page what to do. I suggest (slowly) change the page to the state where the compilation of GRASS only will be the primary option.<br>
<br>This is really hard to keep this up to date since to test this, you need
a fresh installation and I don't want to keep fresh Ubuntu virtual box
just because of this. I actually think that there are still some packages missing in the list.<br><br></div>Also I would like to update the ./configure command there but I don't know if to try enable some things which I have disabled. Here is my script to run ./configure:<br>
<br>#!/bin/bash<br><br>export CFLAGS="-ggdb -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls"<br>export CXXFLAGS="-ggdb -Wall"<br>export LDFLAGS="-s"<br>
<br>./configure \<br>--enable-largefile=yes \<br>--with-nls \<br>--with-cxx \<br>--with-readline \<br>--with-pthread \<br>--with-openmp \<br>--with-proj-share=/usr/share/proj \<br>--with-geos=/usr/bin/geos-config \<br>--with-wxwidgets \<br>
--with-cairo \<br>--with-opengl-libs=/usr/include/GL \<br>--with-ffmpeg=no --with-ffmpeg-includes="/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale /usr/include/libavutil" \<br>--with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" \<br>
--with-postgres=yes --with-postgres-includes="/usr/include/postgresql" \<br>--with-sqlite=yes \<br>--with-mysql=no \<br>--with-odbc=no \<br>--with-netcdf \<br>--with-liblas=yes --with-liblas-config=/usr/bin/liblas-config<br>
<br>The things which are disabled are: BLAS, DWG, FFMPEG, LAPACK, MySQL, ODBC, OpenCL, X11. I'm fine with this. Also, I'm not installing, I'm always only compiling so I don't have a clear idea what to set for this or if to recommend it.<br>
<br>However, I think that the right location for source and compilation is not `/usr/local/src` as suggested by wiki page but `/opt` in multiuser environment and `/home/user/` in a single user environment (or in a case of one responsible user and installation step in multiuser environment).<br>
<div><br></div><div>If somebody has a some ideas what to change, please contribute.<br></div><div><br></div><div>Vaclav<br></div><div><br><br><div><div><div>[1] <a href="http://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&diff=20516&oldid=20500">http://grasswiki.osgeo.org/w/index.php?title=Compile_and_Install_Ubuntu&diff=20516&oldid=20500</a><br>
</div></div></div></div></div>