Hi Glynn, Thanks for the advice, it was partially successful. I was indeed missing the wx-gtk2 dev package (I had the wx-base dev package, so as a lesson to others, be very careful when searching through the ubuntu package repository!), and this allowed the NVIS compile error to resolve itself. I am still getting compile erros for &quot;...gui/wxpython/vdigit&quot;, albeit a different error than I was getting before. Here is the text of the error:<br>
<br><font face="courier new,monospace">iullah@MEDLAND-2:~/grass6_source/grass6_devel/gui/wxpython/vdigit$ make<br>gcc -shared -o OBJ.i686-pc-linux-gnu/_grass6_wxvdigit.so -L/home/iullah/grass6_source/grass6_devel/dist.i686-pc-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/iullah/grass6_source/grass6_devel/dist.i686-pc-linux-gnu/lib&nbsp;&nbsp;&nbsp; OBJ.i686-pc-linux-gnu/cats.o OBJ.i686-pc-linux-gnu/digit.o OBJ.i686-pc-linux-gnu/driver.o OBJ.i686-pc-linux-gnu/driver_draw.o OBJ.i686-pc-linux-gnu/driver_select.o OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o OBJ.i686-pc-linux-gnu/line.o OBJ.i686-pc-linux-gnu/message.o OBJ.i686-pc-linux-gnu/select.o OBJ.i686-pc-linux-gnu/undo.o OBJ.i686-pc-linux-gnu/vertex.o -lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_dgl -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_rtree&nbsp; -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_linkm -lgrass_rtree&nbsp; -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_rtree&nbsp; -lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -L/usr/local/lib -lgdal -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp; -L/usr/local/lib -lgdal -lgrass_vedit -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_dgl -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_rtree&nbsp; -lgrass_gis -lgrass_datetime -lz&nbsp;&nbsp;&nbsp;&nbsp; -lgrass_linkm -lgrass_rtree&nbsp; -pthread -Wl,-Bsymbolic-functions&nbsp; -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8&nbsp; -L/usr/lib/python2.5/config -lpthread -ldl -lutil -lm -lpython2.5 -lgdi<br>
/usr/bin/ld: cannot find -lgdi<br>collect2: ld returned 1 exit status<br>make: *** [OBJ.i686-pc-linux-gnu/_grass6_wxvdigit.so] Error 1<br></font><br><br>I thought that it must be something missing in my gtk install, so I went through the ubuntu repository and got absolutely everything gtk that I could find (over 140 packages), but to no avail...&nbsp; A web search hs yielded plenty of &quot;/usr/bin/ld: cannot find -xxxxx&quot; , but none for &quot;-lgdi&quot;. Most of the solutions to similar errors were of the &quot;you need to install xxxx package&quot; variety. Unfortuntately, none of these solutions were for a missing -lgdi nor were they even specific to GRASS... Thanks again in advance for any help you or others may offer to me.<br>
<br>Cheers,<br><br>Isaac<br><br><div class="gmail_quote">On Fri, Nov 7, 2008 at 3:50 PM, Glynn Clements <span dir="ltr">&lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
Isaac Ullah wrote:<br>
<br>
&gt; Hi all, &nbsp;I&#39;m currently trying to compile both grass 6.4 and grass7 on Ubuntu<br>
&gt; 8.10, and I am consistently getting a couple of compile errors for<br>
&gt; .../gui/wxwigits/vdigit and .../gui/wxwidgets/NVIS for &nbsp;that have really<br>
&gt; stumped me. here are the initial errors:<br>
<br>
</div><div class="Ih2E3d">&gt; Is this a wx issue?<br>
<br>
</div>Yes.<br>
<div class="Ih2E3d"><br>
&gt; I&#39;ve read the latest few threads about other compile<br>
&gt; errors with wx enabling in ./configure options, and I&#39;ve confirmed that my<br>
&gt; etc/alternatives/wx-config file is pointing to<br>
&gt; /usr/lib/wx/config/base-unicode-release-2.8,<br>
<br>
</div>FWIW, my /usr/lib/wx/config directory contains the following files:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;gtk2-ansi-release-2.6<br>
 &nbsp; &nbsp; &nbsp; &nbsp;gtk2-unicode-release-2.6<br>
 &nbsp; &nbsp; &nbsp; &nbsp;gtk2-unicode-release-2.8<br>
<br>
I suspect that you haven&#39;t installed all of the necessary packages.<br>
AFAICT, you need at least the following packages:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;libwxbase2.8-0<br>
 &nbsp; &nbsp; &nbsp; &nbsp;libwxbase2.8-dev<br>
 &nbsp; &nbsp; &nbsp; &nbsp;libwxgtk2.8-0<br>
 &nbsp; &nbsp; &nbsp; &nbsp;libwxgtk2.8-dev<br>
 &nbsp; &nbsp; &nbsp; &nbsp;wx-common<br>
 &nbsp; &nbsp; &nbsp; &nbsp;wx2.8-headers<br>
<font color="#888888"><br>
--<br>
Glynn Clements &lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Student,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>Mediterranean Landscape Dynamics Project<br>
***************************************************<br><a href="mailto:isaac.ullah@asu.edu">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com">ullah@archaeologist.com</a><br><br><a href="http://www.public.asu.edu/~iullah">http://www.public.asu.edu/~iullah</a><br>
***************************************************<br>