Posted by Jerry Stuckle on 08/27/05 01:03
ibm_97@yahoo.com wrote:
> "locate zlib"
>
> # locate zlib
> /usr/X11R6/include/X11/extensions/lbxzlib.h
> /usr/share/doc/zlib-1.1.4
> /usr/share/doc/zlib-1.1.4/README
> /usr/share/doc/zlib-devel-1.1.4
> /usr/share/doc/zlib-devel-1.1.4/algorithm.txt
> /usr/share/doc/zlib-devel-1.1.4/ChangeLog
> /usr/share/doc/zlib-devel-1.1.4/example.c
> /usr/share/doc/zlib-devel-1.1.4/minigzip.c
> /usr/share/man/man3/zlib.3.gz
> /usr/include/bzlib.h
> /usr/include/zlib.h
> /usr/lib/python2.2/lib-dynload/zlibmodule.so
> /usr/lib/python2.2/test/output/test_zlib
> /usr/lib/python2.2/test/test_zlib.py
> /usr/lib/python2.2/encodings/zlib_codec.py
> /usr/lib/python2.2/encodings/zlib_codec.pyc
> /usr/lib/python2.2/encodings/zlib_codec.pyo
> /usr/lib/openoffice/program/python-core-2.2.2/lib/encodings/zlib_codec.py
> /usr/lib/openoffice/program/python-core-2.2.2/lib/lib-dynload/zlib.so
> /usr/src/linux-2.4.21-4.EL/arch/ppc/boot/include/zlib.h
> /usr/src/linux-2.4.21-4.EL/arch/ppc/boot/lib/zlib.c
> /usr/src/linux-2.4.21-4.EL/arch/ppc64/boot/zlib.c
> /usr/src/linux-2.4.21-4.EL/arch/ppc64/boot/zlib.h
> /usr/src/linux-2.4.21-4.EL/fs/jffs2/compr_zlib.c
> /usr/src/linux-2.4.21-4.EL/include/linux/zlib.h
> /usr/src/linux-2.4.21-4.EL/lib/zlib_deflate
> /usr/src/linux-2.4.21-4.EL/lib/zlib_deflate/Makefile
> /usr/src/linux-2.4.21-4.EL/lib/zlib_deflate/.depend
> /usr/src/linux-2.4.21-4.EL/lib/zlib_deflate/deflate_syms.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_deflate/deflate.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_deflate/deftree.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_deflate/defutil.h
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/Makefile
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/.depend
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/inflate_syms.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/infblock.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/infblock.h
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/infcodes.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/infcodes.h
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/inffast.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/inffast.h
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/inffixed.h
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/inflate.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/inftrees.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/inftrees.h
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/infutil.c
> /usr/src/linux-2.4.21-4.EL/lib/zlib_inflate/infutil.h
>
> Now I use zlib-dir = /usr/include (right?) option:
>
> #./configure --with-apxs2=/usr/local/apache2/bin/apxs
> --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/include
>
> The end of screen output is:
>
> checking for MySQL support... yes
> checking for specified location of the MySQL UNIX socket... no
> checking for MySQL UNIX socket location... no
> checking for mysql_close in -lmysqlclient... no
> checking for mysql_error in -lmysqlclient... no
> configure: error: mysql configure failed. Please check config.log for
> more information.
>
>
> Red Hat + Apache2 + PHP + MySql is common combination, I guess. Why is
> it so diffiicult to make it work?
>
> Any ideas? Thanks!
>
PMJI,
Try zlib-dir=/usr. The routine should automatically add the /include directory
to get to the header files.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|