INN and db 4,6

Julien ÉLIE julien at trigofacile.com
Fri Sep 21 16:47:35 UTC 2007


Hi,

>> Well, it works if I add "-lpthread" to gcc's command line.
>> But why isn't it set automatically?
>
> For pthread to work, I need to use -pthread .

But what I do not understand is why configure does not give
me the right flags.  I only have:

    DB_LIBS         = -ldb -lz

and not:

    DB_LIBS         = -ldb -lz -lpthread

while I correctly get:

    PERL_LIBS       = [...] -lperl -ldl -lm -lpthread -lcrypt


The same problem affects DBM_LIBS too.
I tried to run configure for Berkeley DB with "--enable-pthread_api"
and also without but there is no change when I run configure for INN.

All the same, it breaks the build without "-lpthread" (on my Debian Etch).

How do you do?  Do you manually edit Makefile.global to add -lpthread?
Or am I missing something?

-- 
Julien ÉLIE

« Ta remise sur pied lui a fait perdre la tête ! » (Astérix) 



More information about the inn-workers mailing list