Issue Details (XML | Word | Printable)

Key: LOGCXX-21
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Curt Arnold
Reporter: Curt Arnold
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4cxx

Add check that libxml2 not libxml has been included

Created: 09/Oct/04 12:30 AM   Updated: 21/Oct/04 09:37 PM
Return to search
Component/s: Build
Affects Version/s: 0.9.7
Fix Version/s: 0.10.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works gnomexml.patch 2004-10-09 12:35 AM Curt Arnold 0.9 kB

Resolution Date: 21/Oct/04 09:37 PM


 Description  « Hide
gnomexml.cpp is written expecting libxml2. If libxml2 is present but libxml is placed before it on the include path, the code will fail to compile but the reason is not clear. This occurred to me setting up an Ant build since when I was trying to resolve unsatisified includes in gnomexml.cpp I placed /usr/include/gnome-xml on the include path (seemed reasonable at the time) not /usr/include/libxml2. The fix was to check the value of LIBXML_VERSION in gnomexml.h and raise a compile error if the version number is less than 20000. The surround comments describe the issue and its resolution.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Curt Arnold added a comment - 21/Oct/04 09:37 PM
Changes committed