Re: ITP:dcmtk looking for sponsor
Hi Juergen:
I completely agree with you and I am sorry for my precipitation, I've
already apply your patch and I'm know compiling trying to follow
the FHS directives.
Thanks
Pablo Sau
> that's because the dcmtk tools are using the dicom.dic copy from your
> local build directory. You can check that with strace(1) command:
>
> $ dcm2pnm file.dcm >/dev/null
> dcm2pnm: warning: no data dictionary loaded, check environment variable: DCMDICTPATH
> ERROR: can't load data dictionary !
> $dcmtk: dcm2pnm v3.5.3 2004-05-27 $
>
> dcm2pnm: Convert DICOM images to PGM/PPM, PNG, TIFF or BMP error: No data dictionary
>
> $ strace -e trace=file dcm2pnm file.dcm 2>&1 >/dev/null | grep dicom\.dic
> access("/home/pablo/debian/dcmtk-3.5.3/debian/dcmtk/usr/lib/dicom.dic", F_OK) = -1 ENOENT (No such file or directory)
>
> Best regards - Juergen
Reply to: