compiling apache 1.3.20 with php 4.0.6
| From: | Jay Paulson | Date: | Fri, 10 Aug 2001 20:22:37 +0000 |
| Subject: | compiling apache 1.3.20 with php 4.0.6 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62213@lists.php.net to get a copy of this message | ||
hello everyone...
I'm trying to compile apache with mod_php but it gets to the line "+ Module
php4: yes" and then spits out all this gibberish.. i've already installed
php so i really don't know what this junk it has spit out to me.. any help?
thanks...
+ Module php4: yes
cd ..;
gcc -DLINUX=22 -I/home/updates/php-4.0.6 -I/home/updates/php-4.0.6/main -I/
home/updates/php-4.0.6/main -I/home/updates/php-4.0.6/Zend -I/home/updates/p
hp-4.0.6/Zend -I/home/updates/php-4.0.6/TSRM -I/home/updates/php-4.0.6/TSRM
-I/home/updates/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite
./apaci -o
helpers/dummy
helpers/dummy.c -Wl,-rpath,/usr/local/lib -rdynamic -L/usr/local/lib -Lmo
dules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lc-clien
t -ldl -lxmltok -lxmlparse -lsablot -lpam -lbz2 -lz -lcrypt -lresolv -lm -l
dl -lnsl -lresolv -lm -lcrypt -ldl
/usr/bin/ld: cannot find -lxmltok
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
cd ..;
gcc -DLINUX=22 -I/home/updates/php-4.0.6 -I/home/updates/php-4.0.6/main -I/
home/updates/php-4.0.6/main -I/home/updates/php-4.0.6/Zend -I/home/updates/p
hp-4.0.6/Zend -I/home/updates/php-4.0.6/TSRM -I/home/updates/php-4.0.6/TSRM
-I/home/updates/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite ./apaci -o
helpers/dummy
helpers/dummy.c -Wl,-rpath,/usr/local/lib -rdynamic -L/usr/local/lib -Lmo
dules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lc-clien
t -ldl -lxmltok -lxmlparse -lsablot -lpam -lbz2 -lz -lcrypt -lresolv -lm -l
dl -lnsl -lresolv -lm -lcrypt -ldl
/usr/bin/ld: cannot find -lxmltok
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
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 php4_module uses ConfigStart/End
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The above 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.
======== Error Output for sanity check ========
============= End of Error Report =============