Opened 14 years ago

Closed 14 years ago

#713 closed defect (fixed)

new GNUmakefile.in is broken on mingW

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: mingw Cc:

Description

Sandro,

what is this GNUMake.in supposed to do

All I see on my mingW screen is this:

Using GNU make found at /bin/make
make[600]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[601]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[602]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[603]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[604]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[605]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[606]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[607]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[608]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[609]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[610]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[611]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[612]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[613]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[614]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[615]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[616]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[617]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[618]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[619]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[620]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[621]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[622]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[623]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[624]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[625]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[626]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[627]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[628]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[629]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[630]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[631]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[632]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[633]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[634]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[635]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[636]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[637]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[638]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[639]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[640]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[641]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[642]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[643]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[644]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[645]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[646]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[647]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[648]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[649]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[650]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[651]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[652]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[653]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[654]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[655]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[656]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[657]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[658]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[659]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[660]: Entering directory `/c/projects/PostGIS/trunk'
Using GNU make found at /bin/make
make[661]: Entering directory `/c/projects/PostGIS/trunk'

And it keeps on incrementing and then it finally dies with

make[138]: *** [clean] Interrupt
make[137]: *** [clean] Interrupt
make[136]: *** [clean] Interrupt
make[135]: *** [clean] Interrupt
make[134]: *** [clean] Interrupt

I'll try to blow out my trunk and see if that fixes things. Am I the only one having this problem? Seems to have started as soon as you deleted the GNUMakefile and replaced with .in at #6404

Change History (12)

comment:1 by robe, 14 years ago

r6404 (sorry syntax wrong)

comment:2 by pramsey, 14 years ago

Autogen, configure, make clean, make seems to be working for me here after update.

comment:3 by pramsey, 14 years ago

Different problem though. I just introduced a breaking change in ./postgis, so compilation fails there... but! it still merrily goes into ./loader and compiles there, despite the critical error.

lwgeom_pg.c:481: error: ‘GSERIALIZED’ has no member named ‘type’
make[1]: *** [lwgeom_pg.o] Error 1
---- Making all in loader
gcc -g -O2  -fno-common -DPIC  -Wall -Wmissing-prototypes  -DUSE_NLS -DLOCALEDIR=\"/usr/local/pgsql/9.0/share/locale\" -I/opt/local/include -I/opt/local/include shpopen.o dbfopen.o getopt.o shp2pgsql-core.o shpcommon.o shp2pgsql-cli.o safileio.o ../liblwgeom/liblwgeom.a -o shp2pgsql -L/opt/local/lib -lintl -liconv -lc  -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -liconv -lm 

comment:4 by strk, 14 years ago

slow down guys, too many bugs in one. @robe : did ./autogen.sh && ./configure fix your case ? @paul : I'll look at "stop on first error"

comment:5 by strk, 14 years ago

r6408 fixes the gaiety exiting with failure on first error.

comment:6 by strk, 14 years ago

Summary: new GNUMake.in is broken on mingWnew GNUmakefile.in is broken on mingW

comment:7 by pramsey, 14 years ago

Thanks, stop on error is now working for me.

comment:8 by robe, 14 years ago

No that did not fix it. My custom script file is already set to automatically do sh autogen.sh, make clean, make, make install every time I run it.

I haven't gotten around to deleting my folder and redownloading yet. I've had issues with autoconf leaving garbage around from prior calls that show their ugly head when major changes happen to the config scripts. Hopefully that is all it is. I'll let you know once I get around to that.

comment:9 by robe, 14 years ago

I mean it does configure too. All that stuff. Anyrate I'll keep you posted :)

comment:10 by robe, 14 years ago

Didn't help -- same errors. It's like a dog chasing its tail. Maybe it doesn't like my make.

comment:11 by strk, 14 years ago

Supposedly non-gnu make should be using Makefile, which looks for gnu make and runs that. Is that happening ? Maybe you don't have GNUmakefile ? Should be generated by ./configure (if properly updated by ./autogen.sh).

comment:12 by robe, 14 years ago

Resolution: fixed
Status: newclosed

Strk and Paul -- nevermind

User error. My script was make clean happy so was doing a make clean before autogen and configure step in addition to afterward. I guess before the make clean would fail and things would just continue on, but this time since it didn't know how to make clean it just ran around in circles. Anyway thanks for the hint. I htink I'm back in business now. though hmm only my cunit tests seem to be running not the PostgreSQL ones. That could be another stupid config thing.

Note: See TracTickets for help on using tickets.