[PHP-DEV] Bug #1024 Updated: Incomplete mysql code in php-3_0_6_tar.gz From: George_Kinal <email protected>
Date: 01/04/99

Rasmus:

As discussed, I have gone back to source compilation for MySQL, Apache, and
PHP3.

Following the steps as on Page 6 of the manual, I get the following
unintelligle report after step 12:

[root <email protected> /]# cd apache_1.3.3
[root <email protected> /apache_1.3.3]# ./configure --prefix=/httpd-php -- activat
e-module=src/modules/php3/libphp3.a
Configuring for Apache, Version 1.3.3
 + activated php3 module (modules/php3/libphp3.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o php3_module uses ConfigStart/End
ld: cannot open -lmysqlclient: No such file or directory
make: *** [dummy] Error 1
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!
[root <email protected> /apache_1.3.3]#

[ It is the comment about cannot open -lmysqlclient which is peculiar; that
the Makefile then fails is not surprising ]

Can someone help please ? I have spent a week trying every possible
approach to getting the combination of Apache, PHP3, and MySQL to work,
without success.

G. Kinal

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>