[Mailman-Users] Error compiling mailman 2.1.9
Mario Silva Borrego
mario.silva at nmcourts.gov
Wed Feb 13 21:20:35 CET 2008
Mark:
Thank you very much for your advices, finally I could compile it with
this little modifications, the "--with-mail-gid" option does accept
multiple values, so I just made some little modifications and here you
have in case you also want to update your current installation:
# General variables
CONTENTDIR=/var/www
PROG=mailman
# Installation directories
MMDIR=/usr/lib/${PROG}
VARMMDIR=/var/lib/${PROG}
DOCDIR=/usr/share/doc/${PROG}
CONFIGDIR=/etc/${PROG}
DATADIR=${VARMMDIR}/data
LOCKDIR=/var/lock/${PROG}
LOGDIR=/var/log/${PROG}
PIDDIR=/var/run/${PROG}
QUEUEDIR=/var/spool/${PROG}
HTTPDCONFDIR=/etc/httpd/conf.d
HTTPDCONFFILE=${PROG}.conf
# Now, the user and group the CGIs will expect to be run under. This should
# match the user and group the web server is configured to run as. The
scripts
# will error out if they are invoked by any other user.
cgiuser=apache
cgigroup=apache
# Now, the user and group the scripts will actually execute as.
mmuser=mailman
mmuserid=41
mmgroup=mailman
mmgroupid=41
# Directory/File modes & permissions
dirmode=2775
exemode=2755
# Now, the groups your mail spoolers run as. Sendmail uses mail(12)
# and postfix used to use nobody, but now uses postfix
mailgroup="mail postfix mailman nobody daemon"
# Python binary
__python=/usr/bin/python
# The mail wrapper program
mail_wrapper=mailman
echo "Variable Values to use in configure line:"
echo $CONTENTDIR
echo $PROG
echo $MMDIR
echo $VARMMDIR
echo $DOCDIR
echo $CONFIGDIR
echo $DATADIR
echo $LOCKDIR
echo $LOGDIR
echo $PIDDIR
echo $QUEUEDIR
echo $HTTPDCONFDIR
echo $HTTPDCONFFILE
echo $cgiuser
echo $cgigroup
echo $mmuser
echo $mmuserid
echo $mmgroup
echo $mmgroupid
echo $dirmode
echo $exemode
echo $mailgroup
echo $__python
echo $mail_wrapper
/configure --prefix=${MMDIR} \
--with-var-prefix=${VARMMDIR} \
--with-config-dir=${CONFIGDIR} \
--with-lock-dir=${LOCKDIR} \
--with-log-dir=${LOGDIR} \
--with-pid-dir=${PIDDIR} \
--with-queue-dir=${QUEUEDIR} \
--with-python=${__python} \
'--with-mail-gid=${mailgroup}' \
--with-cgi-id=${cgiuser} \
--with-cgi-gid=${cgigroup} \
--target=localhost.localdomain \
--with-mailhost=localhost.localdomain \
--with-urlhost=localhost.localdomain \
--without-permcheck \
with this configuration my compiling just ran flawless and clean.
thank you very much for your help!
mario
--
Mario Silva Borrego
Systems Administrator
Supreme Court of New Mexico
Judicial Information Division
2905 Rodeo Park Dr. East, Bldg. #5
Santa Fe, NM 87505
Phone: (505) 476-6959 / Mobil: (505) 660-1026
Fax: (505) 476-6952
Website: http://www.nmcourts.gov
mailto: mario.silva at nmcourts.gov
LEGAL DISCLAIMER:
The content of this data transmission is not considered as an offer, proposal, understanding, or agreement unless it is confirmed in a document signed by a legal representative of Supreme Court of the State of New Mexico or the Judicial Information Division. The content of this data transmission is confidential and it is intended to be delivered only to the addresses, therefore, it shall not be distributed and/or disclosed through any mean without the original sender's previous authorization. If you are not the addressee you are forbidden to use it, either totally or partially, for any purpose.
AVISO LEGAL:
El contenido de este mensaje de datos no se considera oferta, propuesta o acuerdo, sino hasta que sea confirmado en documento por escrito que contenga la firma autógrafa del apoderado legal de La Suprema Corte del Estado de Nuevo Mexico o de la Division de Informatica del Estado. El contenido de este mensaje de datos es confidencial y se entiende dirigido y para uso exclusivo del destinatario, por lo que no podrá distribuirse y/o difundirse por ningún medio sin la previa autorización del emisor original. Si usted no es el destinatario, se le prohíbe su utilización total o parcial para cualquier fin.
More information about the Mailman-Users
mailing list