Opened 12 years ago

Closed 12 years ago

#1992 closed defect (fixed)

Can't compile under mingw64 anymore

Reported by: robe Owned by: strk
Priority: critical Milestone: PostGIS 2.1.0
Component: build Version: master
Keywords: Cc:

Description

At first I thought it was just winnie having a hiccup, but I'm having the same issue on my windows 7 desktop box.

x86_64-w64-mingw32-gcc -g -O2  -DDLL_EXPORT -DPIC  -Wall -Wmissing-prototypes -I
../rt_core -I../../liblwgeom -I/c/ming64/projects/gdal/rel-1.9.1w64/include -I/c
/ming64/projects/geos/rel-3.4.0devw64/include  -I/c/ming64/projects/rel-libiconv
-1.13.1w64/include -c raster2pgsql.c
In file included from ../../liblwgeom/lwgeom_geos.h:20:0,
                 from ../rt_core/rt_api.h:99,
                 from raster2pgsql.h:44,
                 from raster2pgsql.c:29:
../../liblwgeom/liblwgeom.h:22:22: fatal error: proj_api.h: No such file or dire
ctory
compilation terminated.
make[2]: *** [raster2pgsql.o] Error 1
make[2]: Leaving directory `/c/ming64/projects/postgis/postgis-2.1.0SVN/raster/l
oader'
make[1]: *** [rtloader] Error 2
make[1]: Leaving directory `/c/ming64/projects/postgis/postgis-2.1.0SVN/raster'
make: *** [all] Error 1

Unfortunately I don't keep more than 10 logs back and I must have had a stupid setting that was passing it off as success.

Seems like its been a couple of days.

I'm going ot check my regular mingw32 to se if it has the same issue

Change History (7)

comment:1 by robe, 12 years ago

Component: postgisbuild/upgrade/install
Owner: changed from pramsey to strk

comment:2 by dustymugs, 12 years ago

I'm wondering if a change I made could have done this: r10238. Specifically, the removal of the PROJ_CFLAGS variable.

comment:3 by robe, 12 years ago

could be. I'll try putting that back.

comment:4 by robe, 12 years ago

Yap that's it. Reverting the file fixes my issue. You mind if I revert or you want me to try to make the minimal of changes to make it still work.

comment:5 by dustymugs, 12 years ago

I'll revert the changes.

comment:6 by dustymugs, 12 years ago

Changes reverted in r10277.

comment:7 by robe, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.