failure building static 0.15.9 (success!)

Allyn Fratkin allyn at fratkin.com
Sat Dec 6 22:23:20 CET 2003


thanks for the hint, gyepi.

success!

>   $ LDFLAGS="-lpthreads" ./configure --blah

this didn't quite work, the C compiler couldn't create any
executables with LDFLAGS set so configure bombed (and to forestall
the obvious question, no, i didn't leave the --blah in there literally).

but running configure normally with the --enable-static parameter and
modifying the src/Makefile and adding -lpthread to the
LIBDB line did the trick.  i now have a static bogofilter again.

but i don't really like how --enable-static works so i started over
and didn't use it.  i don't like that "make check" only checks the
dynamically linked binary.  i wanted to check the static one i had just
created.  so i started over and ran configure normally and
then just edited LIBDB in src/Makefile anyway like i've been
doing for a year.  this way since only the static version was created,
i am sure that it tests correctly.

thanks again for the hint, gyepi!
-- 
Allyn Fratkin             allyn at fratkin.com
Escondido, CA             http://www.fratkin.com/





More information about the bogofilter-dev mailing list