Package Details: dcmtk 3.6.0-6

Git Clone URL: https://aur.archlinux.org/dcmtk.git (read-only)
Package Base: dcmtk
Description: a collection of libraries and applications implementing large parts the DICOM standard
Upstream URL: http://dicom.offis.de/dcmtk
Licenses: Other
Submitter: Skatox
Maintainer: Skatox
Last Packager: Skatox
Votes: 31
Popularity: 0.126952
First Submitted: 2008-11-07 13:14
Last Updated: 2015-06-21 22:21

Latest Comments

Skatox commented on 2015-01-15 16:25

@haawda updated it! Also I've updated the PKGBUILD to include fedora's latest patches.

haawda commented on 2014-12-18 21:27

Can you please test for existence of the directory "fedora" before creating it?

[[ -d fedora ]] || mkdir fedora

Skatox commented on 2014-01-23 23:22

I've updated to include a temporary solution.

CodingNickNick commented on 2014-01-23 16:07

Removing -Wl,O1 from the LDFLAGS fixed the issue here. Not sure why this is, I know little of the specifics of the linker. However, with "options=('!buildflags') this makes DCMTK build again. Could you do that?

nylocx commented on 2014-01-21 09:48

I just build dcmtk with current libpng and all fedora patches manually on my system. So it's not a libpng problem, it's somehow a problem with your PKGBUILD file. Im new to this but I will list my steps to manually compile dcmtk and maybe you can figure out what is different.

cd builds
wget ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk360/dcmtk-3.6.0.tar.gz
wget http://kojipkgs.fedoraproject.org/packages/dcmtk/3.6.0/16.fc20/src/dcmtk-3.6.0-16.fc20.src.rpm
tar -xvzf dcmtk-3.6.0.tar.gz
mkdir rpm
cd rpm
rpmextract.sh ../dcmtk-3.6.0-16.fc20.src.rpm
cd ../dcmtk-3.6.0
rm -rf dcmjpls/libcharls
for x in ../rpm/dcmtk-3.6.0-000*; do patch -p1 < $x; done
cmake -DCMAKE_BUILD_TYPE:STRING="Release"\
-DBUILD_SHARED_LIBS:BOOL=ON \
-DDCMTK_WITH_OPENSSL:BOOL=ON\
-DDCMTK_WITH_PNG:BOOL=ON\
-DDCMTK_WITH_PRIVATE_TAGS:BOOL=ON\
-DDCMTK_WITH_TIFF:BOOL=ON\
-DDCMTK_WITH_XML:BOOL=ON\
-DDCMTK_WITH_CHARLS=ON\
-DDCMTK_WITH_ZLIB:BOOL=ON .
make

the build finishes with no errors.

I hope that will help a bit to fix this package. I would really like to use pacman to manage this one.

Skatox commented on 2014-01-04 14:41

There's a problem with latest LIBPNG, I had some problems with Firefox as well but they updated the source code. We'll need to wait until they patch, or set dcmtk to use an older version of libpng, i haven't found how to do it.

mielouk commented on 2013-12-24 21:41

Linking CXX executable dcmcjpeg
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_create_info_struct'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_write_info'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_write_image'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_set_IHDR'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_destroy_write_struct'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_set_text'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_init_io'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_set_longjmp_fn'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_convert_from_time_t'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_write_end'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_set_tIME'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_create_write_struct'
../../dcmimage/libsrc/libdcmimage.so.3.6.0: undefined reference to `png_access_version_number'
collect2: error: ld returned 1 exit status
dcmjpeg/apps/CMakeFiles/dcmcjpeg.dir/build.make:100: recipe for target 'dcmjpeg/apps/dcmcjpeg' failed
make[2]: *** [dcmjpeg/apps/dcmcjpeg] Error 1
CMakeFiles/Makefile2:1745: recipe for target 'dcmjpeg/apps/CMakeFiles/dcmcjpeg.dir/all' failed
make[1]: *** [dcmjpeg/apps/CMakeFiles/dcmcjpeg.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: dcmtk cleaned

Skatox commented on 2013-09-22 14:28

@zeppelinglg Fixed, thanks for the info.

zeppelinlg commented on 2013-09-21 22:42

Missing cmake make dependency

Skatox commented on 2013-09-18 19:56

@ivan_p Thanks for the report, nobody noticed it in past year.

I've updated the PKGBUILD to fix sum512 and updated Fedora's patches to lastest versión.

All comments