Bug #1024 Updated: Incomplete mysql code in php-3_0_6_tar.gz
| From: | George_Kinal at inmarsat dot org | Date: | Mon, 04 Jan 1999 22:34:25 +0000 |
| Subject: | Bug #1024 Updated: Incomplete mysql code in php-3_0_6_tar.gz | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3264@lists.php.net to get a copy of this message | ||
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@GVKLinuxServer /]# cd apache_1.3.3
[root@GVKLinuxServer /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@GVKLinuxServer /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@lists.php.net
For help: php-dev-help@lists.php.net