MantisBT - JANA
View Issue Details
0000240JANABugpublic2012-04-11 10:492012-08-16 09:04
davidl 
davidl 
normalmajoralways
resolvedfixed 
0000240: XERCES support broken in BMS
Compiling JANA 0.6.4 on RHEL5 showed that the -DHAVE_XERCES=1 argument was not being added to CXXFLAGS. This caused JANA to be built (quietly) without Xerces support. Messages were printed from hd_ana at the appropriate time, but they were lost by the subsequent seg. fault
No tags attached.
Issue History
2012-04-11 10:49davidlNew Issue
2012-08-16 09:04davidlNote Added: 0000429
2012-08-16 09:04davidlStatusnew => resolved
2012-08-16 09:04davidlResolutionopen => fixed
2012-08-16 09:04davidlAssigned To => davidl

Notes
(0000429)
davidl   
2012-08-16 09:04   
It is not clear that this was ever broken. Testing on jlabl1, a 32bit RHEL5 machine, showed that when pointing to a 64bit xerces version, the headers were found giving an "OK" message and then it failed when trying to link due to the wrong architecture. I may have mis-read the initial "OK" as meaning xerces was completely found when it wasn't (??)

In addition, the -DHAVE_XERCES=1 command line argument has not been used for some time. Instead, the file src/JANA/jana_config.h is created that has HAVE_XERCES #defined if it is found. This is why I never saw -DHAVE_XERCES=1 on the compile commands.