<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></META></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=468233108-13072009><FONT color=#0000ff 
size=2 face=Arial>Nicklas,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468233108-13072009><FONT color=#0000ff 
size=2 face=Arial>Hmm hadn't bothered looking at that.  We'll take a look 
at this later.  If you want to give it a try on your install, we started 
documenting what we did here</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468233108-13072009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468233108-13072009><FONT color=#0000ff 
size=2 face=Arial><A 
href="http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompileWithgui">http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompileWithgui</A> </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468233108-13072009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468233108-13072009><SPAN 
class=468233108-13072009><FONT color=#0000ff size=2 face=Arial>I was being 
stupid earlier trying to download and compile all the millions of 
dependencies  first time I tried until I realized there was a precompiled 
GTK bundle.</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468233108-13072009><SPAN 
class=468233108-13072009><FONT color=#0000ff size=2 
face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468233108-13072009><SPAN 
class=468233108-13072009><FONT color=#0000ff size=2 
face=Arial>Thanks,</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468233108-13072009><SPAN 
class=468233108-13072009><FONT color=#0000ff size=2 
face=Arial>Regina</FONT></SPAN></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> 
postgis-devel-bounces@postgis.refractions.net 
[mailto:postgis-devel-bounces@postgis.refractions.net] <B>On Behalf Of 
</B>nicklas.aven@jordogskog.no<BR><B>Sent:</B> Monday, July 13, 2009 4:27 
AM<BR><B>To:</B> PostGIS Development Discussion<BR><B>Subject:</B> Re: 
[postgis-devel] Still no luck getting shp2pgsql-gui to compileunder 
MinGW<BR></FONT><BR></DIV>
<DIV></DIV>Hallo 
<DIV align=left> </DIV>
<DIV align=left> </DIV>
<DIV align=left>Idon't know, but I followed the error-message. Then I found this 
in the file shp2pgsql-core.h</DIV>
<DIV align=left>#ifdef HAVE_ICONV<BR>extern char *encoding; /* iconv encoding 
name */<BR>#endif<BR></DIV>
<DIV align=left>so I guess that HAVE_ICONV gives a not desired answer since the 
problem according to the error-message is that encoding is not declared.</DIV>
<DIV align=left> </DIV>
<DIV align=left>just a guess</DIV>
<DIV align=left> </DIV>
<DIV align=left>/Nicklas</DIV>
<DIV align=left><BR><BR>2009-07-13 Paragon Corporation wrote:<BR><BR>We get 
different results from this clean box than my prior attempts, but<BR>>still 
fails at trying to build the gui.<BR>><BR>>Attached is the build log just 
trying to build the loader.<BR>><BR>>Output of our pkg-config --cflags 
gtk+-2.0 looks like the below<BR>><BR>>-mms-bitfields 
-Ic:/MinGW/include/gtk-2.0 
-Ic:/MinGW/lib/gtk-2.0/include<BR>>-Ic:/MinGW/include/atk-1.0 
-Ic:/MinGW/include/cairo<BR>>-Ic:/MinGW/include/pango-1.0 
-Ic:/MinGW/include/glib-2.0<BR>>-Ic:/MinGW/lib/glib-2.0/include 
-Ic:/MinGW/include/libpng12<BR>><BR>><BR>>We had originally tried to 
install under c:/gtk/opt and can't remember the<BR>>exact errors we got with 
that. They might have been the same.<BR>><BR>>Anyrate maybe someone has 
some clues. I think on my corrupted box, I was<BR>>able to get further. The 
shp2pgsql-gui.o was being produced and was<BR>>breaking at building the exe. 
But then I was fiddling around with the<BR>>makefile so much that one of my 
fiddles might have made it get that far.<BR>><BR>>Thanks,<BR>>Regina 
and 
Leo<BR>><BR>>_______________________________________________<BR>>postgis-devel 
mailing 
list<BR>>postgis-devel@postgis.refractions.net<BR>>http://postgis.refractions.net/mailman/listinfo/postgis-devel<BR>><BR>></DIV></BODY></HTML>