php 4 trouble
| From: | Nathan Humphrey | Date: | Wed, 31 Jan 2001 00:51:51 +0000 |
| Subject: | php 4 trouble | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1852@lists.php.net to get a copy of this message | ||
--I type this:
su-2.03# ./configure --enable-module=all --enable-shared=max --
--And get this:
add-module=mod_frontpage.c --activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.14
+ using installation path layout: Apache (config.layout)
+ on-the-fly added and activated frontpage module
(modules/extra/mod_frontpage.o)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for FreeBSD 4.2 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
o dbm_auth_module uses ConfigStart/End
o db_auth_module uses ConfigStart/End
Error: None of Berkeley-DB 1.x, 2.x or 3.x libraries found.
Either disable mod_auth_db or provide us with the paths
to the Berkeley-DB include and library files.
(Hint: INCLUDES, LDFLAGS, LIBS)
--what does this error mean?
--this is the config.status
LDFLAGS="-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam" \
./configure \
"--with-layout=Apache" \
"--enable-module=all" \
"--enable-shared=max" \
"--add-module=mod_frontpage.c" \
"--activate-module=src/modules/php4/libphp4.a" \
"$@"
-- also get this error if try to run this:
su-2.03# export LDFLAGS="-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam"
su-2.03# ./configure --enable-module=libphp4.a --enable-shared=max
--add-module=mod_frontpage.c --activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.14
+ using installation path layout: Apache (config.layout)
module_libphp4.a=yes: not found
+ on-the-fly added and activated frontpage module
(modules/extra/mod_frontpage.o)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
+ enabling mod_so for DSO support
Creating Makefile in src
+ configured for FreeBSD 4.2 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 -funsigned-char -I/usr/local/src/php-4.0.4pl1
-I/usr/local/src/php-4.0.4pl1/main -I/usr/local/src/php-4.0.4pl1/main
-I/usr/local/src/php-4.0.4pl1/Zend -I/usr/local/src/php-4.0.4pl1/Zend
-I/usr/local/src/php-4.0.4pl1/TSRM -I/usr/local/src/php-4.0.4pl1/TSRM
-I/usr/local/src/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite
./apaci
-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam -o helpers/dummy
helpers/dummy.c -R/usr/local/lib -rdynamic -L/usr/local/lib
-Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam
-lc-client4 -lm -lcrypt -lcrypt
/usr/libexec/elf/ld: cannot find -lkrb5
*** Error code 1
Stop in /usr/local/src/apache_1.3.14/src/helpers.
======== Error Output for sanity check ========
============= End of Error Report =============
Aborting!
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup