[postgis-devel] About the build of postgis on windows platform

Paragon Corporation lr at pcorp.us
Mon Apr 9 16:59:41 PDT 2012


Xiong He,
 
I think PostgreSQL was thinking of dropping VS2005 for future versions.  The
8.4 edb binaries are compiled with 2005, but the 9.0/9.1 I believe are
compiled with 2008 and I think there is talk of VS 2010 for the upcoming
9.1. Even them they have an ugly hackish perl script that builds the
solution files.  So much effort was involved there and they are a much
larger crew.
 
Anyrate not disagreeing with you that having a VS compile option wouldn't be
nice for some.  I'm just saying it's a lot of work.  You don't know how much
effort GEOS folks put in to make VS compilation a possibility and it would
be even more work for PostGIS.  I know because I have to listen to their
rants. 
 
There is discussion of moving to CMAKE similar to what Geos is experimenting
with that would make this much easier.
Until then,  I don't think it's a dream that is easily attainable and would
take mountains of effort for a questionable possiblity of more developers.
 
Pierre and I are the only PostGIS developers who develop predominantly on
windows.  I for one don't care about a VS build as I find the whole VS
environment annoying.
Pierre may be more sympathetic.  I think he wants a VS environment.
 
I apologize if I come off irritated, I don't mean to.  Just want to explain
the difficulty that may not be immediately apparent to casual observers.
 
Regina
http://ww <http://www.postgis.us> w.postgis.us

 

  _____  

From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of iihero
Sent: Monday, April 09, 2012 10:01 AM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] About the build of postgis on windows platform


Now, the PostgreSQL  supports only VS2005 directly.  And it supports VS2005
well.
The dependant project Geos and Proj of postGIS also can be built under
VS2005 very well.
My thinking is that postGIS could do this as well by a little extra work. 
Anyway, it will take time to make it work.
 
------------------ Original ------------------
From:  "Paragon Corporation"<lr at pcorp.us>;
Date:  Mon, Apr 9, 2012 08:06 PM
To:  "'PostGIS Development
Discussion'"<postgis-devel at postgis.refractions.net>; 
Subject:  Re: [postgis-devel] About the build of postgis on windows platform
 
Not without a lot of work I'm afraid.  That's why we didn't go down that
route, we started off trying and gave up. Granted we don't have much
experience with VC.  No one has stepped up to spend the effort on it. 
 
We personally don't care much for VS 2008 (2008 is ancient at this point) so
we are definitely not willing to put in the effort for it.  The main reason
I don't like it is I'm running VC 2010 (just for web development) on my box
and evne that is old and 
I don't want to install yet another VS that takes eons to install and when I
can just copy my mingw chain to another computer and be done with it.  I
don't think the PostgreSQL system completely supports VC 2010 yet and even
if it did, we'd have to be distrbuting VC 2010 runtimes in the build, thus
making our packaging more complicated.
 
PostGIS make check tool chain is also very much designed to work under a
Unix environment so to check VS without that, I could never trust the build
I make with VS so I'd end up having to build with 2 chains.
 
So unless someone else is willing to put in the aggrevation of getting a
native VS build working, it ain't happening. 
 
Sorry to be so blunt about it,
Regina
http://www.postgis.us
 


  _____  

From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of iihero
Sent: Monday, April 09, 2012 12:16 AM
To: postgis-devel
Subject: [postgis-devel] About the build of postgis on windows platform


For now, seems the native build of VS2005/2008 on windows platform is not
supported directly for postgis2.0.
Is it possible to get a makefile.vc to work for the postgis?

Since postgresql has already changed the default build mode on windows
platform, I think it's very useful to most of the developer.

Thanks.


------------------
----------------------------------------------------------
iihero(Xiong He)  http://www.sql9.com
----------------------------------------------------------


 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20120409/de8304cb/attachment.html>


More information about the postgis-devel mailing list