[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #MDC-227212]: LDM Compile Error



Hi Lysanias,

> I am compiling the latest LDM release on a RHEL 7 server using GCC.  When 
> reaching the "./configure" step the following error appears and the 
> subsequent "make" command fails.  What could be causing this error?
> 
> Configure error:
> ....
> checking zlib.h usability... no
> checking zlib.h presence... no
> checking for zlib.h... no
> configure: error: Header-file not found
> 
> Make error:
> make: *** No rule to make target `install'.  Stop.

You're missing some prerequisite packages (zlib in this case). See 
<https://www.unidata.ucar.edu/software/ldm/ldm-current/basics/platform.html> 
for more information.

On CentOS 7, you can install the necessary packages via the yum(1) utility. For 
example:

    sudo yum install zlib-devel

Be sure to install the "devel" version of the packages because only it has the 
necessary header-files.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: MDC-227212
Department: Support LDM
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.