On 08/04/2013 09:54 AM, Dave Wagler wrote:
On Sun, Aug 4, 2013 at 7:35 AM, Baho Utot <[email protected] <mailto:[email protected]>> wrote:

    On 08/04/2013 07:56 AM, Dave Wagler wrote:
    FYI, there was an error when using "make -j4", but "make" worked.

    Dave



    What is your error?
    I build cyrus-sasl-2.1.26 with -j4 without error on my BLFS-RPM
    system.

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c -fPIC -DPIC -o .libs/allockey.o
mv -f .deps/allockey.Tpo .deps/allockey.Po
mv -f .deps/allockey.Tpo .deps/allockey.Plo
mv -f .deps/db_berkeley.Tpo .deps/db_berkeley.Po
mv -f .deps/db_berkeley.Tpo .deps/db_berkeley.Plo
mv: cannot stat '.deps/db_berkeley.Tpo': No such file or directory
make[2]: *** [db_berkeley.lo] Error 1
make[2]: Leaving directory `/usr/src/cyrus-sasl-2.1.26/sasldb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cyrus-sasl-2.1.26'
make: *** [all] Error 2



I use this for my configure, I changed it because I use cyrus-sasl with my cyrus-imap mail server and the following has a little rpm in it

optflags="-march=i486 -mtune=i686 -O2 -pipe"
_prefix=/usr
_bindir=/usr/bin
_libdir=/usr/lib

./configure \
    CFLAGS="%{optflags} -fPIC" \
    CXXFLAGS="%{optflags}" \
    --prefix=%{_prefix} \
    --bindir=%{_bindir} \
    --libdir=%{_libdir} \
    --sysconfdir=/etc \
    --with-dblib=berkeley \
    --with-dbpath=/var/lib/sasl/sasldb2 \
    --with-saslauthd=/var/run/saslauthd \
    --with-plugindir=%{_libdir}/sasl2 \
    --enable-anon\
    --enable-login \
    --enable-plain \
    --enable-cram \
    --enable-digest \
    --enable-ntlm \
    --enable-auth-sasldb \
    --disable-java \
    --disable-krb4 \
    --disable-otp

make %{?_smp_mflags}
%{?_smp_mflags} = the number of cpus on smp system

make DESTDIR=%{buildroot} install

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

Reply via email to