On Monday 04 April 2005 04:48 pm, Marco Prechel wrote: > Jeremy, > > 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
bash):
# 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
#!/bin/sh
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:
#!/bin/sh
exec CFLAGS=-fPIC ./configure ......
> I apologize in advance, I'm learning.
no need for apologies, everyone is new at some point :)
-Jeremy
--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]
pgp1Djpyk37fJ.pgp
Description: PGP signature
