Ответы пользователя по тегу CentOS
  • Кто нибудь собирал SAMS? Как настроить конфигурацию командой ./configure?

    @Krolya Автор вопроса
    [root@localhost sams-1.0.5]# sh ./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)... yes
    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
    [root@localhost sams-1.0.5]#
    Ответ написан