You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rick Kukiela <ap...@mmhosting.com> on 2002/08/05 22:01:02 UTC

configure dies with php-imap support

When i install my webserver setup, these are the steps i follow:

Configure Apache.

  # cd apache_1.3.26
  # ./configure --prefix=/usr/local/apache

Build mod_perl.

  # cd ../mod_perl-1.27
  # perl Makefile.PL APACHE_SRC=../apache_1.3.26/src NO_HTTPD=1 USE_APACI=1
PREP_HTTPD=1 EVERYTHING=1
  # make

Build mod_php.

  # cd ../php-4.2.2
  #
./configure --with-imap=/usr/local --with-xml --with-mysql --enable-track-va
rs --with-mm=/usr/local --with-gettext --with-mcrypt=/usr/local --enable-ftp
 --enable-sockets --with-apache=../apache_1.3.26
  # make
  # make install

Build mod_ssl.
  # cd ../mod_ssl-2.8.10-1.3.26
  # ./configure --with-apache=../apache_1.3.26

Build Apache:

  # cd ../apache_1.3.xxx
  #
./configure --prefix=/usr/local/apache --activate-module=src/modules/perl/li
bperl.a --activate-module=src/modules/php4/libphp4.a --enable-module=ssl --e
nable-module=rewrite --enable-module=so
  # make

Test and install mod_perl

  # cd ../mod_perl-1.xx
  # make test
  # make install.

Complete the Apache installation.

  # cd ../apache_1.3.xxx
  # make install

I have all the prerequisites installed to prefix /usr/local (including
c-client)

Ok when i configure apache the second time it dies with this error:

======== Error Output for sanity check ========
cd ..;
cc  -funsigned-char -DMOD_SSL=208110 -DMOD_PERL -DUSE_PERL_SSI  -I/us
r/local/src/php-4.2.2 -I/usr/local/src/php-4.2.2/main -I/usr/local/src/php-4
.
2.2/main -I/usr/local/src/php-4.2.2/Zend -I/usr/local/src/php-4.2.2/Zend -I/
u
sr/local/src/php-4.2.2/TSRM -I/usr/local/src/php-4.2.2/TSRM -I/usr/local/src
/
php-4.2.2 -DEAPI -DUSE_EXPAT -I./lib/expat-lite
`./apaci` -I. -I/usr/libdata/
perl/5.00503/mach/CORE  -L/usr/lib  -o helpers/dummy
lpers/dummy.c   -R/usr
/local/lib  -rdynamic -L/usr/local/lib -Lmodules/php4 -L../modules/php4 -L..
/
../modules/php4 -lmodphp4  -lpam -lc-client4  -lmm -lmcrypt -lltdl -lcrypt -
l
pam -lintl -lcrypt -lm  -lcrypt   -lcrypt   -lssl -lcrypto  -Wl,-R/usr/lib -
W
l,-E -lperl -lm  /usr/libdata/perl/5.00503/mach/auto/DynaLoader/DynaLoader.a
-L/usr/libdata/perl/5.00503/mach/CORE -lperl -lm -lc -lcrypt -lperl -lm
/usr/libexec/elf/ld: warning: libltdl.so.4, needed by
/usr/local/lib/libmcryp
t.so, may conflict with libltdl.so.3
/usr/local/lib/libc-client4.so: undefined reference to `mm_expunged'
/usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror'
/usr/local/lib/libc-client4.so: undefined reference to `mm_lsub'
/usr/local/lib/libc-client4.so: undefined reference to `mm_flags'
/usr/local/lib/libc-client4.so: undefined reference to `mm_fatal'
/usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical'
/usr/local/lib/libc-client4.so: undefined reference to `mm_notify'
/usr/local/lib/libc-client4.so: undefined reference to `mm_searched'
/usr/local/lib/libc-client4.so: undefined reference to `mm_status'
/usr/local/lib/libc-client4.so: undefined reference to `mm_login'
/usr/local/lib/libc-client4.so: undefined reference to `mm_list'
/usr/local/lib/libc-client4.so: undefined reference to `mm_critical'
/usr/local/lib/libc-client4.so: undefined reference to `mm_exists'
/usr/local/lib/libc-client4.so: undefined reference to `mm_log'
/usr/local/lib/libc-client4.so: undefined reference to `mm_dlog'
*** Error code 1


Anyone know whats happening?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org