error compiling php4.0.6 with apache
| From: | intiroch at impsat1 dot com dot ar | Date: | Thu, 12 Jul 2001 18:42:06 +0000 |
| Subject: | error compiling php4.0.6 with apache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57627@lists.php.net to get a copy of this message | ||
> Jorge Inti Benites RocheHi!
> i'm trying to compile php4.0.6 for it i do:
>
>
./configure --with-zlib --with-mm --with-mysql --with-mcal=../libmcal --with
> -ldap --with-imap=/usr/lib --with-gettext --enable-ftp --with-db3=/usr/loc
al
> /BerkeleyDB.3.2 --with-apache=../apache --with-mcrypt
>
> ok
> but when i try to compile the apache, this error appear:
>
> ./configure --activate-module=src/modules/php4/libphp4.a
> Configuring for Apache, Version 1.3.20
> + using installation path layout: Apache (config.layout)
> + activated php4 module (modules/php4/libphp4.a)
> Creating Makefile
> Creating Configuration.apaci in src
> cd ..;
>
gcc -DLINUX=22 -I/home/facun/WebMail/paquetes/php-4.0.6 -I/home/facun/WebMa
>
il/paquetes/php-4.0.6/main -I/home/facun/WebMail/paquetes/php-4.0.6/main -I/
>
home/facun/WebMail/paquetes/php-4.0.6/Zend -I/home/facun/WebMail/paquetes/ph
>
p-4.0.6/Zend -I/home/facun/WebMail/paquetes/php-4.0.6/TSRM -I/home/facun/Web
>
Mail/paquetes/php-4.0.6/TSRM -I/home/facun/WebMail/paquetes/php-4.0.6 -DUSE_
> EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci -o
> helpers/dummy
>
helpers/dummy.c -Wl,-rpath,/usr/local/BerkeleyDB.3.2/lib -Wl,-rpath,/usr/l
>
ocal/lib -Wl,-rpath,/home/facun/WebMail/paquetes/libmcal -rdynamic -L/usr/l
>
ocal/BerkeleyDB.3.2/lib -L/usr/local/lib -L/home/facun/WebMail/paquetes/libm
>
al -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lc-cli
>
ent -ldl -lmm -lmcrypt -lltdl -lmcal -lldap -llber -ldb -lz -lcrypt -lresol
> v -lm -ldl -lnsl -lresolv -lm -lcrypt
> /usr/lib/libc-client.so: undefined reference to `mm_expunged'
> /usr/lib/libc-client.so: undefined reference to `mm_diskerror'
> /usr/lib/libc-client.so: undefined reference to `mm_lsub'
> /usr/lib/libc-client.so: undefined reference to `mm_flags'
> /usr/lib/libc-client.so: undefined reference to `mm_fatal'
> /usr/lib/libc-client.so: undefined reference to `mm_nocritical'
> /usr/lib/libc-client.so: undefined reference to `mm_notify'
> /usr/lib/libc-client.so: undefined reference to `mm_searched'
> /usr/lib/libc-client.so: undefined reference to `mm_status'
> /usr/lib/libc-client.so: undefined reference to `mm_login'
> /usr/lib/libc-client.so: undefined reference to `mm_list'
> /usr/lib/libc-client.so: undefined reference to `mm_critical'
> /usr/lib/libc-client.so: undefined reference to `mm_exists'
> /usr/lib/libc-client.so: undefined reference to `mm_log'
> /usr/lib/libc-client.so: undefined reference to `mm_dlog'
> 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
> + 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.
>
> ======== Error Output for sanity check ========
> ============= End of Error Report =============
>
>
>
> Please could you help me?
>
>
> Thanks!!
>
> Jorge
>
>