Larry W. Virden
lvirden at cas.org
Thu Mar 3 07:27:50 CET 2005
Okay, here's the steps I took and what it took for me to get the code
to build and pass the test in my environment.
1. download code
2. extract tar
3. cd into zlib
4. mkdir unix
5. ../configure --prefix=/usr/tcl84 --enable-shared --enable-symbols--enable-stubs
6. gmake all
7. gmake test ... and the test failed
8. looked at pkgIndex.tcl, and saw it was empty
9. tried generating it manually, and that failed.
10. tried load'ing the command and got the error
11. examined the Makefile and found the reference to the old zlib
12. cd ..
13. read README
14. Ignored the unix instructions and ran
tclsh8.4 build.tcl ... which configured and built the new libz.a .
15. cd unix
16. nvi Makefile ... and changed the -I and -L flags to force them to
reference the zlib-1.2.2 directory.
17. rm *.so *.o
18. gmake all
19. gmake test ... and test passed
Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:lvirden at cas.org> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
More information about the Starkit