Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Dutch
  • Search

compileren php5.0.5-r1 / mysql error

Welkom op het Nederlands/Vlaamstalig Forum van Gentoo.
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
DraaK
n00b
n00b
User avatar
Posts: 62
Joined: Mon Feb 21, 2005 12:40 pm

compileren php5.0.5-r1 / mysql error

  • Quote

Post by DraaK » Tue Oct 18, 2005 6:53 am

Ik heb een probleem met het compileren van php.5.5.5-r1

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.
Als ik ga kijken naar de mysql server kom ik het volgende probleem tegen:

in de dir /usr/share/mysql/sql-bench/

Code: Select all

perl test-connect

Code: 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.
Als ik vervolgens probeer in te loggen als root met het volgende commando gaat het gewoon goed en krijg ik de mysql prompt

Code: Select all

 mysql -u root -h localhost -p 
Ik weet niet echt hoe ik nu verder moet. Iemand een idee?
I'm a n00b and I'm proud of it!
Top
Burnout
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Thu Jun 24, 2004 11:08 pm

  • Quote

Post by Burnout » Tue Oct 18, 2005 10:38 am

Bij die test van uw mysql met perl daar, logt ge in als root, maar zonder paswoord, daarom geeft hij die error daar. Kwa compileren snap ik het ook niet goed.
Top
Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Dutch”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic