On Tuesday, November 27, 2001, at 12:01 AM, Chris wrote:
> I had a similar *mis*understanding when I attempted to install > *other* modules with the PHP /configure/install. > > Your line (where mysql is concerned) should read: > --with-mysql=/usr/local *not* > --with-mysql=/usr/local/mysql as you used. > > That *should* get it for you. :-) > > > Best wishes, > Chris > Chris, I tried it. For some reason, it error'd during the ./configure command. localhost:~/tmp/apache_mod_php-6-2/php$ ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local creating cache ./config.cache ... ( ./configure output omitted ) ... checking for MySQL support... yes configure: error: Cannot find header files under /usr/local localhost:~/tmp/apache_mod_php-6-2/php$ This is strange, because here is what I get when I choose '--with- mysql=/usr/local/mysql': localhost:~/tmp/apache_mod_php-6-2/php$ rm config.cache localhost:~/tmp/apache_mod_php-6-2/php$ make clean make: *** No rule to make target `clean'. Stop. localhost:~/tmp/apache_mod_php-6-2/php$ ./configure --with-xml --with-zlib --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql creating cache ./config.cache ... ( ./configure output omitted ) ... checking for MySQL support... yes checking for MySQL UNIX socket... /tmp/mysql.sock ... ( more ./configure output omitted ) ... updating cache ./config.cache loading cache ./config.cache Generating files checking for working mkdir -p... yes creating config_vars.mk updating cache ./config.cache creating ./config.status creating php4.spec creating Zend/Makefile creating main/build-defs.h creating pear/scripts/pear creating pear/scripts/phpize creating pear/scripts/php-config creating TSRM/Makefile creating main/php_config.h creating sapi/Makefile creating ext/Makefile creating Makefile creating pear/Makefile creating main/Makefile creating ext/zlib/Makefile creating ext/mysql/Makefile creating ext/pcre/Makefile creating ext/pcre/pcrelib/Makefile creating ext/posix/Makefile creating ext/session/Makefile creating ext/standard/Makefile creating ext/xml/Makefile creating ext/xml/expat/Makefile creating ext/xml/expat/xmlparse/Makefile creating ext/xml/expat/xmltok/Makefile creating sapi/apache/Makefile creating regex/Makefile creating number.c creating number.h creating main/internal_functions.c +--------------------------------------------------------------------+ | License: | | This software is subject to the PHP License, available in this | | distribution in the file LICENSE. By continuing this installation | | process, you are bound by the terms of this license agreement. | | If you do not agree with the terms of this license, you must abort | | the installation process at this point. | +--------------------------------------------------------------------+ Thank you for using PHP. localhost:~/tmp/apache_mod_php-6-2/php$ See that? It recognized the MySQL headers, and successfully completed the ./configure operation, which is great. But my problem, which is that the 'make' operation does not create the libphp4.so file (or whatever), still exists. Does anyone have any advice? Thanks, Erik -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]