> I am setting up an LFS7.9 box.  I am trying to compile cyrus-sasl, but it
> does not compile if the patch is applied.  It fails with:
>
> No rule to make target '-ldb', needed by 'libsasldb.la'. Stop.
>
> It compiles fine sans patch, but then I'm unable to compile additional
> mechanisms.
>
> Thanks
>

I guess I should provide some more info:

Here is the relevant section of the output: http://pastebin.com/QtKwNQRQ

This particular error can be alleviated by making the following change in
./sasldb/Makefile

-libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND) $(SASL_DB_LIB)
-libsasldb_la_LIBADD = $(SASL_DB_BACKEND) $(SASL_DB_LIB)
+libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND)
+libsasldb_la_LIBADD = $(SASL_DB_BACKEND)

However then the compilation fails with a further error.  To note: I am
installing sasl (and all of its dependencies) into /usr/local rather than
/usr, however this seems to not be the problem.

As mentioned, sasl compiles just fine when the patch is not applied.  Is
there a bug in the patch (unlikely, this surely would have been spotted
already).  Maybe there is an environment variable that I am missing?

Many Thanks

Max

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to