[postgis-devel] Compile trouble of Trunk on MingW

Obe, Regina robe.dnd at cityofboston.gov
Wed Jan 7 06:42:24 PST 2009


Thanks that worked :).

Regina 

-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Mark
Cave-Ayland
Sent: Wednesday, January 07, 2009 9:39 AM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] Compile trouble of Trunk on MingW

Obe, Regina wrote:
> I'm still having trouble compiling 1.4 SVN under MingW.  It keeps
> complaining that it can't find my Proj install.  My install looks fine
> as far as I can tell.  The proj.exe etc gets installed.  I verified my
> Proj 4.6.1 proj_api.h is in C:\msys\1.0\local\include\proj_api.h
> 
> I tried this
> 
> ./configure --libdir=/usr/local/lib --includedir=/usr/local/include
> --with-pgconfig=/usr/local/pgsql/bin/pg_config
> --with-projdir=/usr/local/include
> 
> and keep getting the error
> 
> configure: error: could not find proj_api.h - you may need to specify
> the directory of a PROJ.4 installation using --with-projdir
> 
> I tried using both SVN and nightly snapshot with same error.  Have no
> clue what I am missing here.
> 
> GEOS seems to be automatically detected and pgconfig seem to work fine
> with the --with-pgconfig.
> 
> Any thoughts would be appreciated.
> 
> Thanks,
> Regina

Hi Regina,

The clue is in the name ;)  projdir needs to point to base directory of 
the PROJ.4 install, since it needs the information from various 
subdirectories. In your case above, it should work with 
--with-projdir=/usr/local.


HTH,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel
-----------------------------------------
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.



More information about the postgis-devel mailing list