DCMTK and SUSE 7.1

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
linnet
Posts: 9
Joined: Sat, 2005-05-07, 12:53
Location: Cuba
Contact:

DCMTK and SUSE 7.1

#1 Post by linnet » Mon, 2005-05-09, 19:46

Hello. I am installing DCMTK 3.5.3 on SUSE 7.1, but I obtain the following error when I execute "make all" after . /configures:
dsrxmld.cxx:43 libxml/xmlschemas.h: No such file or directory
I am waiting for your help, thanks, Linnet

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier » Mon, 2005-05-09, 22:56

Make sure that libxml2 is properly installed (see INSTALL file) or use the configure option --without-libxml.

jsalk
DCMTK Tester
Posts: 13
Joined: Thu, 2004-11-25, 15:59

#3 Post by jsalk » Tue, 2005-05-10, 05:42

The libxml2 on SuSE 7.1 is probably outdated. dcmtk won't build with libxml2
version 2.4.x, as far as I know. You'll have to upgrade libxml2 or build dcmtk
without libxml2 support, as Joerg suggested.

Best regards - Juergen

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#4 Post by Jörg Riesmeier » Tue, 2005-05-10, 09:50

Thanks Jürgen, maybe it's also related to FAQ #31. The current release of DCMTK (i.e. version 3.5.3) always requires XML Schema support to be compiled into the libxml2. As noted in the FAQ entry this will be fixed with the next release.

jsalk
DCMTK Tester
Posts: 13
Joined: Thu, 2004-11-25, 15:59

#5 Post by jsalk » Tue, 2005-05-10, 13:12

Jörg Riesmeier wrote:

> maybe it's also related to FAQ #31. The current release of DCMTK
> (i.e. version 3.5.3) always requires XML Schema support to be
> compiled into the libxml2.

Oh, I see. XML Schemas support has been introduced (i.e. compiled
in by default) to libxml2 as of version 2.5.2 released in early 2003.
That's why DCMTK 3.5.3 will probably fail to build on most systems
with libxml2 version <2.5.2, if not explicitly configured --without-xml.

Best regards - Juergen

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest