mentby.com
Blog | Jobs | Help | Signup | Login

[PostGIS] Make error in building PostGIS 2.0



Hi everyone,

I am try to build PostGIS 2.0 on Windows.  After following the first 17
steps in the instruction manual, I am getting the following error while
running 'make' for PostGIS 2.0 alaph5.

make[1]: *** [lwgeom_in_geojson.o] Error 1

There is no error during ./configure

I did some research online but could not find anything useful.

Greatly appreciate if anyone can give advice on this issue.

Thanks.

-----
Edison Tam
NGC SWE
US


Edison (IS) Tam Tue, 14 Feb 2012 15:25:32 -0800

compiling geojson on mingw is tricky.

Did you try configure as the http://trac.osgeo.org/postgis/wiki/DevWikiWinMingWSys_20  instructions
suggested with CFLAGS=-w

./configure --prefix=/c/projects/json-c/rel-0.9 CFLAGS=-w

I think I ran into similar issues without using the -w flag.

Hope that helps,
Regina http://www.postgis.us

Pledge "postgis64windows"

"I will work on building a 64-bit PostGIS Windows but only if 20 other
people will put in $100 USD for the effort." http://www.pledgebank.com/postgis64windows


Paragon Corporation Tue, 14 Feb 2012 23:29:43 -0800

I did configure with the -w flag as stated in the instruction; json
configure, make, and make install ran fine.  However, the same error message
error when I try to make PostGIS.

Do you need to copy everything in json-rel to the postresql install folder?

from /c/projects/json/rel-9.0 to /c/projects/pg/pg91/

the instruction does not say this step, but I did it.

-----
Edison Tam
NGC SWE
US


Edison (IS) Tam Wed, 15 Feb 2012 07:15:43 -0800

Hello,
I have the same error (make postGIS2.0, make[1]: *** [lwgeom_in_geojson.o]
Error 1 )… Did you find some fix to solve the problem?
Thanks.

-----
Antonin C
Egis
FR
----


Lim Thu, 15 Mar 2012 07:33:55 -0700



Related Topics

Post a Comment