AltLinux 5.0 Ковчег Сервер

Всем доброго времени суток!
Наслышан был про SAMS и решил сделать NTLM+AD. Поднял сервачок, скачал sams-1.0.5.
Пытаюсь установить, но не ставиться. ./configure пишет следующее:

sams-1.0.5]# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether ln -s works... yes
checking whether make sets $(MAKE)... no
checking for main in -lm... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether closedir returns void... no
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether stat accepts an empty string... no
checking for memmove... yes
checking for memset... yes
checking for pow... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strstr... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for the SAMS startup scripts locations... using the SAMS startup scripts locations from /etc/init.d
checking for WEB server locations... using WEB server locations from /var/www/html
checking for MYSQL headers... using mysql includes from /usr/include/mysql
checking for in /usr/include/mysql... using from /usr/include/mysql
checking for MYSQL library... using mysql libraryes from /usr/lib
checking for libmysqlclient in /usr/lib... configure: error: Cannot find MySQL's libmysqlclient in /usr/lib

Чем можете помочь?

# apt-get install MySQL-client
Reading Package Lists... Done
Building Dependency Tree... Done
MySQL-client is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 1 not upgraded.

# apt-get install libMySQL-devel
Reading Package Lists... Done
Building Dependency Tree... Done
libMySQL-devel is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 1 not upgraded.

и все в таком же духе. Где можно взять все для установки?

Так вроде тут все warningи и сборка успешно продолжается. Я конечно понимаю что warningи это тоже плохо - но у каждой версии GCC свои требования к коду.

теперь ./configure проходит. Затыкается в make:

# make
gcc -DDEFPATH="\".:/usr/local/share\"" -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I/usr/include/mysql -I/usr/include/pcre -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -c demon.c
In file included from demon.c:19:
logtool.c: In function ‘exec_script’:
logtool.c:184: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
logtool.c:190: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
logtool.c: In function ‘SearchDNSBase’:
logtool.c:261: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result
demon.c: In function ‘LoadFile’:
demon.c:455: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -DDEFPATH="\".:/usr/local/share\"" -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I/usr/include/mysql -I/usr/include/pcre -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -c tools.c
tools.c: In function ‘send_mysql_query’:
tools.c:169: warning: assignment discards qualifiers from pointer target type
tools.c:173: warning: format not a string literal and no format arguments
tools.c: In function ‘AddLog’:
tools.c:192: warning: format not a string literal and no format arguments
tools.c: In function ‘url_decode’:
tools.c:229: warning: statement with no effect
tools.c: In function ‘TestPID’:
tools.c:338: warning: implicit declaration of function ‘kill’
tools.c:335: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
tools.c: In function ‘do_connect’:
tools.c:552: warning: assignment makes integer from pointer without a cast
gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o sams demon.o tools.o -I. -L/usr/lib -lmysqlclient -L/usr/lib -lpcre
gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o samsf daemon.o tools.o -I. -L/usr/lib -lmysqlclient -L/usr/lib -lpcre
gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o samsredir redirect.o tools.o -I. -L/usr/lib -lmysqlclient -L/usr/lib -lpcre
gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o samsdaemon samsdaemon.o tools.o -I. -L/usr/lib -lmysqlclient -L/usr/lib -lpcre

libmysqlclient я нашел, а теперь возникает следующее:
checking for in /usr/include/pcre... configure: error: Cannot find PCRE's in /usr/include/pcre

хотя:
# apt-get install pcre
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting libpcre3 for 'pcre'
libpcre3 is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
# apt-get install libpcre3
Reading Package Lists... Done
Building Dependency Tree... Done
libpcre3 is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.

Где тут закавыка? Сам файл pcre.h не могу найти в системе

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".