[postgis-devel] [PostGIS] #1694: PostGIS 2.0.0 does not build with clang

PostGIS trac at osgeo.org
Fri Mar 23 12:51:11 PDT 2012


#1694: PostGIS 2.0.0 does not build with clang
---------------------+------------------------------------------------------
 Reporter:  vince    |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by vince):

 I have to replace $(CPP) by cpp in the various Makefiles where $(CPP)
 appears to get the SQL functions properly generated. Then, however,
 xsltproc phase fails:

 {{{
 /opt/local/bin/xsltproc ./xsl/topology_comments.sql.xsl postgis-out.xml >
 topology_comments.sql
 http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsn.ent:1: parser error
 : Content error in the external subset
 HTTP/1.1 200 OK
 ^
 http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsn.ent:1: validity
 error : All markup of the conditional section is not in the same entity
 HTTP/1.1 200 OK
 ^
 http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsn.ent:1: parser error
 : Content error in the external subset
 HTTP/1.1 200 OK
    ^
 http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsn.ent:1: validity
 error : All markup of the conditional section is not in the same entity
 HTTP/1.1 200 OK
    ^
 http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsn.ent:1: parser error
 : Content error in the external subset
 HTTP/1.1 200 OK
       ^
 unable to parse postgis-out.xml
 }}}

 And I have to alter manually the LDFLAGS line of the liblwgeom Makefile
 because it seems not to take into account the LDFLAGS environment
 variable…

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1694#comment:10>
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