On Sun, 18 Nov 2007, Gabor Gombas wrote:

> On Fri, Nov 16, 2007 at 05:03:39PM -0800, Andrew Morgan wrote:
>
>> I was able to get it to compile cleanly by adding "-fPIC" to the CFLAGS
>> definition in each Makefile.  I'm not sure if this is the correct solution
>> though!
>
> Yes, that's needed on x86_64 (at least until Cyrus starts providing
> shared libraries for libcyrus & libimap).

Just to follow up, I found the easy way to do this was to run configure 
like so:

   CFLAGS="-g -O2 -fPIC" ./configure

Much easier than editing a bunch of auto-generated Makefiles!

        Andy
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to