On Wed, 2003-03-12 at 21:09, Stas Bekman wrote:
> David,
>
> How do I reproduce this problem? I've added a test (get the latest cvs) and it
> doesn't fail. Can you break this test?
Here's how I built the system, on a RH 8 system... I have a makefile
that downloads and builds apache, php, and mod_perl... so I haven't
tried anything in cvs. I give your test a shot after while. Here's the
makefile....
APACHE-DIST-DIR=/usr/local/apache2
PHP-DIR=/usr/lib/php
MOD_LDAP_USERDIR_VER=1.1.1
AUTH_LDAP_VER=1.6.0
APACHE-VER=2.0.44
PHP-VER=4.3.1
LIBMCAL-VER=0.6
MCAL-DRIVERS-VER=0.8
GETTEXT-VER=0.10.40
MCRYPT-VER=2.5.6
PHP_EXTRA_CONFIGURE_OPTIONS= --with-ldap=/usr --enable-ftp --without-gd
MYSQL-VER=3.23.53a
MYSQL-PREFIX=/usr/local/mysql
MODPERL-VER=1.99_08
#MODSSL-VER=2.8.12-1.3.27
all: directories download mcrypt c-client gettext apache php mod_perl
php.ini mod_ldap_userdir apache_asp
directories:
mkdir -p sources
mkdir -p build
download:
test -f sources/httpd-$(APACHE-VER).tar.gz || (cd sources; wget
http://httpd.apache.org/dist/httpd/httpd-$(APACHE-VER).tar.gz)
test -f sources/c-client.tar.Z || (cd sources; wget
ftp://ftp.cac.washington.edu/imap/c-client.tar.Z)
test -f sources/gettext-$(GETTEXT-VER).tar.gz || (cd sources; wget
ftp://sunsite.cnlab-switch.ch/mirror/gnu/gettext/gettext-$(GETTEXT-VER).tar.gz)
test -f sources/libmcrypt-$(MCRYPT-VER).tar.gz || (cd sources; wget
ftp://mcrypt.hellug.gr/pub/mcrypt/libmcrypt/libmcrypt-$(MCRYPT-VER).tar.gz)
test -f sources/php-$(PHP-VER).tar.gz || (cd sources; wget
http://ch.php.net:80/distributions/php-$(PHP-VER).tar.gz)
test -f sources/mod_ldap_userdir-$(MOD_LDAP_USERDIR_VER).tar.gz || (cd
sources; wget
http://horde.net/~jwm/software/mod_ldap_userdir/mod_ldap_userdir-$(MOD_LDAP_USERDIR_VER).tar.gz)
test -f sources/modauthldap_apache2.tar.gz || (cd sources; wget
http://www.muquit.com/muquit/software/mod_auth_ldap/modauthldap_apache2.tar.gz
# test -f sources/mysql-$(MYSQL-VER).tar.gz || (cd sources; wget
http://mysql.he.net/Downloads/MySQL-3.23/mysql-$(MYSQL-VER).tar.gz)
test -f sources/mod_perl-$(MODPERL-VER).tar.gz || (cd sources; wget
http://perl.apache.org/dist/mod_perl-$(MODPERL-VER).tar.gz)
# test -f sources/MySQL-$(MYSQL-VER)-1.i386.rpm || (cd sources; wget
http://mysql.oregonstate.edu/Downloads/MySQL-3.23/MySQL-$(MYSQL-VER)-1.i386.rpm)
# test -f sources/MySQL-bench-$(MYSQL-VER)-1.i386.rpm || (cd sources;
wget
http://mysql.oregonstate.edu/Downloads/MySQL-3.23/MySQL-bench-$(MYSQL-VER)-1.i386.rpm)
# test -f sources/MySQL-client-$(MYSQL-VER)-1.i386.rpm || (cd sources;
wget
http://mysql.oregonstate.edu/Downloads/MySQL-3.23/MySQL-client-$(MYSQL-VER)-1.i386.rpm)
# test -f sources/MySQL-devel-$(MYSQL-VER)-1.i386.rpm || (cd sources;
wget
http://mysql.oregonstate.edu/Downloads/MySQL-3.23/MySQL-devel-$(MYSQL-VER)-1.i386.rpm)
# test -f sources/MySQL-shared-$(MYSQL-VER)-1.i386.rpm || (cd sources;
wget
http://mysql.oregonstate.edu/Downloads/MySQL-3.23/MySQL-shared-$(MYSQL-VER)-1.i386.rpm)
test -f sources/mod_ssl-$(MODSSL-VER).tar.gz || (cd sources; wget
ftp://ftp.modssl.org/source/mod_ssl-2.8.12-1.3.27.tar.gz)
mod_perl:
cd build; gzip -dc ../sources/mod_perl-$(MODPERL-VER).tar.gz | tar xvf
-
cd build/mod_perl-$(MODPERL-VER); perl Makefile.PL \
MP_AP_PREFIX=$(APACHE-DIST-DIR) \
MP_INST_APACHE2=1
cd build/mod_perl-$(MODPERL-VER); make; make install
#mysql:
# rm -rf build/mysql-$(MYSQL-VER)
# cd build; gzip -dc ../sources/mysql-$(MYSQL-VER).tar.gz | tar xvf -
# cd build/mysql-$(MYSQL-VER); CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3
-felide-constructors -fno-exceptions \
# -fno-rtti" ./configure --prefix=$(MYSQL-PREFIX)
--enable-assembler \
# --with-mysqld-ldflags=-all-static
# cd build/mysql-$(MYSQL-VER); make ; make install
#mysql:
# rpm -Uvh sources/MySQL*.rpm
#
mcrypt:
rm -rf build/libmcrypt-$(MCRYPT-VER)
cd build; gzip -dc ../sources/libmcrypt-$(MCRYPT-VER).tar.gz | tar xvf
-
cd build/libmcrypt-$(MCRYPT-VER); ./configure --disable-posix-threads
make -C build/libmcrypt-$(MCRYPT-VER) all install
c-client:
cd build; zcat ../sources/c-client.tar.Z | tar xvf -
rm -rf build/imap
ls -1d build/imap-* | awk '{system("mv "$$1" build/imap")}'
make -C build/imap slx SSLTYPE=none
cp build/imap/c-client/c-client.a /usr/local/lib
cp build/imap/c-client/mail.h /usr/local/include/
cp build/imap/c-client/linkage.h /usr/local/include/
cp build/imap/c-client/rfc822.h /usr/local/include/
gettext:
rm -rf build/gettext-$(GETTEXT-VER)
cd build; tar xvzf ../sources/gettext-$(GETTEXT-VER).tar.gz
cd build/gettext-$(GETTEXT-VER); ./configure
make -C build/gettext-$(GETTEXT-VER) all check install
php:
rm -rf build/php-$(PHP-VER)
cd build; tar xvzf ../sources/php-$(PHP-VER).tar.gz
cd build/php-$(PHP-VER); make distclean; cat .cvsignore | xargs rm -rf
cd build/php-$(PHP-VER); \
./configure --prefix=$(PHP-DIR)\
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-imap=../imap \
--with-mysql \
--with-zlib \
--with-gettext \
--enable-track-vars \
--with-db3 \
--enable-bcmath \
--with-config-file-path=$(APACHE-DIST-DIR)/conf/ \
$(PHP_EXTRA_CONFIGURE_OPTIONS) \
--with-mcrypt
make -C build/php-$(PHP-VER) all install
php.ini:
sed 's!magic_quotes_gpc.*!magic_quotes_gpc = Off!g'
build/php-$(PHP-VER)/php.ini-dist | sed
's!include_path.*!include_path=$(PHP-DIR)!g'
>$(APACHE-DIST-DIR)/conf/php.ini
apacheunpack:
test -e build/httpd-$(APACHE-VER) || (cd build; tar xvzf
../sources/httpd-$(APACHE-VER).tar.gz)
cd build/httpd-$(APACHE-VER); ./configure --prefix=$(APACHE-DIST-DIR)
apache: apacheunpack
cd build/httpd-$(APACHE-VER); \
./configure --prefix=$(APACHE-DIST-DIR) \
--with-mpm=prefork \
--enable-module=so \
make -C build/httpd-$(APACHE-VER) all install
mod_ldap_userdir:
rm -rf build/mod_ldap_userdir-$(MOD_LDAP_USERDIR_VER)
cd build; tar xvzf
../sources/mod_ldap_userdir-$(MOD_LDAP_USERDIR_VER).tar.gz
cd build/mod_ldap_userdir-$(MOD_LDAP_USERDIR_VER); ./configure
--with-apxs2=$(APACHE-DIST-DIR)/bin/apxs --with-activate
make -C build/mod_ldap_userdir-$(MOD_LDAP_USERDIR_VER) install
auth_ldap:
rm -rf build/modauthldap_apache2
cd build; tar xvzf ../sources/modauthldap_apache2.tar.gz
cd build/modauthldap_apache2 ; \
./configure --with-apxs=$(APACHE-DIST-DIR)/bin/apxs -with-ldap-dir=/usr
--with-activate
make -C build/auth_ldap-$(AUTH_LDAP_VER) all install
apache_asp:
perl -MCPAN -e shell
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]