Compile error on tclZlib.c
Closed / Fixed2421265fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-12-12 14:43:05
Something must be wrong with the assumptions made on the <zlib.h> provided by the OS. On my CentOS 4.6, the "gz_header" type is not provided: ../generic/tclZlib.c:51: error: syntax error before '*' token ../generic/tclZlib.c:53: error: syntax error before "gz_header" Prio 9 since I can no longer compile Tcl :(
dkfplain2008-12-12 22:25:26
Out of curiosity, which version of zlib.h do you have? (It's there in the one corresponding to zlib version 1.2.3) If you've got something old, we'll have to tackle this with autoconf magic and compat/ stuff...
ferrieuxplain2008-12-12 22:28:00
lat6466.rd.francetelecom.fr:tmp:{2}> rpm -q zlib
zlib-1.2.1.2-1.2
ferrieuxplain2008-12-12 22:33:23
Sorry, I should have queried zlib-devel. But the version is the same. zlib-devel-1.2.1.2-1.2
ferrieuxplain2008-12-13 00:05:43
Fixed on HEAD by Donal: checking for gz_header... no :) Thanks a lot !
Log in (anonymous is fine) to add a comment.