[PostGIS] #5715: A new flag --without-comments

PostGIS trac at osgeo.org
Fri May 9 06:17:01 PDT 2025


#5715: A new flag --without-comments
--------------------------------+---------------------------
  Reporter:  Lars Aksel Opsahl  |      Owner:  strk
      Type:  enhancement        |     Status:  new
  Priority:  low                |  Milestone:  PostGIS 3.6.0
 Component:  postgis            |    Version:  3.4.x
Resolution:                     |   Keywords:
--------------------------------+---------------------------
Comment (by Lars Aksel Opsahl):

 I test now to avoid doc to build and this error


 {{{
 grep -v '\&postgis_special;' postgis.xml > postgis-nospecial.xml.in
 /usr/local/bin/xmllint --path
 .:/Users/lop/dev/pg_build_from_source/gitlab_com_larsop/postgis/doc
 --noent -o postgis-nospecial.xml postgis-nospecial.xml.in
 dyld[96203]: Symbol not found: _xmlCtxtSetMaxAmplification
   Referenced from: <67ABBA84-EFD3-3806-86AE-9975D0EC3811>
 /usr/local/bin/xmllint
   Expected in:     <236C8BF2-0800-396C-AF03-B5328CAD1FD6>
 /usr/lib/libxml2.2.dylib
 make[1]: *** [postgis-nospecial.xml] Abort trap: 6
 make: *** [all] Error 1

 }}}

 I had to do this on my mac

 {{{

 diff --git a/configure.ac b/configure.ac
 index ed5d17255..a6dbd35e3 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -199,7 +199,7 @@ dnl
  dnl Search for xsltproc which is required for building documentation
  dnl

 -CAN_BUILD_COMMENTS=yes
 +CAN_BUILD_COMMENTS=no

  AC_PATH_PROG([XSLTPROC], [xsltproc], [])
  if test "x$XSLTPROC" = "x"; then

 }}}

 So it's seems like by default doc is still i built.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5715#comment:5>
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-tickets mailing list