[Mailman-Users] Error compiling mailman 2.1.9

Mario Silva Borrego msilva at nmcourts.com
Tue Feb 12 21:38:06 CET 2008


Hi guys:

I am trygin to compile mailman 2.1.9 and I got this error:

configure: error: can only configure for one host and one target at a time

My gcc version is: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
My Linux distribution is:  CentOS 4.3


I am calling the configure with this little script:

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

./configure --prefix=${MMDIR}  \
       --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} \
       --with-mailhost=localhost.localdomain \
       --with-urlhost=localhost.localdomain \
       --without-permcheck

-- 
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