Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-12-13
00:05 • Closed ticket [2421265fff]: Compile error on tclZlib.c plus 7 other changes artifact: fded15b9b9 user: ferrieux
2008-12-12
22:33 • Ticket [2421265fff]: 4 changes artifact: 6f6a25be19 user: ferrieux
22:28 • Ticket [2421265fff]: 4 changes artifact: 579f0e11d9 user: ferrieux
22:25 • Ticket [2421265fff]: 5 changes artifact: 2375c492a1 user: dkf
14:43 • New ticket [2421265fff]. artifact: 33654bad64 user: ferrieux

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.