[postgis-devel] RE: PostGIS compilation with Cygwin

Obe, Regina robe.dnd at cityofboston.gov
Fri Oct 5 09:02:32 PDT 2007


Rimma, 
 
I'm not sure if building on Cygwin is still being tested with postgis so
its kind of hard to tell what kind of strange errors you would be
getting.
 
Have you tried compiling with MinGW.  I think that's what most Windows
developers are using to compile Postgis.  That's what I usually use but
its been a while since I've done that myself.  I haven't tried Ming on
my windows vista laptop, so I'm not sure if there are any issues with
running that on Vista.
 
Sorry I'm not of much help.
 
Regina

________________________________

From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of
Rimma V. Nehme
Sent: Friday, October 05, 2007 10:40 AM
To: postgis-devel at postgis.refractions.net
Subject: [postgis-devel] RE: PostGIS compilation with Cygwin



Hi Regina,

 

No on the opposite, I am running PostgreSQL on Windows Vista.

The reason I use cygwin is because that's how my PostgreSQL was

setup (to be built with cygwin).

 

 

 

When I issue a 'make' for PostGIS, I get a lot of undefined statements

(something has to do with loader not seeing libpostgres.a).

 

.....

 

/cygdrive/c/postgres/postgresql-8.2.5/contrib/postgis-1.3.1/lwgeom/lwgeo
m_nojts.

c:172: undefined reference to `_elog_start'

/cygdrive/c/postgres/postgresql-8.2.5/contrib/postgis-1.3.1/lwgeom/lwgeo
m_nojts.

c:172: undefined reference to `_elog_finish'

lwgeom_nojts.o: In function `isring':

/cygdrive/c/postgres/postgresql-8.2.5/contrib/postgis-1.3.1/lwgeom/lwgeo
m_nojts.

c:180: undefined reference to `_elog_start'

/cygdrive/c/postgres/postgresql-8.2.5/contrib/postgis-1.3.1/lwgeom/lwgeo
m_nojts.

c:180: undefined reference to `_elog_finish'

lwgeom_nojts.o: In function `pointonsurface':

/cygdrive/c/postgres/postgresql-8.2.5/contrib/postgis-1.3.1/lwgeom/lwgeo
m_nojts.

c:188: undefined reference to `_elog_start'

/cygdrive/c/postgres/postgresql-8.2.5/contrib/postgis-1.3.1/lwgeom/lwgeo
m_nojts.

c:188: undefined reference to `_elog_finish'

lwgeom_nojts.o: In function `unite_garray':

/cygdrive/c/postgres/postgresql-8.2.5/contrib/postgis-1.3.1/lwgeom/lwgeo
m_nojts.

c:196: undefined reference to `_elog_start'

 

....

 

I have seen posts suggesting modifying the Makefile. I've tried all of
them, but

I keep getting undefines, so I wanted to ask for help.

 

If you have any suggestions, please let me know.

 

Thank you,

Rimma

 

------------------------------------------------------------------------
--------------------------------------------

 

Rimma,

 

Just wondering why you want to use Cygwin? Are you using very old

hardware like windows 95 or NT or something.

 

I haven't heard of any people trying to run PostGIS on Cygwin since

PostgreSQL introduced native windows support in (PostgreSQL 8.0

version).

 

From what I remember of compiling postgis on Cygwin - it pretty much

followed the unix instructions.

 

http://postgis.refractions.net/docs/ch02.html

 

Hope that helps,

Regina

 

 

From: Rimma V. Nehme [mailto:rnehme at purdue.edu] 
Sent: Thursday, October 04, 2007 7:12 PM
To: 'postgis-devel at postgis.refractions.net'
Subject: PostGIS compilation with Cygwin

 

Hi,

 

Can anyone refer me to the PostGIS compilation guide with Cygwin.

 

Thank you,

Rimma




-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20071005/dc6cacc3/attachment.html>


More information about the postgis-devel mailing list