On Sun, 2011-07-17 at 12:59 +0200, Sebastian Hilbert wrote:
Hi all,
Is anyone in the know on how the status of Ginkgo-CADx in terms of a
fedora
package is ?
The developers have released Ginkgo 2.5.1. The debian-med group has
finally
managed to package this as a Debian package.
Would be nice to see it in Fedora soon.
Sebastian
Hi Sebastian,
I'm working on it and have run into a bit of a problem. It's related to
DCMTK, which is a build dependency. Below is my conversation with Mario,
the DCMTK maintainer:
> Hi Mario,
>
> I'm trying to build Ginkgo-CADx, and cmake can't seem to find dcmtk.
> You're the dcmtk maintainer. Would you have any pointers :)?
>
> Here's the error:
>
>> DEBUG: Using system DCMTK
>> DEBUG: CMake Error
at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:91
(MESSAGE):
>> DEBUG: Could NOT find DCMTK (missing: DCMTK_ofstd_LIBRARY
DCMTK_dcmdata_LIBRARY
>> DEBUG: DCMTK_dcmimgle_LIBRARY)
>> DEBUG: Call Stack (most recent call first):
>> DEBUG:
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:252
(_FPHSA_FAILURE_MESSAGE)
>> DEBUG: /usr/share/cmake/Modules/FindDCMTK.cmake:136
(find_package_handle_standard_args)
>> DEBUG: CMakeLists.txt:64 (FIND_PACKAGE)
>>
>
> I've got dcmtk-devel as a build requires. I've looked at
> the /usr/share/cmake/Modules/FindDCMTK.cmake file which takes care
of
> this (I think) but I haven't managed to find an error. Any chance
this
> file needs to be updated :/
>
> Any pointers would be helpful. Have you built anything using the
> dcmtk-devel package btw? (in case there's a small issue with the
dcmtk
> package?)
>
Hi Ankur!
the FindDCMTK file shipped with cmake expects the libraries to be into
/usr/include/dcmtk instead that on /usr/lib64/dcmtk. You can apply the
added patch to solve the issue on your machine (or just add the new
directory to the find_library section ).
The strategy used in all ITK-derived packages I used so far was to
ship a newer cmake module that correctly find the dcmtk installation.
I don't really know if we should file a bug to cmake or simply reship
a new FindDCMTK file with the package. Any suggestion on the topic?
Best,
Mario
I've filed a bug here[1]. If anyone has any workarounds, I'll be really
glad.
/me goes to look at the debian package.
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=720140
--
Thanks,
Regards,
Ankur: "FranciscoD"
http://fedoraproject.org/wiki/User:Ankursinha
http://dodoincfedora.wordpress.com/