>I'm trying to bring up courier-imap, which requires courier-authlib, however i am unable to compile courier-authlib. >it complains about vpopmail. says i should recompile it with -fPIC. >my configure flags are as followed: >for vpopmail: >./configure CFLAGS=-fPIC --enable-roaming-users=y --enable-logging=p --enable-qmaildir=/var/qmail > >for courier-authlib: >./configure CFLAGS=-fPIC --prefix=/usr/local --exec-prefix=/usr/local --with-authvchkpw --without-authldap --without->authmysql --disable-root-check --with-ssl --with-authchangepwdir=/usr/local/libexec/authlib --with-redhat The way to do this is: CFLAGS=-fPIC ./configure --enable-roaming-users=y --enable-logging=p --enable-qmaildir=/var/qmail
CFLAGS is an environment variable, not an argument to configure. Hope that helps, Nick