Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1799 closed defect (fixed)

OGR Interlis driver does not compiler with Xerces 2.8.0

Reported by: Mateusz Łoskot Owned by: Mateusz Łoskot
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 (6)

comment:1 by Mateusz Łoskot, 17 years ago

Owner: changed from warmerdam to Mateusz Łoskot
Status: newassigned

comment:2 by Mateusz Łoskot, 17 years ago

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

comment:3 by Mateusz Łoskot, 17 years ago

Resolution: fixed
Status: assignedclosed

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.

comment:4 by Mateusz Łoskot, 17 years ago

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.

comment:5 by Mateusz Łoskot, 17 years ago

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.

comment:6 by Mateusz Łoskot, 17 years ago

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.