[prev in list] [next in list] [prev in thread] [next in thread] 

List:       info-cyrus
Subject:    Re: building cyrus 2.3.10 on x86_64
From:       Andrew Morgan <morgan () orst ! edu>
Date:       2007-11-20 21:35:56
Message-ID: Pine.LNX.4.64.0711201334530.3405 () shell ! onid ! oregonstate ! edu
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic