Answer the question
In order to leave comments, you need to log in
Has anyone collected SAMS? How to configure the configuration with the ./configure command?
Has anyone collected SAMS? How to configure the configuration with the ./configure command? I enter a command, cheking starts and after a short analysis it stops and seems to swear at mysql. Could this be due to the fact that I installed mariadb? Or maybe sams 1.0.5 is too old for centos 7?
Answer the question
In order to leave comments, you need to log in
MariaDB is now default under centos, enjoy.
The required library is in the mariadb-libs package, it is written in /usr/lib64/mysql/libmysqlclient(version), from it there is a symlink to /usr/lib64/mysql/libmysqlclient.so. Make sure that the package is installed and the library with the symlink is in place.
MariaDB is a fork of the muscle, architecturally repeats it.
And the rpm-package did not please you? Yes, and the 2nd version is already available:
sams 2 source code
But yes, packages for 5-6 CentOS.
[[email protected] 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
[[email protected] sams -1.0.5]#
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question