Jeremy, I did compile vpopmail the way you suggested ... and now i'm getting another error - different but same nature.
------------------------------------------ Compiling authvchkpw.c authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:142: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type Compiling authvchkpwlib.c Compiling preauthvchkpw.c preauthvchkpw.c: In function `auth_vchkpw_pre': preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type Linking libauthvchkpw.la /usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(cdb_seek.o): relocation R_X86_64_PC32 against `read@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[2]: *** [libauthvchkpw.la] Error 1 make[2]: Leaving directory `/downloads/qmailrocks/courier-authlib-0.55' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/downloads/qmailrocks/courier-authlib-0.55' make: *** [all] Error 2 [EMAIL PROTECTED] courier-authlib-0.55]# ------------------------------------------------------------- On Monday, April 04, 2005, at 06:26PM, Jeremy Kitchen <[EMAIL PROTECTED]> wrote: >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] > >