Problems doing a PHP configure with APACHE
| From: | Walter Page | Date: | Thu, 07 Dec 2000 17:11:10 +0000 |
| Subject: | Problems doing a PHP configure with APACHE | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29163@lists.php.net to get a copy of this message | ||
I have install PHP for the first time and have made it up to the point of
configuring Apache. I hope someone out there has the answer to this one.
walter@holler.net
/usr/local/apache ->
./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.14
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Solaris 251 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
cd ..;
gcc -DSOLARIS2=251 -I/usr/local/apache/src/php-4.0.3pl1 -I/usr/local/apache
/src/php-4.0.3pl1/main -I/usr/local/apache/src/php-4.0.3pl1/main -I/usr/loca
l/apache/src/php-4.0.3pl1/Zend -I/usr/local/apache/src/php-4.0.3pl1/Zend -I/
usr/local/apache/src/php-4.0.3pl1/TSRM -I/usr/local/apache/src/php-4.0.3pl1/
TSRM -I/usr/local/apache/src/php-4.0.3pl1 -DUSE_EXPAT -I./lib/expat-lite -DN
O_DL_NEEDED
./apaci -o helpers/dummy
helpers/dummy.c -R/usr/ucblib -R/usr/local/lib -L/usr/ucblib -L/usr/local
/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl
-lttf -lgd -lm -ldl -lcrypt -lnsl -lsocket -lresolv -lsocket -lnsl
ld: fatal: library -lgd: not found
ld: fatal: File processing errors. No output written to helpers/dummy
make: *** [dummy] Error 1
======== Error Output for sanity check ========
============= End of Error Report =============