Another suggestion: Can configure script be non-interactive ?
list T.J. Yang
Interactive configure is good for beginner but not good for automation. Please consider modify the script to allow non-interactive configuration. Following is my partial auto configure shell script. I like to take out trick like <<_EOT_ y _EOT_ if possible. BTW, the configure script of hobbit is much better than BB's. tj <snip> rm -f Makefile MANROOT=/opt/hobbit/man \ BBVAR=/var/opt/hobbit/data \ SECURECGIDIR=/etc/opt/apacheS2048/cgi-secure \ CGIDIR=/etc/opt/apacheS2048/cgi-bin BBUSER=hobbit TARGET=hobbit ./configure \ --rrdinclude /opt/rrdtool10/include \ --rrdlib /opt/rrdtool10/lib \ --pcreinclude /opt/libpcre44/include \ --pcrelib /opt/libpcre44/lib \ --sslinclude /opt/libopenssl097/include \ --ssllib /opt/libopenssl097/lib \ --ldapinclude /opt/openldap2127/include \ --ldaplib /opt/openldap2127/lib \ --fping /opt/fping22/sbin/fping <<_EOT_ y _EOT_ T.J. Yang
list Christopher T. Beers
From the hobbit.spec file in the src.rpm. Completely automated.
TARGET=hobbit \
ENABLESSL=y \
ENABLELDAP=y \
ENABLELDAPSSL=y \
BBUSER=hobbit \
BBTOPDIR=/usr/lib/hobbit \
BBVAR=/var/lib/hobbit \
BBHOSTURL=/hobbit \
CGIDIR=/usr/lib/hobbit/cgi-bin \
BBCGIURL=/hobbit-cgi \
SECURECGIDIR=/usr/lib/hobbit/cgi-secure \
SECUREBBCGIURL=/hobbit-seccgi \
HTTPDGID=apache \
BBLOGDIR=/var/log/hobbit \
BBHOSTNAME=localhost \
BBHOSTIP=127.0.0.1 \
MANROOT=/usr/share/man \
BARS=all \
USENEWHIST=y \
PIXELCOUNT=960 \
INSTALLBINDIR=/usr/lib/hobbit/server/bin \
INSTALLETCDIR=/etc/hobbit \
INSTALLWEBDIR=/etc/hobbit/web \
INSTALLEXTDIR=/usr/lib/hobbit/server/ext \
INSTALLTMPDIR=/var/lib/hobbit/tmp \
INSTALLWWWDIR=/var/lib/hobbit/www \
./configure
▸
--On May 24, 2005 1:05:33 PM -0500 "T.J. Yang" <user-8e841282cda5@xymon.invalid> wrote:
| Interactive configure is good for beginner but not good for automation.
| Please consider modify the script to allow non-interactive configuration.
| Following is my partial auto configure shell script. I like to take out
| trick like
list T.J. Yang
From: "Christopher T. Beers" <user-96213c045646@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Another suggestion: Can configure script be non-interactive ? Date: Tue, 24 May 2005 14:21:00 -0400 From the hobbit.spec file in the src.rpm. Completely automated.
Thanks you very much for the pointer, I will reuse the syntax. tj