Rob,
Thanks for the reply. I included the contents of line 30 in my original post. Also, I have tried to rebuild LWP and it still says Compress::Zlib not found in the error log. How does that make any sense? Also, should I try to uninstall and rebuild Scalar::Util?
Comment on Re^2: LWP Fails To Build on Mac OS X 15.6
Also, should I try to uninstall and rebuild Scalar::Util?
Yes, I think so, and check that it's an XS build of Scalar::Util that gets installed. (I think it's dualvar() that needs the XS build.)
Hopefully that will take care of the Compress::Zlib error, too. But this is a problem that I've never managed to reproduce, so I can't speak from personal experience :-)