In deze error wordt vermeld dat ik in de config.log moet kijken waar ik hieronder een stuk van heb gepost. Er komen enkele errors voorbij zoals je ziet, maar ik kan er niet veel wijs uit.
Code: Select all
configure:24474: gcc -o conftest -O2 -march=pentium4 conftest.c -lresolv -lm -
ldl -lnsl >&5
configure:24477: $? = 0
configure:24479: ./conftest
configure:24482: $? = 0
configure:24505: result: 8
configure:24512: checking for long
configure:24536: gcc -c -O2 -march=pentium4 conftest.c >&5
configure:24542: $? = 0
configure:24546: test -z
|| test ! -s conftest.err
configure:24549: $? = 0
configure:24552: test -s conftest.o
configure:24555: $? = 0
configure:24566: result: yes
configure:24569: checking size of long
configure:24888: gcc -o conftest -O2 -march=pentium4 conftest.c -lresolv -lm -
ldl -lnsl >&5
configure:24891: $? = 0
configure:24893: ./conftest
configure:24896: $? = 0
configure:24919: result: 4
configure:24926: checking for int
configure:24950: gcc -c -O2 -march=pentium4 conftest.c >&5
configure:24956: $? = 0
configure:24960: test -z
|| test ! -s conftest.err
configure:24963: $? = 0
configure:24966: test -s conftest.o
configure:24969: $? = 0
configure:24980: result: yes
configure:24983: checking size of int
configure:25302: gcc -o conftest -O2 -march=pentium4 conftest.c -lresolv -lm -
ldl -lnsl >&5
configure:25305: $? = 0
configure:25307: ./conftest
configure:25310: $? = 0
configure:25333: result: 4
configure:25342: checking for struct stat.st_blksize
configure:25365: gcc -c -O2 -march=pentium4 conftest.c >&5
conftest.c: In function `main':
conftest.c:127: error: storage size of `ac_aggr' isn't known
conftest.c:127: error: storage size of `ac_aggr' isn't known
configure:25371: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_SENDMAIL 1
| #define HAVE_SOCKET 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_YP_GET_DEFAULT_DOMAIN 1
| #define HAVE_LIBNSL 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_RES_SEARCH 1
| #define HAVE_LIBRESOLV 1
| #define HAVE_INET_ATON 1
| #define HAVE_DN_SKIPNAME 1
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MONETARY_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_BROKEN_GLIBC_FOPEN_APPEND 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_SSIZE_T 4
| #define SIZEOF_PTRDIFF_T 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_LONG_LONG_INT 8
| #define SIZEOF_LONG 4
| #define SIZEOF_INT 4
| /* 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 ()
| {
| static struct stat ac_aggr;
| if (ac_aggr.st_blksize)
| return 0;
| ;
| return 0;
| }
configure:25409: gcc -c -O2 -march=pentium4 conftest.c >&5
conftest.c: In function `main':
conftest.c:127: error: storage size of `ac_aggr' isn't known
conftest.c:127: error: storage size of `ac_aggr' isn't known
configure:25415: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_SENDMAIL 1
| #define HAVE_SOCKET 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_YP_GET_DEFAULT_DOMAIN 1
| #define HAVE_LIBNSL 1
| #define HAVE_DLOPEN 1
...skipping...
| #define HAVE_MSSQL 1
| #define HAVE_FREETDS 1
| #define HAVE_MYSQL 1
| #define MYSQL_UNIX_ADDR "/var/run/mysqld/mysqld.sock"
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char mysql_error ();
| int
| main ()
| {
| mysql_error ();
| ;
| return 0;
| }
configure:77371: result: no
configure:77385: error: mysql configure failed. Please check config.log for more
information.in de dir /usr/share/mysql/sql-bench/
Code: Select all
perl test-connectCode: Select all
Got error: 'Access denied for user 'root'@'localhost' (using password: NO)' when connecting to DBI:mysql:database=test;host=localhost with user: '' password: ''
Compilation failed in require at test-connect line 36.Code: Select all
mysql -u root -h localhost -p 
