On Mon, 4 Dec 2000, Alexei V. Alexandrov wrote:

> Hello everyone,
> 
>   ����� ��������, ����� ������� � ������ � ��� ������ �����, �� ��� ��
>   �����  ������  �������  ����������  ������ ������. ��� �������������
>   ������  accel  ���  ����������  ��  ��������� ��������� ���������, �
>   �����  �����������.  ������  pcre  �  �������� �� ������, �� �������
>   ��������   oops.  �����  ������������  oops  -lpcreposix  �  -lpcre
>   ������������, �� �� ����� ���������� �������� warning ���� �����:
>   /usr/lib/libc.so.3: WARNING!  setkey(3) not present in the system!
>   /usr/lib/libc.so.3: WARNING!  des_setkey(3) not present in the system!
>   /usr/lib/libc.so.3: WARNING!  encrypt(3) not present in the system!
>   /usr/lib/libc.so.3: WARNING!  des_cipher(3) not present in the system!
>   /usr/lib/libc.so.3: warning: this program uses f_prealloc(), which is stupid.

������� �� ����������.

��, ��� ��� �������� ������������� ����. ������ - configure �� �������
regcomp � ����������� pcre (����� �������� -L/usr/local/lib) � ������ -
���� ��� ��������� ��������� ����������� ��������� �����-�� ��������
�� ����� ����������.

��������� workaround:

� ����� configure.in ����� ��������:
case "$regexp_val" in
  system)
    AC_CHECK_FUNC(regcomp, , [echo "regcomp not found in system libraries" 2>&1
    AC_DEFINE(REGEX_H, <regex.h>)
    ;;
  pcre)

����� pcre) ������ ����

    CFLAGS="$CFLAGS -I/usr/local/include"
    LIBS="$LIBS /usr/local/lib/libpcreposix.a /usr/local/lib/libpcre.a"
    AC_DEFINE(REGEX_H, <pcreposix.h>)
    ;;

������ ���� ��� ���� ������.

����� ���������� ��������� �� ���������� ��� ��������� configure.in �����
�������

autoconf
./configure --with-regexp=pcre
make

� ����������, �������� ����� � ����������.


Igor Khasilev                     |
PACO Links, igor at paco dot net  |

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://www.paco.net/oops/

Дати відповідь електронним листом