Check the command that the Makefile is running to generate the .sql file. 
Decompose it into bits and run the bits at the command line. One of the bits 
is failing you (probably the cpp bit, but one never knows). 

Paul

Quoting David Bitner <bitner@macnoise.com>:

> After running into problems with geos_version.sh that I got past with the
> help of strk at refractions, I am now getting a zero length postgis.sql file
> with no errors coming from gmake -- other utilities work fine (ie
> shp2pgsql).
> 
> I am compiling PostGIS 0.9.0 with Geos 2.0.0 (binary from CSW/blastwave.org)
> on Solaris 9 (x86).
> 
> Has anyone ever run into this problem before?  Any hints about how to fix?
> 
> David
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 




