this is a little off the main topic, but i was wondering ..

what does the -fPIC do? what causes this "issue" ? good buddy of mine wrote & updates a QMAIL Install script ... does it all for you, including courier-IMAP or Bincc ... and he was wondering whether or not he shoudl include the -fPIC command when his script compiles vpopmail - whether this command will bomb & cause errors on 32bit systems.

I will take the production server down in a little, and try to install vpopmail with fpic the way you suggested.

Thanks again,


On Apr 4, 2005, at 6:26 PM, Jeremy Kitchen wrote:

On Monday 04 April 2005 04:48 pm, Marco Prechel wrote:

are you saying that one will have to run

CFLAGS=-fPIC BEFORE the ./configure

like Nick stated? so in essence i would run my configure as followed:

#CFLAGS=-fPIC ./configure --enable-roaming-users=y --enable-logging=p --enable-qmaildir=/var/qmail

yep, that's how you would do it. You could also do something like (assuming

# export CFLAGS="-fPIC"
# ./configure .....

but that would also affect all subsequent builds within that session.

One thing I like to do, is create (outside of the source tree) files called
say... ./configure-sqwebmail, ./configure-vpopmail, etc.. that contain my
configure command lines. For instance, here's my ./configure-apache


exec ./configure --with-so --enable-rewrite --enable-suexec \
--with-suexec-caller=nobody --with-suexec-docroot=/home/www --enable-ssl \
--enable-proxy --enable-dav --enable-dav-fs

you could easily do something like:


exec CFLAGS=-fPIC ./configure ......

I apologize in advance, I'm learning.

no need for apologies, everyone is new at some point :)


Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet IRC ++
GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]

Reply via email to