Dear friends,
Is it possible to build DCMTK 3.5.4 on Redhat Enterprise 5 Linux 64 bit OS?
Thanks and Regards
Alvin
Linux 64 bit OS and DCMTK
Moderator: Moderator Team
Yes. I wrote this procedure to install it here:
Hope this helps.
You will need the -fPIC if you want to use it as part of a shared library. The rest is just to put it in the appropriate places, rather than the (IMHO and according to FHS) badly flawed default location.echo "export DCMDICTPATH=/usr/local/lib64/dicom.dic" >> ~/.bashrc
./configure CFLAGS="-fPIC" CXXFLAGS="-fPIC" --prefix=/usr/local --libdir=/usr/local/lib64
make
su
make install
make install-lib
echo "/usr/local/lib64" >> /etc/ld.so.conf
echo "/usr/local/lib" >> /etc/ld.so.conf
/sbin/ldconfig
Hope this helps.
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
The default installation prefix will change with the next release of DCMTK and should be more FHS compliant (see current snapshot). The previous location has its origin from a time when our main development system was Solaris/SunOS and FHS (Linux) was not very wide-spread.The rest is just to put it in the appropriate places, rather than the (IMHO and according to FHS) badly flawed default location.
Btw, I don't think that "/usr/local/lib64/dicom.dic" is FHS compliant, too.
To the original poster: Our current development system is Debian (etch) Linux with 2.6.18-5-amd64 Kernel and gcc 4.1.2 (Debian 4.1.1-21).
Who is online
Users browsing this forum: No registered users and 1 guest