[Nut-upsdev] minor building issues (svn HEAD revision 427)

Mike Patterson mpatters at cs.uwaterloo.ca
Sat May 20 15:18:27 UTC 2006


Charles Lepple wrote on 20/05/2006 11:14 AM:
> what parameters did you pass to ./configure?

Pardon the imakefile syntax (told you our environment was weird and
wonderful):

PACKAGEDIR = /software/${PACKAGE}
PREFIX = ${PACKAGEDIR}
DESTOPTIONS = --prefix=${PACKAGEDIR} \
              --exec-prefix=${PREFIX} \
              --datadir=${PACKAGEDIR}/data   \
              --localstatedir=${PACKAGEDIR}/data   \
              --libdir=${PACKAGEDIR}/lib  \
              --mandir=${PACKAGEDIR}/man \
              --sysconfdir=${PACKAGEDIR}/config/local  \
              --includedir=${PACKAGEDIR}/include/${BASENAME}  \
              --bindir=${PACKAGEDIR}/bin  \
              --sbindir=${PACKAGEDIR}/servers \
                --with-log-facility


CONFIGUREOPTIONS = --enable-shared   \
                   --with-user=root  \
                   --with-statepath=${PACKAGEDIR}/data/local/ups \
                   --with-pidpath=${PACKAGEDIR}/data/local/run  \
                   --with-drvpath=${PACKAGEDIR}/maintenance  \
                   --with-cgipath=${PACKAGEDIR}/cgi-bin \
                   --with-drivers=snmp-ups

(where PACKAGE is previously defined as nut-2.1).  Then the actual
configure is "./configure ${CONFIGUREOPTIONS} ${DESTOPTIONS}".

Mike




More information about the Nut-upsdev mailing list