Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Sergei Antonov
On 7 March 2014 18:37, Ken Moffat wrote: > I did notice that I build it by passing CFLAGS=-fPIC at the end of > my configure command With CFLAGS=-fPIC it compiles. Thanks! -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe

Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Ken Moffat
On Fri, Mar 07, 2014 at 05:59:03PM -0600, Bruce Dubbs wrote: > Ken Moffat wrote: > > > I see that in a later mail you pointed to a patch. I _like_ patches > > (easy to see if they still apply - if in any doubt use 'git apply') > > but BLFS prefers to use simple things like sed, so I assume that

Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Bruce Dubbs
Ken Moffat wrote: > I see that in a later mail you pointed to a patch. I _like_ patches > (easy to see if they still apply - if in any doubt use 'git apply') > but BLFS prefers to use simple things like sed, so I assume that > specifying CFLAGS= will meet with more approval. We like sed becaus

Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Ken Moffat
On Fri, Mar 07, 2014 at 10:47:01PM +0100, Armin K. wrote: > On 03/07/2014 10:04 PM, Ken Moffat wrote: > > > > And looking back, we had CFLAGS=-fPIC at the end of configure in > > BLFS-7.4, but without an explanation. > > > > It fell out in r12739 when Fernando applied a fix from Armin. The > >

Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Armin K.
On 03/07/2014 10:04 PM, Ken Moffat wrote: > On Fri, Mar 07, 2014 at 05:37:22PM +, Ken Moffat wrote: >> On Fri, Mar 07, 2014 at 04:17:29PM +0100, Sergei Antonov wrote: >>> Hello! >>> I follow this instruction to build Cyrus SASL-2.1.26: >>> http://www.linuxfromscratch.org/blfs/view/svn/postlfs/c

Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Armin K.
On 03/07/2014 10:04 PM, Ken Moffat wrote: > On Fri, Mar 07, 2014 at 05:37:22PM +, Ken Moffat wrote: >> On Fri, Mar 07, 2014 at 04:17:29PM +0100, Sergei Antonov wrote: >>> Hello! >>> I follow this instruction to build Cyrus SASL-2.1.26: >>> http://www.linuxfromscratch.org/blfs/view/svn/postlfs/c

Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Bruce Dubbs
Ken Moffat wrote: > On Fri, Mar 07, 2014 at 05:37:22PM +, Ken Moffat wrote: >> On Fri, Mar 07, 2014 at 04:17:29PM +0100, Sergei Antonov wrote: >>> Hello! >>> I follow this instruction to build Cyrus SASL-2.1.26: >>> http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cyrus-sasl.html >>> >>> "

Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Ken Moffat
On Fri, Mar 07, 2014 at 05:37:22PM +, Ken Moffat wrote: > On Fri, Mar 07, 2014 at 04:17:29PM +0100, Sergei Antonov wrote: > > Hello! > > I follow this instruction to build Cyrus SASL-2.1.26: > > http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cyrus-sasl.html > > > > "make -j1" results in

Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Ken Moffat
On Fri, Mar 07, 2014 at 04:17:29PM +0100, Sergei Antonov wrote: > Hello! > I follow this instruction to build Cyrus SASL-2.1.26: > http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cyrus-sasl.html > > "make -j1" results in a link error about PIC: > > libtool: link: gcc -shared -fPIC -DPIC .

[blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Sergei Antonov
Hello! I follow this instruction to build Cyrus SASL-2.1.26: http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cyrus-sasl.html "make -j1" results in a link error about PIC: libtool: link: gcc -shared -fPIC -DPIC .libs/sasldb.o .libs/sasldb_init.o .libs/plugin_common.o -Wl,--whole-archive .