Hello! I had a similar problem and I got the following answer Alain Knaff: Just try the zlibc-0.9j-20030205.diff.gz patch from www.zlibc.linux.lu, it should work and it worked. I also couldn't compile zlibc in my RedHat-8.0 due to some error in kernel_stat.h and Alain sent me then folowing kernel_stat.h: ------------------------------------------------------------------------ #ifndef KERNEL_STAT_H #define KERNEL_STAT_H /* Definition of `struct stat' used in the kernel.. */ struct kernel_stat { unsigned short int st_dev; unsigned short int __pad1; #define _HAVE___PAD1 unsigned long int st_ino; unsigned short int st_mode; unsigned short int st_nlink; unsigned short int st_uid; unsigned short int st_gid; unsigned short int st_rdev; unsigned short int __pad2; #define _HAVE___PAD2 unsigned long int st_size; unsigned long int st_blksize; unsigned long int st_blocks; #ifdef st_atime struct timespec st_atim; #else unsigned long int st_atime; unsigned long int __unused1; #endif #define _HAVE___UNUSED1 #ifdef st_mtime struct timespec st_mtim; #else unsigned long int st_mtime; unsigned long int __unused2; #endif #define _HAVE___UNUSED2 #ifdef st_mtime struct timespec st_ctim; #else unsigned long int st_ctime; unsigned long int __unused3; #endif #define _HAVE___UNUSED3 unsigned long int __unused4; #define _HAVE___UNUSED4 unsigned long int __unused5; #define _HAVE___UNUSED5 }; #endif ----------------------------------------------------------------------------- Hope this will solve your problems. /Regards Mats Quoting Paul Murray <pjmurray@tfb.com>:
David, Sorry my mistake. RH8 does have 2.2.93 by default. The problem is that I can't get a version of zlibc to work on RH8 base install. 9j correctly shows compressed files using "ls" however, using "cat" to test a test.txt.gz file ..the system says "file not found" when I use "cat test.txt" Do you have a version of zlibc that you know works for RH8?
Cheers, Paul
----- Original Message ----- From: "David C Niemi" <niemi@tuxers.net> To: <zlibc@tux.org> Sent: Thursday, May 15, 2003 8:35 PM Subject: Re: [zlibc] Redhat 8
I'm a bit baffled here. The system I am sitting at is RH8, and it has glibc 2.2.93 (and no zlibc by default).
DCN
On Thu, 15 May 2003, Paul Murray wrote:
Base install of RH8 has glibc 2.0 I get a file not found now. Any solution? Works perfectly fine with RH7.2 base install standard glibc on that machine.
Help?
Paul
-- --------------------------------------------------------- David C. Niemi (Reston, Virginia, USA) niemi@tuxers.net Know the difference between the color of the wine and the color of the glass. (Jalaluddin Rumi) ---------------------------------------------------------
_______________________________________________ zlibc mailing list zlibc@tux.org http://www.tux.org/mailman/listinfo/zlibc
_______________________________________________ zlibc mailing list zlibc@tux.org http://www.tux.org/mailman/listinfo/zlibc
-- Mats Luspa Phone: +46 (0)980 79 022 Institutet foer Rymdfysik Fax: +46 (0)980 79 050 Swedish Institute of Space Physics email: mats.luspa@irf.se Box 812 SE-981 28 Kiruna, Sweden _______________________________________________ zlibc mailing list zlibc@tux.org http://www.tux.org/mailman/listinfo/zlibc