For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > September 2005 > Configuration problems (--with-zlib ??)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Configuration problems (--with-zlib ??)
David Leangen

2005-09-13, 3:56 am


Hello!

I am having some trouble configuring php for installation on my FC3 system.

I am trying to install php-4.4.0 with the following options:

../configure --prefix=/usr/local/php ppwith-apxs2=/usr/sbin/apxs
--with-mysql=/usr/local/mysql

However, I keep running into this error:

configure: error: Try adding --with-zlib-dir=<DIR>. Please check
config.log for more information.

Well, zlib is actually installed on my system, and even when I set the
value of the dir, I just get more errors:

--with-zlib-dir=/usr/lib (where libz.so.1 is located)

configure: error: Cannot find libz.


Any ideas of what I'm doing wrong?


Thanks!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com