[postgis-users] compilation problem with postgresql7.4 + post gis 0.8

Tyler Mitchell TMitchell at lignum.com
Thu Dec 4 08:46:22 PST 2003

You may want to just try getting it compiled without proj and geos the
first time around, then add them in.
I find it a bit strange that it's trying to compile in proj support but it
does not appear to be installed.  You should probably show us what
parameters you used when you ran ./configure.  Configure normally does a
great job checking to see if it can find the required libraries, but if you
are explicitly telling it to use proj libraries, then this may be the

It would seem to me that proj4 would be a requirement though - is postgis
capable of projecting with it?

             Darren Houston                                                
             <darren.houston at e                                             
             du.sait.ca>                                                To 
             Sent by:                  "'postgis-users at postgis.refractions 
             postgis-users-bou         .net'"                              
             nces at postgis.refr         <postgis-users at postgis.refractions. 
             actions.net               net>                                
             12/04/2003 03:28                                       Fax to 
                                       RE: [postgis-users] compilation     
             Please respond to         problem with postgresql7.4 + post   
               PostGIS Users           gis  0.8                            
             <postgis-users at po                                             

Hello Laurent.

No, you don't need to install those projects before PostGIS. I would
suggest that you install GEOS, which implements spatial predicate functions
and spatial operators (plus more), but it requires a PostgreSQL compiled
with the lstdc++ flag;

LDFLAGS=-lstdc++ ./configure ...

You can find GEOS at http://geos.refractions.net and Proj4 at

I would also suggest installing Proj4. If you don't want those projects
installed edit the PostGIS makefile and set USE_PROJ=0 and USE_GEOS=0.

If you want those projects installed, edit the Makefile and set PROJ_DIR
and GEOS_DIR to the top-level directory where the projects are installed.
After installation of everything, you will have to run ldconfig to link all
the libraries. Then you will need to manually edit postgis.sql in your
PostgreSQL install directory and change 'libdir' to the path of the postgis
library (which also resides in your PostgreSQL install directory).

Any more problems, don't hesitate to ask.

Darren H.

More information about the postgis-users mailing list