{"action":"created","issue":{"url":"https://api.github.com/repos/percolator/percolator/issues/134","labels_url":"https://api.github.com/repos/percolator/percolator/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/percolator/percolator/issues/134/comments","events_url":"https://api.github.com/repos/percolator/percolator/issues/134/events","html_url":"https://github.com/percolator/percolator/issues/134","id":93835205,"number":134,"title":"MzidentmlReader.cpp errors on Rhel/CentOS6 builds","user":{"login":"sagitter","id":5006433,"avatar_url":"https://avatars.githubusercontent.com/u/5006433?v=3","gravatar_id":"","url":"https://api.github.com/users/sagitter","html_url":"https://github.com/sagitter","followers_url":"https://api.github.com/users/sagitter/followers","following_url":"https://api.github.com/users/sagitter/following{/other_user}","gists_url":"https://api.github.com/users/sagitter/gists{/gist_id}","starred_url":"https://api.github.com/users/sagitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagitter/subscriptions","organizations_url":"https://api.github.com/users/sagitter/orgs","repos_url":"https://api.github.com/users/sagitter/repos","events_url":"https://api.github.com/users/sagitter/events{/privacy}","received_events_url":"https://api.github.com/users/sagitter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T16:34:09Z","updated_at":"2015-07-09T07:57:10Z","closed_at":null,"body":"Hi all,\r\n\r\nI'm trying to compile Percolator-2.10.1 for EPEL6 repositories (https://fedoraproject.org/wiki/EPEL); to build are used a mixed set of el6 packages from Fedora EPEL6 and CentOS6 (https://sagitter.fedorapeople.org/percolator/root.log).\r\n\r\nCompiler fails on ```MzidentmlReader.cpp``` with\r\n\r\n```\r\n[ 77%] Building CXX object CMakeFiles/converters.dir/SequestReader.cpp.o\r\n/usr/lib/ccache/c++   -D__TOKYODB__ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables  -Wno-deprecated-declarations -fopenmp  -I../src -I/usr/include/xsd/cxx/tree -O3 -DNDEBUG -I/usr/include/boost148 -I/builddir/build/BUILD/percolator-percolator-d92d600/src/converters/MSToolkit/RAMP -I/builddir/build/BUILD/percolator-percolator-d92d600/src/converters/MSToolkit -I/builddir/build/BUILD/percolator-percolator-d92d600/src/converters/../../src -I/builddir/build/BUILD/percolator-percolator-d92d600/converters -I/builddir/build/BUILD/percolator-percolator-d92d600/src/converters    -o CMakeFiles/converters.dir/SequestReader.cpp.o -c /builddir/build/BUILD/percolator-percolator-d92d600/src/converters/SequestReader.cpp\r\n/builddir/build/BUILD/percolator-percolator-d92d600/src/converters/MzidentmlReader.cpp: In member function 'virtual void MzidentmlReader::getMaxMinCharge(const std::string&, bool)':\r\n/builddir/build/BUILD/percolator-percolator-d92d600/src/converters/MzidentmlReader.cpp:64: error: 'xercesc_3_1' was not declared in this scope\r\n/builddir/build/BUILD/percolator-percolator-d92d600/src/converters/MzidentmlReader.cpp:64: error: template argument 1 is invalid\r\n/builddir/build/BUILD/percolator-percolator-d92d600/src/converters/MzidentmlReader.cpp:65: error: invalid type in declaration before '(' token\r\n/builddir/build/BUILD/percolator-percolator-d92d600/src/converters/MzidentmlReader.cpp:66: error: cannot convert 'xsd::cxx::xml::dom::auto_ptr<xercesc_3_0::DOMDocument>' to 'int' in initialization\r\n```\r\n\r\nFull log: https://sagitter.fedorapeople.org/percolator/build.log"},"comment":{"url":"https://api.github.com/repos/percolator/percolator/issues/comments/119862608","html_url":"https://github.com/percolator/percolator/issues/134#issuecomment-119862608","issue_url":"https://api.github.com/repos/percolator/percolator/issues/134","id":119862608,"user":{"login":"MatthewThe","id":6195361,"avatar_url":"https://avatars.githubusercontent.com/u/6195361?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthewThe","html_url":"https://github.com/MatthewThe","followers_url":"https://api.github.com/users/MatthewThe/followers","following_url":"https://api.github.com/users/MatthewThe/following{/other_user}","gists_url":"https://api.github.com/users/MatthewThe/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewThe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewThe/subscriptions","organizations_url":"https://api.github.com/users/MatthewThe/orgs","repos_url":"https://api.github.com/users/MatthewThe/repos","events_url":"https://api.github.com/users/MatthewThe/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewThe/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T07:57:10Z","updated_at":"2015-07-09T07:57:10Z","body":"The problem seems to be that you are using Xerces-C 3.0, while percolator expects Xerces-C 3.1. \r\n\r\nIf possible, upgrade to Xerces-C 3.1; alternatively you can try replacing all reference of xercesc_3_1::DOMDocument to xercesc::DOMDocument (in MzidentmlReader.cpp and TandemReader.cpp). This should work on Fedora and CentOS, but used to give errors in MinGW (which we don't use anymore, so maybe we can change it for good)."}}