Ticket #1799 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

OGR Interlis driver does not compiler with Xerces 2.8.0

Reported by: mloskot Owned by: mloskot
Priority: normal Milestone: 1.5.0
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: xerces
Cc:

Description

Today, Christian Schaffer reported problems with building GDAL 1.4.2 with Xerces 2.8.0 support:  Configure on Solaris 10 --with-xerces fails.

Another user is experiencing similar problems with older Xerces 2.7.0:  problems compiling gdal with xerces

This bug is similar to #1577 that's already fixed.

First tests confirm there are problems with unresolved types and some headers are not included.

Change History

Changed 6 years ago by mloskot

  • owner changed from warmerdam to mloskot
  • status changed from new to assigned

Changed 6 years ago by mloskot

Updated configure.in to report detected Xerces version (r12081).

Changed 6 years ago by mloskot

  • status changed from assigned to closed
  • resolution set to fixed

Fixed ILI driver by adding missing Xerces headers. Successfully tested on Linux with Xerces 2.7.0, 2.8.0 and 3.0.0 (SVN).

I'm closing this ticket as fixed.

Changed 6 years ago by mloskot

I've forgot to add an important note. Obviously, GDAL has been fixed in SVN only, so GDAL 1.4.2 release will stay infected and not working with Xerces 2.8.0, unfortunately. I'm sorry for troubles.

Changed 6 years ago by mloskot

And one more comment, I decided to check GDAL 1.4.2 with Xerces 2.7.0 and I confirm it works very well:

mloskot@dog:~/dev/gdal/release/gdal-1.4.2$ echo $LD_LIBRARY_PATH 
/home/mloskot/dev/gdal/release/gdal-1.4.2:/usr/local/xerces-2.7.0/lib:/usr/local/lib

mloskot@dog:~/dev/gdal/release/gdal-1.4.2$ ldd ./ogr/ogrinfo | grep xerces
        libxerces-c.so.27 => /usr/local/xerces-2.7.0/lib/libxerces-c.so.27 (0xb6303000)

mloskot@dog:~/dev/gdal/release/gdal-1.4.2$ ./ogr/ogrinfo --formats | grep GML
  -> "GML" (read/write)

Summarizing, GDAL 1.4.2 release builds and works with Xerces 2.7.0, but does not build with 2.8.0.

Changed 6 years ago by mloskot

All fixes for this ticket have been ported to the branches/1.4 (12088), so they will be included in 1.4.3 release.

Note: See TracTickets for help on using tickets.