PostgreSQL 8.4.3: configure script on Debian Lenny with libbsd-dev and libbsd0 installed does not detect strlcpy and strlcat functions

Поиск
Список
Период
Сортировка
От Holger Rauch
Тема PostgreSQL 8.4.3: configure script on Debian Lenny with libbsd-dev and libbsd0 installed does not detect strlcpy and strlcat functions
Дата
Msg-id 20100425144832.GA1187@heitec.de
обсуждение исходный текст
Ответы Re: PostgreSQL 8.4.3: configure script on Debian Lenny with libbsd-dev and libbsd0 installed does not detect strlcpy and strlcat functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi to everybody,

on a Debian Lenny system I got the error mentioned above, i. e.
configure reported "no" for both functions, even though the two BSD
compatibility packages mentioned in the subject are installed.
Both functions are declared in

/usr/include/bsd/string.h

When including that header file and linking with "-lbsd", it should be
OK, i. e. the configure checks for both functions should return "yes"
instead of "no".

So, my question is: Why does the configure script not include these
checks on Linux systems (for the bsd/string.h file and libbsd)?

I suspect that this might be a general problem on Linux, not just
limited to Debian Lenny.

(Hopefully, I didn't forget to mention anything. Otherwise, please
don't hesitate to ask.)

Thanks in advance & kind regards,

   Holger

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #5437: Production db down
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 8.4.3: configure script on Debian Lenny with libbsd-dev and libbsd0 installed does not detect strlcpy and strlcat functions