Opened 15 years ago

Closed 15 years ago

#315 closed defect (fixed)

Entity postgis_aggs_mm not defined

Reported by: mloskot Owned by: colivier
Priority: medium Milestone: PostGIS 1.5.0
Component: postgis Version: master
Keywords: Cc:

Description (last modified by mloskot)

Complete rebuild of trunk r4866 gives the following error:

...
PostGIS was built successfully. Ready to install.
/usr/bin/make -C doc comments
make[1]: Entering directory `/home/mloskot/dev/postgis/_svn/trunk/doc'
/usr/bin/xsltproc ./xsl/postgis_comments.sql.xsl postgis.xml > postgis_comments.sql
warning: failed to load external entity "postgis_aggs_mm.xml"
postgis.xml:107: parser error : Failure to process entity postgis_aggs_mm
  &postgis_aggs_mm;
                   ^
postgis.xml:107: parser error : Entity 'postgis_aggs_mm' not defined
  &postgis_aggs_mm;
                   ^
unable to parse postgis.xml
make[1]: *** [postgis_comments.sql] Error 6
make[1]: Leaving directory `/home/mloskot/dev/postgis/_svn/trunk/doc'
make: *** [comments] Error 2

Environment:

  • Linux 64-bit (Ubuntu 9.10)
  • GCC 4.4.1
  • GEOS from SVN trunk (r2732)

Change History (7)

comment:1 by mloskot, 15 years ago

Description: modified (diff)

comment:2 by robe, 15 years ago

It seems you can't build the comments without the agg which really isn't necessary for the comments anyway.

I was able to get around it by remarking out the agg line in postgis.xml like so

<!--&postgis_aggs_mm;-->

or alternatively building the postgis_aggs_mm first and then the comments.

So we could have this as part of the process of building the comments to remark it out or alternatively as part of the comments build -- to build the (useless to it) postgis_aggs_mm first.

By the way Kevin -- I don't see the postgis_commments.sql in the tar ball. I thought we used to include that or maybe I'm not looking in the right place. Assumed it would be in postgis/.. folder

comment:3 by pramsey, 15 years ago

Owner: changed from pramsey to colivier

comment:4 by pramsey, 15 years ago

Milestone: PostGIS 1.5.0

comment:5 by kneufeld, 15 years ago

Fixed at r4871. The target was just missing a dependency.

BTW Regina, I updated the buildbot so it now includes the comments in the tarball. It looks like I was building it, but just forgot to include it in the package. Anyway, that's fixed now as well.

Mateusz, if you can confirm, we can close this ticket.

comment:6 by mloskot, 15 years ago

Kevin, I've tested and I can confirm it's fixed for me. Thank you!

comment:7 by pramsey, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.