Missing zlib ....

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
elzix88
Posts: 12
Joined: Fri, 2010-11-19, 23:48

Missing zlib ....

#1 Post by elzix88 »

i used dcmtk with these options:

Code: Select all

env ARCH='-arch i386' CFLAGS='-D_DARWIN_C_SOURCE -arch i386' CXXFLAGS='-D_DARWIN_C_SOURCE -arch i386' ./configure --prefix=/Users/bartek/DCMTK --with-libzlibinc==/Users/bartek/DCMTK/zlib/zlib-1.2.3
everything is ok but there is no zlib in location which i set (libzlibinc==/Users/bartek/DCMTK/zlib/zlib-1.2.3)and there is no file libz.a on my mac anywhere.

can anyone help ??

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 »

You could either disable the use of zlib for the DCMTK (./configure --without-zlib) or compile and install zlib on your system.

elzix88
Posts: 12
Joined: Fri, 2010-11-19, 23:48

#3 Post by elzix88 »

i know that there is two options: 'with zlib' and 'without zlib' .... i want to install it... im compiling dcmtk with zlib options but it doenst install....

Michael Onken
DCMTK Developer
Posts: 2052
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#4 Post by Michael Onken »

Hi,

what is the error?

Best regards,
Michael

elzix88
Posts: 12
Joined: Fri, 2010-11-19, 23:48

#5 Post by elzix88 »

Hi,

The error is that zlib doesnt install. I have to install it separetly. I thought that the option '--with-zlib' will install it automatically. Maybe im doing something wrong?

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

#6 Post by Jörg Riesmeier »

No, of course, "--with-zlib" does not install zlib but it enables support for zlib (used for Deflated Transfer Syntax) in DCMTK. This should be obvious from the documentation ...

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest