I've been struggling a little to get DCMTK 3.6.1 upgraded to 3.6.2 (for BT support). I'm working on Ubuntu Server 14.04.5 LTS and installed dcmtk using "apt-get install -y dcmtk". This has worked extensively for me for a while now, but with no presentation context for BT studies, I now require 3.6.2, however the latest repos have is still 3.6.1.
I went ahead and downloaded the 3.6.2 tarball from the WWW site for Debian based systems and over wrote the files in /usr/bin. When attempting to run most commands, I get a missing dicom.dic file, asking me to check my DCMDICTPATH environment variable. As I'm operating in a server environment, and checking /etc/environment to ensure that nothing was set up there, I've been reading through the forum and noted that the dicom.dic file should be placed in the datadir, that being the folder where the rest of the executables reside (and that still being /usr/bin). In the download, the newer dicom.dic file was located in /usr/local/share/dcmtk, so I created a link from /usr/bin/dicom.dic to that file.
Still no joy.
So I took a leap of faith , removed dcmtk completely from the system and then compiled it on the server itself, with the --prefix option. Once that's been done, I still don't have a dicom.dic, but finding it in the "data" compile folder, I copied that to /usr/bin and tried again.
Still no joy.
Now one thread a read about 2 hours ago mentioned that on Debian, when setting the --prefix folder, there are certain "gotchas" - but that was for 3.5.2 ... but it appears that there are still some gotchas even on 3.6.2? I will try and re-compile without the "--prefix" setting and see where I get with that, but is there not:
- An easier upgrade path when initially using the repos and then over-writing with the 3.6.2 tarball?
- A working 3.6.2 build for Debian that works even when the --prefix option is set?
This is still AMAZING software and my hat is constantly raised to OFFIS for all of their work for this toolkit, and please read this as an interested party, rather than a frustrated one : just looking for some guidance!!
Thanks,
BNOEAFK