I&#39;m an idiot. <br><br>As soon as I saw your configure line I remembered about the long list of configure options. In fact, there is a nifty script on the Wiki that carefully documents everything you need to compile grass on Ubuntu. 
<br><br>That script happens to have been written by an idot...me.<br><br>Thanks,<br><br>David<br><br><br><br><div><span class="gmail_quote">On 7/11/07, <b class="gmail_sendername">Helena Mitasova</b> &lt;<a href="mailto:hmitaso@unity.ncsu.edu">
hmitaso@unity.ncsu.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">David,<br><br>this is the configure I use to compile GRASS with everything (gdal,
<br>proj and grass, all CVS versions)<br>in my home directory:<br><br>CFLAGS=&quot;-g -Wall&quot; ./configure \<br>--prefix=/local/home/helena/grassdev \<br>--with-cxx \<br>--enable-64bit --with-libs=/usr/lib64 --enable-largefile --enable-
<br>shared \<br>--with-bindir=/local/home/helena/grassdev \<br>--with-gdal=/local/home/helena/gsgdal/bin/gdal-config \<br>--with-gdal-includes=/local/home/helena/gsgdal/include \<br>--with-gdal-libs=/local/home/helena/gsgdal/lib \
<br>--with-proj=yes \<br>--with-proj-includes=/local/home/helena/gproj/include \<br>--with-proj-libs=/local/home/helena/gproj/lib \<br>--with-proj-share=/local/home/helena/gproj/share/proj \<br>--with-motif \<br>--with-python
<br><br>I also had to add the path here (advice from Markus):<br><br>system-wide add it to (if you can use sudo )<br>&nbsp;&nbsp; /etc/ld.so.conf<br>Then run<br>ldconfig<br><br>solution just for your login:<br>modify $HOME/.bashrc or $HOME/.cshrc depending on your shell
<br>and define it there. The GRASS path is added automatically,<br>so just add /home/helena/gdal/lib there (or in /etc/ld.so.conf).<br><br>I have been compiling and running the GRASS CVS version from home<br>directory for years so hopefully it will work for you too,
<br><br>Helena<br><br>Helena Mitasova<br>Dept. of Marine, Earth and Atm. Sciences<br>1125 Jordan Hall, NCSU Box 8208,<br>Raleigh NC 27695<br><a href="http://skagit.meas.ncsu.edu/~helena/">http://skagit.meas.ncsu.edu/~helena/
</a><br><br><br><br>On Jul 11, 2007, at 7:18 PM, David Finlayson wrote:<br><br>&gt; First time compiling GRASS on SuSE. I do not have su privileges on<br>&gt; this machine and so I am forced to build my entire tool chain in my
<br>&gt; home directory ($HOME)=/we/davidf).<br>&gt;<br>&gt; So far fftw-3.1.2, gdal-1.4.2 and proj-4.5.0 have all compiled<br>&gt; using the following:<br>&gt;<br>&gt; ./configure --prefix=$HOME<br>&gt; make<br>&gt; make install
<br>&gt;<br>&gt; Which has built a directory tree in $HOME like this:<br>&gt;<br>&gt; $HOME/bin<br>&gt; $HOME/include<br>&gt; $HOME/lib<br>&gt; $HOME/man<br>&gt; $HOME/share<br>&gt;<br>&gt; Now, trying the same with grass results in a configure error:
<br>&gt;<br>&gt; albacore src/grass-6.2.cvs_src_snapshot_2007_07_07&gt; ./configure --<br>&gt; prefix=$HOME --enable-64bit --with-libs=/usr/lib64<br>&gt; checking host system type... x86_64-unknown-linux-gnu<br>&gt; checking for gcc... gcc
<br>&gt; checking whether the C compiler (gcc&nbsp;&nbsp;) works... yes<br>&gt; ... etc ...<br>&gt; checking for deflate in -lz... yes<br>&gt; checking for location of External PROJ.4 includes...<br>&gt; checking for proj_api.h... no
<br>&gt; configure: error: *** Unable to locate External PROJ.4 includes.<br>&gt;<br>&gt; However, proj_api.h is in $HOME/include<br>&gt;<br>&gt; I have tried adding --includedir=$HOME/include to the above but<br>&gt; that didn&#39;t change anything.&nbsp;&nbsp;I&#39;m sure it&#39;s something simple. How
<br>&gt; do I tell configure where my local includes are (and why didn&#39;t --<br>&gt; prefix=$HOME work?)<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; David Finlayson, Ph.D.<br>&gt; Operational Geologist
<br>&gt;<br>&gt; U.S. Geological Survey<br>&gt; Pacific Science Center<br>&gt; 400 Natural Bridges Drive<br>&gt; Santa Cruz, CA&nbsp;&nbsp;95060, USA<br>&gt;<br>&gt; Tel: 831-427-4757, Fax: 831-427-4748, E-mail: <a href="mailto:dfinlayson@usgs.gov">
dfinlayson@usgs.gov</a><br>&gt; _______________________________________________<br>&gt; grass-dev mailing list<br>&gt; <a href="mailto:grass-dev@grass.itc.it">grass-dev@grass.itc.it</a><br>&gt; <a href="http://grass.itc.it/mailman/listinfo/grass-dev">
http://grass.itc.it/mailman/listinfo/grass-dev</a><br><br>_______________________________________________<br>grass-dev mailing list<br><a href="mailto:grass-dev@grass.itc.it">grass-dev@grass.itc.it</a><br><a href="http://grass.itc.it/mailman/listinfo/grass-dev">
http://grass.itc.it/mailman/listinfo/grass-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>David Finlayson, Ph.D.<br>Operational Geologist<br><br>U.S. Geological Survey<br>Pacific Science Center<br>400 Natural Bridges Drive
<br>Santa Cruz, CA&nbsp;&nbsp;95060, USA<br><br>Tel: 831-427-4757, Fax: 831-427-4748, E-mail: <a href="mailto:dfinlayson@usgs.gov">dfinlayson@usgs.gov</a>