[Debian-med-packaging] Bug#821731: ctk: FTBFS: ctkDICOMUtil.cpp:33:3: error: 'log4cplus' has not been declared
Andreas Beckmann
anbe at debian.org
Mon Apr 18 21:44:33 UTC 2016
Package: ctk
Version: 0.1.0+git20131105~b8307961b6-2
Severity: serious
Justification: fails to build from source
I just tried to rebuild ctk against the new libdcmtk-dev, but it failed with
/build/ctk-0.1.0+git20131105~b8307961b6/Libs/DICOM/Core/ctkDICOMUtil.cpp: In function 'void ctk::setDICOMLogLevel(ctkErrorLogLevel::LogLevel)':
/build/ctk-0.1.0+git20131105~b8307961b6/Libs/DICOM/Core/ctkDICOMUtil.cpp:33:3: error: 'log4cplus' has not been declared
log4cplus::Logger log = log4cplus::Logger::getRoot();
^
[ 33%] Building CXX object Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/moc_ctkDICOMIndexer.cxx.o
/build/ctk-0.1.0+git20131105~b8307961b6/Libs/DICOM/Core/ctkDICOMUtil.cpp:36:35: error: 'log' was not declared in this scope
case ctkErrorLogLevel::Trace: log.setLogLevel(OFLogger::TRACE_LOG_LEVEL); break;
^
/build/ctk-0.1.0+git20131105~b8307961b6/Libs/DICOM/Core/ctkDICOMUtil.cpp: In function 'ctkErrorLogLevel::LogLevel ctk::dicomLogLevel()':
/build/ctk-0.1.0+git20131105~b8307961b6/Libs/DICOM/Core/ctkDICOMUtil.cpp:52:3: error: 'log4cplus' has not been declared
log4cplus::Logger log = log4cplus::Logger::getRoot();
^
/build/ctk-0.1.0+git20131105~b8307961b6/Libs/DICOM/Core/ctkDICOMUtil.cpp:53:11: error: 'log' was not declared in this scope
switch (log.getLogLevel())
^
/build/ctk-0.1.0+git20131105~b8307961b6/Libs/DICOM/Core/ctkDICOMUtil.cpp:63:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Andreas
More information about the Debian-med-packaging
mailing list