Xymon Mailing List Archive search

snapshot 2008-11-14 zlib version is too old

8 messages in this thread

list Martin Flemming · Fri, 14 Nov 2008 16:27:27 +0100 (CET) ·
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,

        Martin
list Martin Flemming · Fri, 14 Nov 2008 17:20:00 +0100 (CET) ·
And the last answer was from Henry
.. Henrik (!) of course :-)
list Lars Ebeling · Fri, 14 Nov 2008 17:56:35 +0100 ·
quoted from Martin Flemming
----- 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
list Henrik Størner · Tue, 18 Nov 2008 13:28:45 +0000 (UTC) ·
quoted from Martin Flemming
In <user-ec5f6f83599a@xymon.invalid> Martin Flemming <user-f286aaa49a76@xymon.invalid> writes:
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
Well - a "1.2.1.2" version really *is* older than 1.2.3.

According to www.zlib.net "Version 1.2.3 eliminates potential security vulnerabilities in zlib 1.2.1 and 1.2.2, so all users of those versions should upgrade immediately."


The reason you didn't see the problem with the April snapshots
was that zlib wasn't used back then.

... i remember a  problem from September
Different problem, the zlib test in Hobbit back then used some non-standard ZLIB macros.


Regards,
Henrik
list Martin Flemming · Tue, 18 Nov 2008 18:17:17 +0100 (CET) ·
Hi, Henrik !
Well - a "1.2.1.2" version really *is* older than 1.2.3.

... indeed, that is clear  :-)

But unfortunatley on Scientific Linux 4, RHEL4 ..

there is no zlib-version 1.2.3 available ...

only 1.2.2

and this version should be secure

http://rhn.redhat.com/errata/RHSA-2005-584.html

2005-07-21

http://www.zlib.net/
zlib 1.2.3
July 18, 2005

Hmm, have i to patch test-zlib.c to compile hobbit-snapshots
on  Scientific Linux 4/ RHEL4 System for myself, or is there any other 
chance ?

Thanks & Cheers,

 	Martin
quoted from Henrik Størner

On Tue, 18 Nov 2008, Henrik Størner wrote:
In <user-ec5f6f83599a@xymon.invalid> Martin Flemming <user-f286aaa49a76@xymon.invalid> writes:
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
Well - a "1.2.1.2" version really *is* older than 1.2.3.

According to www.zlib.net "Version 1.2.3 eliminates potential
security vulnerabilities in zlib 1.2.1 and 1.2.2, so all users
of those versions should upgrade immediately."


The reason you didn't see the problem with the April snapshots
was that zlib wasn't used back then.

... i remember a  problem from September
Different problem, the zlib test in Hobbit back then used
some non-standard ZLIB macros.


Regards,
Henrik

Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid
list Martin Flemming · Fri, 21 Nov 2008 13:54:17 +0100 (CET) ·
... it seems,

that  i'm the only one, who wants to build/install
the newest snaphost on RHEL4 .... ain't i ?

... and if so, does anybody knows which latest snapshot
will build on RHEL4 with zlib-version 1.2.1.2

.. by the way, i see in this moment .. :-)

the latest rpm for rhel4 from Buchan is from the second of april ...

http://staff.telkomsa.net/packages/rhel4/hobbit/i386/


where can i get this snapshot ?
quoted from Martin Flemming


thanks & cheers

 	martin


On Tue, 18 Nov 2008, Martin Flemming wrote:
Hi, Henrik !
 Well - a "1.2.1.2" version really *is* older than 1.2.3.

... indeed, that is clear  :-)

But unfortunatley on Scientific Linux 4, RHEL4 ..

there is no zlib-version 1.2.3 available ...

only 1.2.2
Obviously , it has to be written "1.2.1.2" !
.. typing error ...
quoted from Martin Flemming
and this version should be secure

http://rhn.redhat.com/errata/RHSA-2005-584.html

2005-07-21

http://www.zlib.net/
zlib 1.2.3
July 18, 2005

Hmm, have i to patch test-zlib.c to compile hobbit-snapshots
on  Scientific Linux 4/ RHEL4 System for myself, or is there any other chance 
?

Thanks & Cheers,

	Martin

On Tue, 18 Nov 2008, Henrik Størner wrote:
 In <user-ec5f6f83599a@xymon.invalid> Martin Flemming
 <user-f286aaa49a76@xymon.invalid> writes:
 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
 Well - a "1.2.1.2" version really *is* older than 1.2.3.

 According to www.zlib.net "Version 1.2.3 eliminates potential
 security vulnerabilities in zlib 1.2.1 and 1.2.2, so all users
 of those versions should upgrade immediately."


 The reason you didn't see the problem with the April snapshots
 was that zlib wasn't used back then.

 ... i remember a  problem from September
 Different problem, the zlib test in Hobbit back then used
 some non-standard ZLIB macros.


 Regards,
 Henrik

list Henrik Størner · Mon, 1 Dec 2008 21:03:55 +0000 (UTC) ·
quoted from Martin Flemming
In <user-418aa31ef637@xymon.invalid> Martin Flemming <user-f286aaa49a76@xymon.invalid> writes:
... it seems,
that  i'm the only one, who wants to build/install
the newest snaphost on RHEL4 .... ain't i ?
... and if so, does anybody knows which latest snapshot
will build on RHEL4 with zlib-version 1.2.1.2

I just committed a change to the configure scripts that will 
allow you to build with an older zlib version, if you run the
configure script with the "--buggy-zlib" option.


Regards,
Henrik
list Martin Flemming · Mon, 1 Dec 2008 23:39:23 +0100 (CET) ·
Thanks, Henry !

cheers,
 	martin
quoted from Henrik Størner

On Mon, 1 Dec 2008, Henrik Størner wrote:
In <user-418aa31ef637@xymon.invalid> Martin Flemming <user-f286aaa49a76@xymon.invalid> writes:
... it seems,
that  i'm the only one, who wants to build/install
the newest snaphost on RHEL4 .... ain't i ?
... and if so, does anybody knows which latest snapshot
will build on RHEL4 with zlib-version 1.2.1.2

I just committed a change to the configure scripts that will
allow you to build with an older zlib version, if you run the
configure script with the "--buggy-zlib" option.


Regards,
Henrik