[amide-users] help building amide for centos 6.8
Brought to you by:
loening
|
From: tstoole <ts...@zo...> - 2017-01-17 16:33:19
|
Hi, I have been using amide 1.0.5-2 on a Fedora 23 machine and it has been working very well. For Fedora 23, it was in one of the repositories I was using and I did not need to build it. Now I am currently trying to install amide 1.0.5-2 on a computer running CentOS 6.8 and I am having some problems. I am hoping that someone can provide some hints or suggestions to get over the problems I am encountering. Going from the amide webpage, here are the versions of supporting software that are installed. dcmtk-3.6.1-4.el6.x86_64 dcmtk-devel-3.6.1-4.el6.x86_64 xmedcon-0.12.0-1.x86_64 xmedcon-devel-0.12.0-1.x86_64 volpack-devel-1.0c7-3.el6.x86_64 volpack-1.0c7-3.el6.x86_64 ffmpeg-spice-libs-0.4.9-0.15.5spice.20080908.el6.x86_64 ffmpeg-libpostproc-0.6.5-1.el6.rf.x86_64 ffmpeg-0.6.5-1.el6.rf.x86_64 ffmpeg-devel-0.6.5-1.el6.rf.x86_64 gsl-devel-1.13-1.el6.x86_64 gsl-1.13-1.el6.x86_64 Running rpmbuild --rebuild amide-1.0.5-2.fc20.src.rpm gives the errors shown below. It is complaining about dcmtk and DICOM support is important to me. I've also tried ./configure; make from the amide-1.0.5 directory but encounter different problems. Any suggestions on which path is the better one to take (make vs rpmbuild)? Is using the fc20 source rpm a bad idea on centos 6.8? I can provide more information if necessary. Thanks for your help, Terry dcmtk_interface.o: In function `OFCondition': /usr/local/include/dcmtk/ofstd/ofcond.h:331: undefined reference to `ECC_Normal' /usr/local/include/dcmtk/ofstd/ofcond.h:331: undefined reference to `ECC_Normal' dcmtk_interface.o: In function `get_slice_info': /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:1473: undefined reference to `DcmFileFormat::loadFile(char const*, E_TransferSyntax, E_GrpLenEncoding, unsigned int, E_FileReadMode)' dcmtk_interface.o: In function `OFCondition': /usr/local/include/dcmtk/ofstd/ofcond.h:331: undefined reference to `ECC_Normal' dcmtk_interface.o: In function `dcmtk_export': /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2285: undefined reference to `DicomDirInterface::createNewDicomDir(DicomDirInterface::E_ApplicationProfile, char const*, char const*)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2358: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2361: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2366: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2367: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2369: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' dcmtk_interface.o:/home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2371: more undefined references to `DcmTag::DcmTag(DcmTagKey const&)' follow dcmtk_interface.o: In function `dcmtk_export': /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2762: undefined reference to `DcmFileFormat::saveFile(char const*, E_TransferSyntax, E_EncodingType, E_GrpLenEncoding, E_PaddingEncoding, unsigned int, unsigned int, E_FileWriteMode)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2769: undefined reference to `DicomDirInterface::addDicomFile(char const*, char const*)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2482: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2484: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2486: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2488: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2490: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' dcmtk_interface.o:/home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2492: more undefined references to `DcmTag::DcmTag(DcmTagKey const&)' follow dcmtk_interface.o: In function `dcmtk_export': /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2279: undefined reference to `DicomDirInterface::appendToDicomDir(DicomDirInterface::E_ApplicationProfile, char const*)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2373: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2474: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2478: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2475: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2511: undefined reference to `DcmTag::DcmTag(DcmTagKey const&)' dcmtk_interface.o:/home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2428: more undefined references to `DcmTag::DcmTag(DcmTagKey const&)' follow dcmtk_interface.o: In function `OFCondition': /usr/local/include/dcmtk/ofstd/ofcond.h:331: undefined reference to `ECC_Normal' dcmtk_interface.o: In function `read_dicom_file': /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:130: undefined reference to `DcmFileFormat::loadFile(char const*, E_TransferSyntax, E_GrpLenEncoding, unsigned int, E_FileReadMode)' dcmtk_interface.o: In function `OFCondition': /usr/local/include/dcmtk/ofstd/ofcond.h:331: undefined reference to `ECC_Normal' dcmtk_interface.o: In function `dcmtk_import': /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:2019: undefined reference to `DcmFileFormat::loadFile(char const*, E_TransferSyntax, E_GrpLenEncoding, unsigned int, E_FileReadMode)' dcmtk_interface.o: In function `OFCondition': /usr/local/include/dcmtk/ofstd/ofcond.h:331: undefined reference to `ECC_Normal' dcmtk_interface.o: In function `import_dir': /home/toole/rpmbuild/BUILD/amide-1.0.5/src/dcmtk_interface.cc:1840: undefined reference to `DcmDicomDir::DcmDicomDir(char const*, char const*)' mpeg_encode.o: In function `mpeg_encode_setup': /home/toole/rpmbuild/BUILD/amide-1.0.5/src/mpeg_encode.c:264: undefined reference to `avcodec_alloc_context3' /home/toole/rpmbuild/BUILD/amide-1.0.5/src/mpeg_encode.c:304: undefined reference to `avcodec_open2' collect2: ld returned 1 exit status make[2]: *** [amide] Error 1 make[2]: Leaving directory `/home/toole/rpmbuild/BUILD/amide-1.0.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/toole/rpmbuild/BUILD/amide-1.0.5' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.7JsC2V (%build) |