Xymon Mailing List Archive search

snapshot 2008-11-14 zlib version is too old

list Lars Ebeling
Fri, 14 Nov 2008 17:56:35 +0100
Message-Id: <user-b0eab979525c@xymon.invalid>

----- Original Message ----- 
From: "Martin Flemming" <user-f286aaa49a76@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, November 14, 2008 4:27 PM
Subject: [hobbit] snapshot 2008-11-14 zlib version is too old

Hi !

Have i got something forgotten or not observed ..

With the new snapshot's i can't compile it under Scientific Linux 4 
(RHEL4) ... with an old snapshot from April it works ...

checking for zlib ...
Found ZLIB include files in /usr/include
Found ZLIB libraries in /usr/lib
zlib version 1.2.1.2
Your zlib version is too old, requires version 1.2.3 or later
ZLIB version too old, must be at least version 1.2.x


... i remember a  problem from September


Subject :Latest stable snapshot?


And the last answer was from Henry
In /usr/include/zlib.h add the following to the #include's:

# define ZLIB_VER_MAJOR 1
# define ZLIB_VER_MINOR 2
Date: Tue, 30 Sep 2008 11:48:08 +0000 (UTC)
From: Henrik Stoerner <user-ce4a2c883f75@xymon.invalid>
Reply-To: user-ae9b8668bcde@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Newsgroups: lists.hobbit
Subject: Re: [hobbit] Latest stable snapshot?

The ZLIB_VER_MAJOR/MINOR macros apparently are a Linux- or 
Debian-addition.
I've updated the test-zlib.c module to use the standard ZLIB_VERNUM macro
instead. So it should work now with a standard zlib installation.
.. with Scientific Linux 5 (RHEL5) it works ...

.. is it my personal problem ?

cheers,
From the beginning ther were no tests on versionnumbers on zlib, only 
existance.
Then for some time, in september, somebody introduced some testing on 
ZLIB_VER_MAJOR/MINOR  which aren't standard in zlib.h
Now ZLIB_VERNUM (mentioned above) tests on 1.2.3 in test_zlib.c

I don't know which version really is needed.

Regards
Lars