Wednesday, June 9, 2010

Chapter 6.11 Zlib 1.2.3

Hmm. I have no zlib in my sources. It seems that just last week there has been an update to 1.2.5. Since the manual I am using is NOT the newest one (Version SVN-201006010), I would like to stay with the 1.2.3 version. So, I googled zlib .1.2.3 and found it on SourceForge. Since I cannot use wget in the root system to which I chroot'd, I open another xterm and log on to my regular session as root. I change directory to $LFS/sources and run:

[$LFS/sources#]wget http://sourceforge.net/projects/libpng/files/zlib/1.2.3/zlib-1.2.3.tar.gz

Ok! Now,return to the xterm to which I had  chroot'd. (Tip, change background color of these terminals just to diffentiate them from the normal one).

Back in business. Configure mentions CFLAGS variable, but since I have been following their instructions verbatum, I suppose it is not important.

Make shared library and then a static library.

No comments:

Post a Comment