[postgis-devel] [PostGIS] #1995: Build errors for 1.5 with PostgreSQL 9.2.0

PostGIS trac at osgeo.org
Thu Sep 13 08:08:21 PDT 2012


#1995: Build errors for 1.5 with PostgreSQL 9.2.0
-----------------------+----------------------------------------------------
 Reporter:  darkpanda  |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  high       |   Milestone:  PostGIS 1.5.6
Component:  postgis    |     Version:  2.0.x        
 Keywords:             |  
-----------------------+----------------------------------------------------
 I was experiencing some build errors with 1.5.5 using PostgreSQL 9.2.0
 using clang on OSX. Here's a sampling of the errors I spotted:

 {{{
 lwgeom_estimate.c
 lwgeom_estimate.c:318:3: error: use of undeclared identifier
 'Form_pg_class'
                 Form_pg_class reltup = (Form_pg_class)
 GETSTRUCT(class_tuple);
 }}}

 The fix was to include utils/rel.h in a few places. A patch is attached.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1995>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list