<div dir="ltr"><div>user@osgeolive:~/ALL/SourceModules/cpp/grass7_trunk$ CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure --enable-largefile=yes --with-nls --with-cxx --with-readline --with-pthread --with-proj-share=/usr/local/share/proj/ --with-geos=/usr/local/bin/geos-config --with-wxwidgets --with-cairo --with-opengl-libs=/usr/include/GL --with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" --with-postgres=yes --with-postgres-includes="/usr/include/postgresql" --with-sqlite=yes --with-mysql=yes --with-mysql-includes="/usr/include/mysql" --with-odbc=no --with-liblas=yes --with-liblas-config=/usr/bin/liblas-config<br><br><br></div>Sorry I didn't post the whole thing.  It is the same as what is on the go-by webpage, "GRASS GIS 7 example configuration"<br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 24, 2017 at 1:40 PM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, May 24, 2017 at 1:28 PM, Paul Schrum <<a href="mailto:paul.schrum@gmail.com">paul.schrum@gmail.com</a>> wrote:<br>
> Going by<br>
> <a href="https://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS" rel="noreferrer" target="_blank">https://grasswiki.osgeo.org/<wbr>wiki/Compile_and_Install_<wbr>Ubuntu#GRASS_GIS</a> and<br>
> focusing on GRASS GIS 7 trunk:<br>
><br>
> 1. Last week I did<br>
><br>
> svn co <a href="https://svn.osgeo.org/grass/grass/trunk" rel="noreferrer" target="_blank">https://svn.osgeo.org/grass/<wbr>grass/trunk</a> grass7_trunk<br>
><br>
> On a directory under my ownership.<br>
><br>
> 2.  Today in that same directory I ran<br>
> svn up<br>
><br>
> 3. I ran the large statement which begins with<br>
><br>
> CFLAGS="-O2 -Wall" LDFLAGS="-s" ./configure \<br>
><br>
> Here is where the problem is.  It seems to go into an infinite loop.*<br>
<br>
</span>The backslash there means that the command continues on the next line,<br>
you should copy the entire command.<br>
<br>
This is my configure command for example:<br>
<br>
CFLAGS="-ggdb -O0 -Werror-implicit-function-<wbr>declaration -Wall" ./configure \<br>
--enable-largefile=yes \<br>
--with-nls \<br>
--with-cxx \<br>
--with-readline \<br>
--with-pthread \<br>
--with-proj-share=/usr/share/<wbr>proj/ \<br>
--with-geos=/usr/local/bin/<wbr>geos-config \<br>
--with-wxwidgets \<br>
--with-cairo \<br>
--with-opengl-libs=/usr/<wbr>include/GL \<br>
--with-freetype=yes --with-freetype-includes="/<wbr>usr/include/freetype2/" \<br>
--with-postgres=yes --with-postgres-includes="/<wbr>usr/include/postgresql" \<br>
--with-sqlite=yes \<br>
--with-mysql=yes --with-mysql-includes="/usr/<wbr>include/mysql" \<br>
--with-odbc=no \<br>
--with-netcdf \<br>
--with-lapack \<br>
--with-blas \<br>
--with-omp \<br>
--with-liblas=yes --with-liblas-config=/usr/bin/<wbr>liblas-config<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
><br>
><br>
> Also note that when I run it from /usr/local/src/grass7_trunk -- where I was<br>
> running it when I started this thread -- it succeeded.  It did not go into<br>
> the infinite loop.<br>
><br>
> * When the process starts, the first few lines read:<br>
> ./configure: 229: ./configure: Cannot fork<br>
> ./configure: 300: ./configure: Cannot fork<br>
> ./configure: 300: ./configure: Cannot fork<br>
><br>
> There is a lot more I could send but have not, including the last lines<br>
> before it restarts at the top of the loop.<br>
><br>
> Please let me know what more information to five you or what changes I<br>
> should make.<br>
><br>
> - Paul<br>
><br>
><br>
><br>
> On Tue, May 23, 2017 at 11:44 AM, Helmut Kudrnovsky <<a href="mailto:hellik@web.de">hellik@web.de</a>> wrote:<br>
>><br>
>> Paul Schrum wrote<br>
>> > I started off trying to build it in a directory under my home directory<br>
>> > using the instructions here<br>
>> ><br>
>> > &lt;<a href="https://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#Dependencies&gt" rel="noreferrer" target="_blank">https://grasswiki.osgeo.<wbr>org/wiki/Compile_and_Install_<wbr>Ubuntu#Dependencies&gt</a>;,<br>
>> > but I could not get it to build.  The only part of those instructions<br>
>> > that<br>
>> > I was not following were the path.  So I started using the paths<br>
>> > indicated<br>
>> > in those instructions and then it would build.  That is why my copy of<br>
>> > the<br>
>> > source is where it is.<br>
>> ><br>
>> > Based on yall's comments, I now think it was something other than the<br>
>> > path<br>
>> > where I was storing the source code, but I have no idea what.<br>
>><br>
>> please post here your steps and error (?)/warning(?) messages of<br>
>> compiling.<br>
>><br>
>><br>
>><br>
>><br>
>> -----<br>
>> best regards<br>
>> Helmut<br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://osgeo-org.1560.x6.nabble.com/Gaining-write-privileges-to-usr-local-and-subdirectories-tp5321487p5321504.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/Gaining-write-<wbr>privileges-to-usr-local-and-<wbr>subdirectories-<wbr>tp5321487p5321504.html</a><br>
>> Sent from the Grass - Dev mailing list archive at Nabble.com.<br>
>> ______________________________<wbr>_________________<br>
>> grass-dev mailing list<br>
>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-dev</a><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> grass-dev mailing list<br>
> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-dev</a><br>
</div></div></blockquote></div><br></div>