* Re: [Comm] Попытка установки SAMS
2009-03-16 10:57 ` Костарев Алексей
@ 2009-03-16 11:09 ` Нестерук Юра
0 siblings, 0 replies; 12+ messages in thread
From: Нестерук Юра @ 2009-03-16 11:09 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 1697 bytes --]
Костарев Алексей пишет:
> Нестерук Юра пишет:
>> Шишков Евгений пишет:
>>> Нестерук Юра пишет:
>>>> Здравствуйте!
>>>> При попытке установки выдает такое
>>> <кусь>
>>>> 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 <mysql.h> in /usr/include/mysql... using <mysql.h>
>>>> 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
>>>> как решить эту проблему
>>>> Может кто пользовался
>>>
>>> Это разве установка?
>>> Это у Вас компиляция из исходников.
>>> А в данном случае Вам надо установить пакет libMySQL-devel (ну и
>>> зависимости тоже)
>> Стоит.
> Посмотрите log для configure - там есть объяснение причин
> За деталями можете обратиться к одному их авторов sams - Дмитрию
> Чемерику - chemerik@mail.ru
>> А компиляция не идет дальше
>> Я знаю что кампиляция.
>> Извините что не правильно написал
Вложу сча лог
Я смотрел помаю мало что в нем :-(
>>> _______________________________________________
>>> community mailing list
>>> community@lists.altlinux.org
>>> https://lists.altlinux.org/mailman/listinfo/community
>>
>> _______________________________________________
>> community mailing list
>> community@lists.altlinux.org
>> https://lists.altlinux.org/mailman/listinfo/community
>
>
[-- Attachment #2: config.log --]
[-- Type: text/plain, Size: 30334 bytes --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure~, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure~
## --------- ##
## Platform. ##
## --------- ##
hostname = sysbd
uname -m = x86_64
uname -r = 2.6.25-std-def-alt8.M41.1
uname -s = Linux
uname -v = #1 SMP Thu Sep 11 01:15:29 MSD 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /root/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure~:1346: checking for gcc
configure~:1362: found /usr/bin/gcc
configure~:1372: result: gcc
configure~:1616: checking for C compiler version
configure~:1619: gcc --version </dev/null >&5
x86_64-alt-linux-gcc (GCC) 4.1.2 20070626 (ALT Linux, build 4.1.2-alt2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure~:1622: $? = 0
configure~:1624: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-alt-linux
Configured with: ../configure --host=x86_64-alt-linux --build=x86_64-alt-linux --target=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --program-suffix=-4.1 --with-slibdir=/lib64 --enable-shared --enable-__cxa_atexit --enable-threads=posix --enable-checking=release --with-system-zlib --without-included-gettext --enable-multilib --enable-languages=c,c++,fortran,objc,obj-c++,treelang,java,ada --enable-java-awt=gtk --disable-plugin --with-native-libdir=/usr/lib64/gcj-4.1 --enable-libgcj-multifile
Thread model: posix
gcc version 4.1.2 20070626 (ALT Linux, build 4.1.2-alt2)
configure~:1627: $? = 0
configure~:1629: gcc -V </dev/null >&5
x86_64-alt-linux-gcc: '-V' option must have argument
configure~:1632: $? = 1
configure~:1655: checking for C compiler default output file name
configure~:1658: gcc conftest.c >&5
configure~:1661: $? = 0
configure~:1707: result: a.out
configure~:1712: checking whether the C compiler works
configure~:1718: ./a.out
configure~:1721: $? = 0
configure~:1738: result: yes
configure~:1745: checking whether we are cross compiling
configure~:1747: result: no
configure~:1750: checking for suffix of executables
configure~:1752: gcc -o conftest conftest.c >&5
configure~:1755: $? = 0
configure~:1780: result:
configure~:1786: checking for suffix of object files
configure~:1807: gcc -c conftest.c >&5
configure~:1810: $? = 0
configure~:1832: result: o
configure~:1836: checking whether we are using the GNU C compiler
configure~:1860: gcc -c conftest.c >&5
configure~:1866: $? = 0
configure~:1870: test -z
|| test ! -s conftest.err
configure~:1873: $? = 0
configure~:1876: test -s conftest.o
configure~:1879: $? = 0
configure~:1892: result: yes
configure~:1898: checking whether gcc accepts -g
configure~:1919: gcc -c -g conftest.c >&5
configure~:1925: $? = 0
configure~:1929: test -z
|| test ! -s conftest.err
configure~:1932: $? = 0
configure~:1935: test -s conftest.o
configure~:1938: $? = 0
configure~:1949: result: yes
configure~:1966: checking for gcc option to accept ANSI C
configure~:2036: gcc -c -g -O2 conftest.c >&5
configure~:2042: $? = 0
configure~:2046: test -z
|| test ! -s conftest.err
configure~:2049: $? = 0
configure~:2052: test -s conftest.o
configure~:2055: $? = 0
configure~:2073: result: none needed
configure~:2091: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure~:2097: $? = 1
configure~: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure~:2230: checking whether ln -s works
configure~:2234: result: yes
configure~:2241: checking whether make sets $(MAKE)
configure~:2261: result: yes
configure~:2273: checking for main in -lm
configure~:2297: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:2303: $? = 0
configure~:2307: test -z
|| test ! -s conftest.err
configure~:2310: $? = 0
configure~:2313: test -s conftest
configure~:2316: $? = 0
configure~:2329: result: yes
configure~:2348: checking for dirent.h that defines DIR
configure~:2372: gcc -c -g -O2 conftest.c >&5
configure~:2378: $? = 0
configure~:2382: test -z
|| test ! -s conftest.err
configure~:2385: $? = 0
configure~:2388: test -s conftest.o
configure~:2391: $? = 0
configure~:2402: result: yes
configure~:2415: checking for library containing opendir
configure~:2445: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:2451: $? = 0
configure~:2455: test -z
|| test ! -s conftest.err
configure~:2458: $? = 0
configure~:2461: test -s conftest
configure~:2464: $? = 0
configure~:2534: result: none required
configure~:2675: checking how to run the C preprocessor
configure~:2710: gcc -E conftest.c
configure~:2716: $? = 0
configure~:2748: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure~:2754: $? = 1
configure~: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBM 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure~:2793: result: gcc -E
configure~:2817: gcc -E conftest.c
configure~:2823: $? = 0
configure~:2855: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure~:2861: $? = 1
configure~: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBM 1
| #define HAVE_DIRENT_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure~:2905: checking for egrep
configure~:2915: result: grep -E
configure~:2920: checking for ANSI C header files
configure~:2945: gcc -c -g -O2 conftest.c >&5
configure~:2951: $? = 0
configure~:2955: test -z
|| test ! -s conftest.err
configure~:2958: $? = 0
configure~:2961: test -s conftest.o
configure~:2964: $? = 0
configure~:3054: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:3057: $? = 0
configure~:3059: ./conftest
configure~:3062: $? = 0
configure~:3077: result: yes
configure~:3087: checking for sys/wait.h that is POSIX.1 compatible
configure~:3118: gcc -c -g -O2 conftest.c >&5
configure~:3124: $? = 0
configure~:3128: test -z
|| test ! -s conftest.err
configure~:3131: $? = 0
configure~:3134: test -s conftest.o
configure~:3137: $? = 0
configure~:3148: result: yes
configure~:3172: checking for sys/types.h
configure~:3188: gcc -c -g -O2 conftest.c >&5
configure~:3194: $? = 0
configure~:3198: test -z
|| test ! -s conftest.err
configure~:3201: $? = 0
configure~:3204: test -s conftest.o
configure~:3207: $? = 0
configure~:3218: result: yes
configure~:3172: checking for sys/stat.h
configure~:3188: gcc -c -g -O2 conftest.c >&5
configure~:3194: $? = 0
configure~:3198: test -z
|| test ! -s conftest.err
configure~:3201: $? = 0
configure~:3204: test -s conftest.o
configure~:3207: $? = 0
configure~:3218: result: yes
configure~:3172: checking for stdlib.h
configure~:3188: gcc -c -g -O2 conftest.c >&5
configure~:3194: $? = 0
configure~:3198: test -z
|| test ! -s conftest.err
configure~:3201: $? = 0
configure~:3204: test -s conftest.o
configure~:3207: $? = 0
configure~:3218: result: yes
configure~:3172: checking for string.h
configure~:3188: gcc -c -g -O2 conftest.c >&5
configure~:3194: $? = 0
configure~:3198: test -z
|| test ! -s conftest.err
configure~:3201: $? = 0
configure~:3204: test -s conftest.o
configure~:3207: $? = 0
configure~:3218: result: yes
configure~:3172: checking for memory.h
configure~:3188: gcc -c -g -O2 conftest.c >&5
configure~:3194: $? = 0
configure~:3198: test -z
|| test ! -s conftest.err
configure~:3201: $? = 0
configure~:3204: test -s conftest.o
configure~:3207: $? = 0
configure~:3218: result: yes
configure~:3172: checking for strings.h
configure~:3188: gcc -c -g -O2 conftest.c >&5
configure~:3194: $? = 0
configure~:3198: test -z
|| test ! -s conftest.err
configure~:3201: $? = 0
configure~:3204: test -s conftest.o
configure~:3207: $? = 0
configure~:3218: result: yes
configure~:3172: checking for inttypes.h
configure~:3188: gcc -c -g -O2 conftest.c >&5
configure~:3194: $? = 0
configure~:3198: test -z
|| test ! -s conftest.err
configure~:3201: $? = 0
configure~:3204: test -s conftest.o
configure~:3207: $? = 0
configure~:3218: result: yes
configure~:3172: checking for stdint.h
configure~:3188: gcc -c -g -O2 conftest.c >&5
configure~:3194: $? = 0
configure~:3198: test -z
|| test ! -s conftest.err
configure~:3201: $? = 0
configure~:3204: test -s conftest.o
configure~:3207: $? = 0
configure~:3218: result: yes
configure~:3172: checking for unistd.h
configure~:3188: gcc -c -g -O2 conftest.c >&5
configure~:3194: $? = 0
configure~:3198: test -z
|| test ! -s conftest.err
configure~:3201: $? = 0
configure~:3204: test -s conftest.o
configure~:3207: $? = 0
configure~:3218: result: yes
configure~:3251: checking fcntl.h usability
configure~:3263: gcc -c -g -O2 conftest.c >&5
configure~:3269: $? = 0
configure~:3273: test -z
|| test ! -s conftest.err
configure~:3276: $? = 0
configure~:3279: test -s conftest.o
configure~:3282: $? = 0
configure~:3292: result: yes
configure~:3296: checking fcntl.h presence
configure~:3306: gcc -E conftest.c
configure~:3312: $? = 0
configure~:3332: result: yes
configure~:3367: checking for fcntl.h
configure~:3374: result: yes
configure~:3251: checking netdb.h usability
configure~:3263: gcc -c -g -O2 conftest.c >&5
configure~:3269: $? = 0
configure~:3273: test -z
|| test ! -s conftest.err
configure~:3276: $? = 0
configure~:3279: test -s conftest.o
configure~:3282: $? = 0
configure~:3292: result: yes
configure~:3296: checking netdb.h presence
configure~:3306: gcc -E conftest.c
configure~:3312: $? = 0
configure~:3332: result: yes
configure~:3367: checking for netdb.h
configure~:3374: result: yes
configure~:3242: checking for stdlib.h
configure~:3247: result: yes
configure~:3242: checking for string.h
configure~:3247: result: yes
configure~:3251: checking sys/time.h usability
configure~:3263: gcc -c -g -O2 conftest.c >&5
configure~:3269: $? = 0
configure~:3273: test -z
|| test ! -s conftest.err
configure~:3276: $? = 0
configure~:3279: test -s conftest.o
configure~:3282: $? = 0
configure~:3292: result: yes
configure~:3296: checking sys/time.h presence
configure~:3306: gcc -E conftest.c
configure~:3312: $? = 0
configure~:3332: result: yes
configure~:3367: checking for sys/time.h
configure~:3374: result: yes
configure~:3251: checking pcre/pcre.h usability
configure~:3263: gcc -c -g -O2 conftest.c >&5
configure~:3269: $? = 0
configure~:3273: test -z
|| test ! -s conftest.err
configure~:3276: $? = 0
configure~:3279: test -s conftest.o
configure~:3282: $? = 0
configure~:3292: result: yes
configure~:3296: checking pcre/pcre.h presence
configure~:3306: gcc -E conftest.c
configure~:3312: $? = 0
configure~:3332: result: yes
configure~:3367: checking for pcre/pcre.h
configure~:3374: result: yes
configure~:3251: checking syslog.h usability
configure~:3263: gcc -c -g -O2 conftest.c >&5
configure~:3269: $? = 0
configure~:3273: test -z
|| test ! -s conftest.err
configure~:3276: $? = 0
configure~:3279: test -s conftest.o
configure~:3282: $? = 0
configure~:3292: result: yes
configure~:3296: checking syslog.h presence
configure~:3306: gcc -E conftest.c
configure~:3312: $? = 0
configure~:3332: result: yes
configure~:3367: checking for syslog.h
configure~:3374: result: yes
configure~:3242: checking for unistd.h
configure~:3247: result: yes
configure~:3388: checking for uid_t in sys/types.h
configure~:3411: result: yes
configure~:3431: checking for unistd.h
configure~:3436: result: yes
configure~:3576: checking for working chown
configure~:3615: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:3618: $? = 0
configure~:3620: ./conftest
configure~:3623: $? = 0
configure~:3639: result: yes
configure~:3649: checking whether closedir returns void
configure~:3678: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:3681: $? = 0
configure~:3683: ./conftest
configure~:3686: $? = 0
configure~:3700: result: no
configure~:3710: checking for pid_t
configure~:3734: gcc -c -g -O2 conftest.c >&5
configure~:3740: $? = 0
configure~:3744: test -z
|| test ! -s conftest.err
configure~:3747: $? = 0
configure~:3750: test -s conftest.o
configure~:3753: $? = 0
configure~:3764: result: yes
configure~:3782: checking for unistd.h
configure~:3787: result: yes
configure~:3791: checking vfork.h usability
configure~:3803: gcc -c -g -O2 conftest.c >&5
conftest.c:67:19: error: vfork.h: No such file or directory
configure~:3809: $? = 1
configure~: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBM 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_PCRE_PCRE_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CHOWN 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <vfork.h>
configure~:3832: result: no
configure~:3836: checking vfork.h presence
configure~:3846: gcc -E conftest.c
conftest.c:33:19: error: vfork.h: No such file or directory
configure~:3852: $? = 1
configure~: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBM 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_PCRE_PCRE_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CHOWN 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <vfork.h>
configure~:3872: result: no
configure~:3907: checking for vfork.h
configure~:3914: result: no
configure~:3932: checking for fork
configure~:3989: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:57: warning: conflicting types for built-in function 'fork'
configure~:3995: $? = 0
configure~:3999: test -z
|| test ! -s conftest.err
configure~:4002: $? = 0
configure~:4005: test -s conftest
configure~:4008: $? = 0
configure~:4075: result: yes
configure~:3932: checking for vfork
configure~:3989: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:3995: $? = 0
configure~:3999: test -z
|| test ! -s conftest.err
configure~:4002: $? = 0
configure~:4005: test -s conftest
configure~:4008: $? = 0
configure~:4075: result: yes
configure~:4086: checking for working fork
configure~:4109: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c: In function 'main':
conftest.c:10: warning: incompatible implicit declaration of built-in function 'exit'
configure~:4112: $? = 0
configure~:4114: ./conftest
configure~:4117: $? = 0
configure~:4131: result: yes
configure~:4152: checking for working vfork
configure~:4285: result: yes
configure~:4316: checking whether lstat dereferences a symlink specified with a trailing slash
configure~:4347: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:4350: $? = 0
configure~:4352: ./conftest
configure~:4355: $? = 0
configure~:4376: result: yes
configure~:4397: checking whether lstat accepts an empty string
configure~:4422: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:4425: $? = 0
configure~:4427: ./conftest
configure~:4430: $? = 1
configure~: program exited with status 1
configure~: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBM 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_PCRE_PCRE_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CHOWN 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| struct stat sbuf;
| exit (lstat ("", &sbuf) ? 1 : 0);
| ;
| return 0;
| }
configure~:4444: result: no
configure~:4462: checking whether lstat dereferences a symlink specified with a trailing slash
configure~:4522: result: yes
configure~:4548: checking for stdlib.h
configure~:4553: result: yes
configure~:4693: checking for GNU libc compatible malloc
configure~:4722: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:4725: $? = 0
configure~:4727: ./conftest
configure~:4730: $? = 0
configure~:4744: result: yes
configure~:4779: checking for stdlib.h
configure~:4784: result: yes
configure~:4924: checking for GNU libc compatible realloc
configure~:4953: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:4956: $? = 0
configure~:4958: ./conftest
configure~:4961: $? = 0
configure~:4975: result: yes
configure~:5005: checking whether stat accepts an empty string
configure~:5030: gcc -o conftest -g -O2 conftest.c -lm >&5
configure~:5033: $? = 0
configure~:5035: ./conftest
configure~:5038: $? = 1
configure~: program exited with status 1
configure~: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBM 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_PCRE_PCRE_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CHOWN 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| struct stat sbuf;
| exit (stat ("", &sbuf) ? 1 : 0);
| ;
| return 0;
| }
configure~:5052: result: no
configure~:5081: checking for memmove
configure~:5138: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:67: warning: conflicting types for built-in function 'memmove'
configure~:5144: $? = 0
configure~:5148: test -z
|| test ! -s conftest.err
configure~:5151: $? = 0
configure~:5154: test -s conftest
configure~:5157: $? = 0
configure~:5224: result: yes
configure~:5081: checking for memset
configure~:5138: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:68: warning: conflicting types for built-in function 'memset'
configure~:5144: $? = 0
configure~:5148: test -z
|| test ! -s conftest.err
configure~:5151: $? = 0
configure~:5154: test -s conftest
configure~:5157: $? = 0
configure~:5224: result: yes
configure~:5081: checking for pow
configure~:5138: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:69: warning: conflicting types for built-in function 'pow'
configure~:5144: $? = 0
configure~:5148: test -z
|| test ! -s conftest.err
configure~:5151: $? = 0
configure~:5154: test -s conftest
configure~:5157: $? = 0
configure~:5224: result: yes
configure~:5081: checking for strcasecmp
configure~:5138: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:70: warning: conflicting types for built-in function 'strcasecmp'
configure~:5144: $? = 0
configure~:5148: test -z
|| test ! -s conftest.err
configure~:5151: $? = 0
configure~:5154: test -s conftest
configure~:5157: $? = 0
configure~:5224: result: yes
configure~:5081: checking for strchr
configure~:5138: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:71: warning: conflicting types for built-in function 'strchr'
configure~:5144: $? = 0
configure~:5148: test -z
|| test ! -s conftest.err
configure~:5151: $? = 0
configure~:5154: test -s conftest
configure~:5157: $? = 0
configure~:5224: result: yes
configure~:5081: checking for strdup
configure~:5138: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:72: warning: conflicting types for built-in function 'strdup'
configure~:5144: $? = 0
configure~:5148: test -z
|| test ! -s conftest.err
configure~:5151: $? = 0
configure~:5154: test -s conftest
configure~:5157: $? = 0
configure~:5224: result: yes
configure~:5081: checking for strstr
configure~:5138: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:73: warning: conflicting types for built-in function 'strstr'
configure~:5144: $? = 0
configure~:5148: test -z
|| test ! -s conftest.err
configure~:5151: $? = 0
configure~:5154: test -s conftest
configure~:5157: $? = 0
configure~:5224: result: yes
configure~:5238: checking for an ANSI C-conforming const
configure~:5309: gcc -c -g -O2 conftest.c >&5
configure~:5315: $? = 0
configure~:5319: test -z
|| test ! -s conftest.err
configure~:5322: $? = 0
configure~:5325: test -s conftest.o
configure~:5328: $? = 0
configure~:5339: result: yes
configure~:5349: checking for pid_t
configure~:5403: result: yes
configure~:5415: checking whether struct tm is in sys/time.h or time.h
configure~:5438: gcc -c -g -O2 conftest.c >&5
configure~:5444: $? = 0
configure~:5448: test -z
|| test ! -s conftest.err
configure~:5451: $? = 0
configure~:5454: test -s conftest.o
configure~:5457: $? = 0
configure~:5468: result: time.h
configure~:5500: checking for the SAMS startup scripts locations
configure~:5519: result: using the SAMS startup scripts locations from /etc/init.d
configure~:5535: checking for WEB server locations
configure~:5554: result: using WEB server locations from /var/www/html
configure~:5571: checking for MYSQL headers
configure~:5591: result: using mysql includes from /usr/include/mysql
configure~:5606: checking for <mysql.h> in /usr/include/mysql
configure~:5609: result: using <mysql.h> from /usr/include/mysql
configure~:5621: checking for MYSQL library
configure~:5641: result: using mysql libraryes from /usr/lib
configure~:5655: checking for libmysqlclient in /usr/lib
configure~:5661: error: Cannot find MySQL's libmysqlclient in /usr/lib
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_chown_works=yes
ac_cv_func_closedir_void=no
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_lstat_dereferences_slashed_symlink=yes
ac_cv_func_lstat_empty_string_bug=no
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memmove=yes
ac_cv_func_memset=yes
ac_cv_func_pow=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_strcasecmp=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strstr=yes
ac_cv_func_vfork=yes
ac_cv_func_vfork_works=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_pcre_pcre_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vfork_h=no
ac_cv_lib_m_main=yes
ac_cv_objext=o
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_search_opendir='none required'
ac_cv_struct_tm=time.h
ac_cv_type_pid_t=yes
ac_cv_type_uid_t=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='gcc'
CFLAGS='-g -O2'
CONFIG_FILE='/etc/sams.conf'
CPP='gcc -E'
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
HTTPDPATH='/var/www/html'
LDFLAGS=''
LIBOBJS=''
LIBS='-lm '
LN_S='ln -s'
LTLIBOBJS=''
MYSQLHEADERS='-I/usr/include/mysql'
MYSQLLIBS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCREHEADERS=''
PCRELIBS=''
RCDPATH='/etc/init.d'
SET_MAKE=''
SHELL='/bin/sh'
SUNLIB=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc/sams.conf'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define CONFIG_FILE "/etc/sams.conf"
#define HAVE_CHOWN 1
#define HAVE_DIRENT_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FORK 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBM 1
#define HAVE_MALLOC 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_NETDB_H 1
#define HAVE_PCRE_PCRE_H 1
#define HAVE_POW 1
#define HAVE_REALLOC 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCASECMP 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRING_H 1
#define HAVE_STRSTR 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_WORKING_VFORK 1
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
configure~: exit 1
^ permalink raw reply [flat|nested] 12+ messages in thread