|
|||||||||||
|
[RFC] almost finished cross-compiling mysql-5.0.45
From: Stipe Tolj <st(at)tolj.org>
Date: Thu Sep 13 2007 - 23:50:07 EDT
I know about the lacks of mysql's configure.in AC_TRY_RUN() and AC_CHECK_SIZE() macros preventing easy cross compiling of the source package. But I had a try on the source tarball of mysql-5.0.45: I made some changes to the configure.in and config/*.m4 macros to fit the needs to have the configure run cleanly to end. I will post a 'diff -u' patch for the corresponding files as soon as I can get the following error solved and can confirm that the build process is stable for various architectures and platforms. At compile time all goes well, until this code segment:
...
mf_keycaches.c: In function 'safe_hash_init': mf_keycaches.c:111: error: 'SAFE_HASH' has no member named 'hash' mf_keycaches.c:115: error: 'SAFE_HASH' has no member named 'default_value' mf_keycaches.c:118: error: 'SAFE_HASH' has no member named 'mutex' mf_keycaches.c:119: error: 'SAFE_HASH' has no member named 'default_value' mf_keycaches.c:120: error: 'SAFE_HASH' has no member named 'root'... I have attached logs of the configure and make runs.
BTW, the cross compile details are:
Using a working toolchain 'gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu' build via crosstool-0.43. I'd suppose I'm quite familiar with C and all gcc matters, and of course I did google for this kind of gcc error, but I can't have it resolved. From my perspective something with syntax goes nuts here, but it's not due to the #ifdef THREAD macro segment used at the location, since the toolchain supports of course pthreads. Any ideas??? Any help appritiated. Stipe Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org -------------------------------------------------------------------
make all-recursive
make[3]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/include' make[2]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/include'Making all in Docs make[2]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/Docs' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/Docs'Making all in zlib make[2]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/zlib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/zlib'Making all in cmd-line-utils make[2]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/cmd-line-utils' Making all in libedit make[3]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/cmd-line-utils/libedit' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/cmd-line-utils/libedit' make[3]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/cmd-line-utils' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/cmd-line-utils' make[2]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/cmd-line-utils'Making all in sql-common make[2]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/sql-common' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/sql-common'Making all in scripts make[2]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/scripts' make all-am make[3]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/scripts' /bin/rm -f mysqlbug mysqlbug-t /bin/sed \ -e 's!@''bindir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/bin!g' \ -e 's!@''sbindir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/sbin!g' \ -e 's!@''scriptdir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/bin!g' \ -e 's!@''prefix''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr!g' \ -e 's!@''datadir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/share!g' \ -e 's!@''localstatedir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/var!g' \ -e 's!@''libexecdir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/libexec!g' \ -e 's!@''pkglibdir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/lib/mysql!g' \ -e 's!@''pkgincludedir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/include/mysql!g' \ -e 's!@''pkgdatadir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/share/mysql!g' \ -e 's!@''sysconfdir''@!/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/etc!g' \ -e 's!@''CC''@!x86_64-unknown-linux-gnu-gcc!'\ -e 's!@''CXX''@!g++!'\ -e 's!@''GXX''@!!'\ -e 's!@''CC_VERSION''@!x86_64-unknown-linux-gnu-gcc (GCC) 4.1.0!'\ -e 's!@''CXX_VERSION''@!./configure: line 5226: g++: command not found!'\ -e 's!@''PERL''@!/usr/bin/perl!' \ -e 's!@''ASFLAGS''@!!'\ -e 's!@''CFLAGS''@!!'\ -e 's!@''CXXFLAGS''@!!'\ -e 's!@''LDFLAGS''@!!'\ -e 's!@''CLIENT_LIBS''@!-lcrypt -lnsl -lm ../zlib/libzlt.la !' \ -e 's!@''ZLIB_LIBS''@!../zlib/libzlt.la!' \ -e 's!@''LIBS''@!-lcrypt -lnsl -lm -lpthread !' \ -e 's!@''WRAPLIBS''@!!' \ -e 's!@''innodb_system_libs''@!-lrt!' \ -e 's!@''openssl_libs''@!!' \ -e 's!@''VERSION''@!5.0.45!' \ -e 's!@''MYSQL_BASE_VERSION''@!5.0!' \ -e 's!@''MYSQL_SERVER_SUFFIX''@!!' \ -e 's!@''COMPILATION_COMMENT''@!Source distribution!' \ -e 's!@''MACHINE_TYPE''@!x86_64!' \ -e 's!@''HOSTNAME''@!/bin/hostname!' \ -e 's!@''SYSTEM_TYPE''@!pc-none!' \ -e 's!@''CHECK_PID''@!/bin/kill -0 $PID > /dev/null 2> /dev/null!' \ -e 's!@''FIND_PROC''@!/bin/ps p $PID | grep -v grep | grep $MYSQLD > /dev/null!' \ -e 's!@''MYSQLD_DEFAULT_SWITCHES''@!!' \ -e 's!@''MYSQL_UNIX_ADDR''@!/tmp/mysql.sock!' \ -e 's!@''MYSQL_TCP_PORT''@!3306!' \ -e 's!@''TARGET_LINUX''@!false!' \ -e "s!@""CONF_COMMAND""@!./configure '--host=x86_64' '--prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr' '--enable-thread-safe-client' '--without-server' 'CC=x86_64-unknown-linux-gnu-gcc' 'host_alias=x86_64'!" \ -e 's!@''MYSQLD_USER''@!mysql!' \ -e 's!@''STATIC_NSS_FLAGS''@!!' \ -e 's!@''NON_THREADED_LIBS''@!-lcrypt -lnsl -lm !' \ -e 's!@''ZLIB_DEPS''@!-lz!' \ -e "s!@MAKE@!make!" \ mysqlbug.sh > mysqlbug-t /bin/chmod +x mysqlbug-t /bin/mv mysqlbug-t mysqlbug make[3]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/scripts' make[2]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/scripts' Making all in pstack make[2]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/pstack' Making all in aout make[3]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/pstack/aout' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/pstack/aout' make[3]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/pstack' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/pstack' make[2]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/pstack'Making all in strings make[2]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/strings' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/strings'Making all in mysys make[2]: Entering directory `/home/tolj/src/x86_64/mysql-5.0.45/mysys' if x86_64-unknown-linux-gnu-gcc -DDEFAULT_BASEDIR=\"/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr\" -DDATADIR="\"/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/var\"" -DDEFAULT_CHARSET_HOME="\"/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr\"" -DSHAREDIR="\"/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/etc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../zlib -I../include -I../include -I. -O3 -DDBUG_OFF -MT mf_keycaches.o -MD -MP -MF ".deps/mf_keycaches.Tpo" -c -o mf_keycaches.o mf_keycaches.c; \ then mv -f ".deps/mf_keycaches.Tpo" ".deps/mf_keycaches.Po"; else rm -f ".deps/mf_keycaches.Tpo"; exit 1; fi mf_keycaches.c:57: error: expected specifier-qualifier-list before 'pthread_rwlock_t' mf_keycaches.c: In function 'safe_hash_init': mf_keycaches.c:111: error: 'SAFE_HASH' has no member named 'hash' mf_keycaches.c:115: error: 'SAFE_HASH' has no member named 'default_value' mf_keycaches.c:118: error: 'SAFE_HASH' has no member named 'mutex' mf_keycaches.c:119: error: 'SAFE_HASH' has no member named 'default_value' mf_keycaches.c:120: error: 'SAFE_HASH' has no member named 'root' mf_keycaches.c: In function 'safe_hash_free': mf_keycaches.c:138: error: 'SAFE_HASH' has no member named 'default_value' mf_keycaches.c:140: error: 'SAFE_HASH' has no member named 'hash' mf_keycaches.c:141: error: 'SAFE_HASH' has no member named 'mutex' mf_keycaches.c:142: error: 'SAFE_HASH' has no member named 'default_value' mf_keycaches.c: In function 'safe_hash_search': mf_keycaches.c:154: error: 'SAFE_HASH' has no member named 'mutex' mf_keycaches.c:155: error: 'SAFE_HASH' has no member named 'hash' mf_keycaches.c:156: error: 'SAFE_HASH' has no member named 'mutex' mf_keycaches.c:158: error: 'SAFE_HASH' has no member named 'default_value' mf_keycaches.c: In function 'safe_hash_set': mf_keycaches.c:194: error: 'SAFE_HASH' has no member named 'mutex' mf_keycaches.c:195: error: 'SAFE_HASH' has no member named 'hash' mf_keycaches.c:197: error: 'SAFE_HASH' has no member named 'default_value' mf_keycaches.c:209: error: 'SAFE_HASH' has no member named 'hash' mf_keycaches.c:230: error: 'SAFE_HASH' has no member named 'root' mf_keycaches.c:232: error: 'SAFE_HASH' has no member named 'root' mf_keycaches.c:233: error: 'SAFE_HASH' has no member named 'root' mf_keycaches.c:234: error: 'SAFE_HASH' has no member named 'hash' mf_keycaches.c:244: error: 'SAFE_HASH' has no member named 'mutex' mf_keycaches.c: In function 'safe_hash_change': mf_keycaches.c:269: error: 'SAFE_HASH' has no member named 'mutex' mf_keycaches.c:271: error: 'SAFE_HASH' has no member named 'root' mf_keycaches.c:276: error: 'SAFE_HASH' has no member named 'default_value' mf_keycaches.c:280: error: 'SAFE_HASH' has no member named 'hash' mf_keycaches.c:287: error: 'SAFE_HASH' has no member named 'mutex' mf_keycaches.c: In function 'multi_key_cache_search': mf_keycaches.c:330: error: 'SAFE_HASH' has no member named 'hash' make[2]: *** [mf_keycaches.o] Error 1 make[2]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45/mysys'make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tolj/src/x86_64/mysql-5.0.45' make: *** [all] Error 2 configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: loading site script /opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/etc/config.site checking build system type... i686-pc-linux-gnu checking host system type... x86_64-pc-none checking target system type... x86_64-pc-nonechecking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-strip... no checking for strip... strip checking "character sets"... default: latin1, collation: latin1_swedish_ci; compiled in: latin1 latin1 utf8 checking whether to compile national Unicode collations... yes checking whether build environment is sane... yes checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) gawk checking for x86_64-gcc... x86_64-unknown-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-unknown-linux-gnu-gcc accepts -g... yes checking for x86_64-unknown-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-unknown-linux-gnu-gcc... gcc3 checking for x86_64-g++... no checking for x86_64-c++... no checking for x86_64-gpp... no checking for x86_64-aCC... no checking for x86_64-CC... no checking for x86_64-cxx... no checking for x86_64-cc++... no checking for x86_64-cl... no checking for x86_64-FCC... no checking for x86_64-KCC... no checking for x86_64-RCC... no checking for x86_64-xlC_r... no checking for x86_64-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking how to run the C preprocessor... x86_64-unknown-linux-gnu-gcc -E checking "C Compiler version"... "x86_64-unknown-linux-gnu-gcc x86_64-unknown-linux-gnu-gcc (GCC) 4.1.0" ./configure: line 5223: g++: command not found checking "C++ compiler version"... "g++ ./configure: line 5226: g++: command not found" checking for x86_64-ranlib... no checking for ranlib... ranlib checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-unknown-linux-gnu-gcc... /opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld checking if the linker (/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld) is GNU ld... yes checking for /opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... unknown checking for ANSI C header files... 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-g77... no checking for x86_64-f77... no checking for x86_64-xlf... no checking for x86_64-frt... no checking for x86_64-pgf77... no checking for x86_64-fort77... no checking for x86_64-fl32... no checking for x86_64-af77... no checking for x86_64-f90... no checking for x86_64-xlf90... no checking for x86_64-pgf90... no checking for x86_64-epcf90... no checking for x86_64-f95... no checking for x86_64-fort... no checking for x86_64-xlf95... no checking for x86_64-ifc... no checking for x86_64-efc... no checking for x86_64-pgf95... no checking for x86_64-lf95... no checking for x86_64-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from x86_64-unknown-linux-gnu-gcc object... failed checking for objdir... .libs checking for x86_64-ar... no checking for ar... ar checking for x86_64-ranlib... ranlib checking for x86_64-strip... strip checking if x86_64-unknown-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-unknown-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-unknown-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-unknown-linux-gnu-gcc static flag -static works... yes checking if x86_64-unknown-linux-gnu-gcc supports -c -o file.o... yeschecking whether the x86_64-unknown-linux-gnu-gcc linker (/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for a BSD-compatible install... /usr/bin/install -c checking for bison... bison -y -p MYSQL checking for pdftex... no checking for tex... no checking "return type of sprintf"... "int" checking for uname... /bin/uname checking operating system... Linux checking if we should use 'skip-external-locking' as default for none... no checking for ln... /bin/ln checking for ln... /bin/ln checking for mv... /bin/mv checking for rm... /bin/rm checking for cp... /bin/cp checking for sed... /bin/sed checking for cmp... /usr/bin/cmp checking for chmod... /bin/chmod checking for hostname... /bin/hostname checking for gnutar... no checking for gtar... gtar checking for perl... /usr/bin/perl checking for doxygen... no checking for pdflatex... no checking for makeindex... no checking for icheck... no checking for ps... /bin/ps checking "how to check if pid exists"... "/bin/ps p $$PID | grep -v grep | grep $$MYSQLD > /dev/null" checking for kill... /bin/kill checking "for kill switches"... "/bin/kill -0 $$PID > /dev/null 2> /dev/null" checking for x86_64-unknown-linux-gnu-gcc option to accept ANSI C... checking whether --noexecstack is desirable for .S files... yes checking if we should use assembler functions... no yes checking If we should should enable LOAD DATA LOCAL by default... no checking If we should should enable init-file... yes checking for x86_64-getconf... no checking for getconf... getconf checking for CFLAGS value to request large file support... -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for LDFLAGS value to request large file support... checking for LIBS value to request large file support... checking for _FILE_OFFSET_BITS... 64 checking for _LARGEFILE_SOURCE... 1 checking for _LARGE_FILES... no checking for size_t... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking floatingpoint.h usability... no checking floatingpoint.h presence... no checking for floatingpoint.h... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking select.h usability... no checking select.h presence... no checking for select.h... no checking for stdlib.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking synch.h usability... no checking synch.h presence... no checking for synch.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/vadvise.h usability... no checking sys/vadvise.h presence... no checking for sys/vadvise.h... no checking for sys/wait.h... (cached) yes checking term.h usability... no checking term.h presence... no checking for term.h... no checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/malloc.h usability... no checking sys/malloc.h presence... no checking for sys/malloc.h... no checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking linux/config.h usability... no checking linux/config.h presence... no checking for linux/config.h... no checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for floor in -lm... yes checking for gethostbyname_r in -lnsl_r... no checking for gethostbyname_r in -lnsl... yes checking for gethostbyname_r... yes checking for setsockopt... yes checking for yp_get_default_domain... yes checking for p2open... no checking for p2open in -lgen... no checking for bind... yes checking for library containing crypt... -lcrypt checking for library containing inet_aton... none required checking for sched_yield... yes checking for zlib compression library... system-wide zlib not found, using one bundled with MySQL checking if we should use pstack... checking for int8... no checking "Linux threads"... "no" checking "SCO threads"... "no" checking SCO OpenServer 6, UnixWare 7 or OpenUNIX 8 native threads... no checking "Siemens threads"... "no" checking "Solaris threads"... "no" checking "named thread libs:"... "no" checking "for pthread_create in -libc"... "no" checking "for pthread_create in -lpthread"... "yes"checking for strtok_r in -lpthread... yes checking for strtok_r... yes checking for dlopen in -ldl... yes checking for dlopen... yes checking for dlerror... yes checking "need of special linking flags"... "none" checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking needs mysys_new helpers... yes checking for char... yes checking size of char... (cached) 1 checking for char*... yes checking size of char*... 8 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... (cached) 4 checking for long... yes checking size of long... (cached) 8 checking for long long... yes checking size of long long... (cached) 8 checking size of off_t... (cached) 4 checking if time_t is unsigned... no checking the need for #pragma interface/implementation... no checking whether byte ordering is bigendian... no checking base type of last arg to accept... int checking struct type to use with setrlimit... struct rlimit checking stack direction for C alloca... -1 checking for working alloca.h... (cached) yes checking for alloca... yes checking if struct timespec has a ts_sec member... no checking if we have tzname variable... yes checking for type ulong... no checking for type uchar... no checking for type uint... no checking for type fp_except... no checking for type in_addr_t... no checking if g++ supports bool types... no checking if conversion of longlong to float works... (cached) yes checking for sigset_t... yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for u_int32_t... yes checking if pthread_yield takes zero arguments... yes checking if pthread_yield takes 1 argument... no checking for malloc.h... (cached) yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking for working alloca.h... yes checking for alloca... (cached) yes checking whether x86_64-unknown-linux-gnu-gcc needs -traditional... no checking return type of signal handlers... void checking for re_comp... yes checking for regcomp... yes checking for strdup... yes checking vis.h usability... no checking vis.h presence... no checking for vis.h... no checking for strlcat... no checking for strlcpy... no checking for issetugid... no checking for fgetln... no checking for getline... yes checking for flockfile... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking sys/ptem.h usability... no checking sys/ptem.h presence... no checking for sys/ptem.h... no checking sys/pte.h usability... no checking sys/pte.h presence... no checking for sys/pte.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking for sys/mman.h... (cached) yes checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking termcap.h usability... no checking termcap.h presence... no checking for termcap.h... no checking for termio.h... (cached) yes checking termbits.h usability... no checking termbits.h presence... no checking for termbits.h... no checking asm/termbits.h usability... yes checking asm/termbits.h presence... yes checking for asm/termbits.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking for lstat... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for setlocale... yes checking for strcoll... yes checking for tcgetattr... yes checking whether stat file-mode macros are broken... no checking for type of signal functions... posix checking whether programs are able to redeclare getpw functions... yes checking for TIOCGWINSZ in sys/ioctl.h... yes checking for FIONREAD in sys/ioctl.h... yes checking for TIOCSTAT in sys/ioctl.h... nochecking if struct dirent has a d_ino member... yes checking if struct dirent has a d_namlen member... no checking whether signal handlers are of type void... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for mbsrtowcs... yes checking for mbrtowc... yes checking for mbrlen... yes checking for wctomb... yes checking for wcwidth... yes checking for wcsdup... yes checking for mbstate_t... yes checking for nl_langinfo and CODESET... yes checking for tgetent in -lncurses... yes checking for termcap functions library... -lncurses checking whether tgoto is declared... no checking for strunvis... no checking for strvis... no checking for strlcpy... (cached) no checking for strlcat... (cached) no checking for fgetln... (cached) no checking return type of signal handlers... (cached) void checking return type of qsort... void checking whether utime accepts a null argument... no checking for vprintf... yes checking for _doprnt... no checking for alarm... yes checking for bcmp... yes checking for bfill... no checking for bmove... no checking for bzero... yes checking for chsize... no checking for cuserid... yes checking for fchmod... yes checking for fcntl... yes checking for fconvert... no checking for fdatasync... yes checking for finite... yes checking for fpresetsticky... no checking for fpsetmask... no checking for fsync... yes checking for ftruncate... yes checking for getcwd... yes checking for gethostbyaddr_r... yes checking for gethostbyname_r... (cached) yes checking for getpass... yes checking for getpassphrase... no checking for getpwnam... yes checking for getpwuid... yes checking for getrlimit... yes checking for getrusage... yes checking for getwd... yes checking for gmtime_r... yes checking for index... yes checking for initgroups... yes checking for isnan... yes checking for localtime_r... yes checking for locking... no checking for longjmp... yes checking for lrand48... yes checking for madvise... yes checking for mallinfo... yes checking for memcpy... yes checking for memmove... yes checking for mkstemp... yes checking for mlockall... yes checking for perror... yes checking for poll... yes checking for pread... yes checking for pthread_attr_create... no checking for mmap... yes checking for getpagesize... yes checking for pthread_attr_getstacksize... yes checking for pthread_attr_setprio... no checking for pthread_attr_setschedparam... yes checking for pthread_attr_setstacksize... yes checking for pthread_condattr_create... no checking for pthread_getsequence_np... no checking for pthread_key_delete... yes checking for pthread_rwlock_rdlock... yes checking for pthread_setprio... no checking for pthread_setprio_np... no checking for pthread_setschedparam... yes checking for pthread_sigmask... yes checking for readlink... yes checking for realpath... yes checking for rename... yes checking for rint... yes checking for rwlock_init... no checking for setupterm... no checking for shmget... yes checking for shmat... yes checking for shmdt... yes checking for shmctl... yes checking for sigaction... yes checking for sigemptyset... yes checking for sigaddset... yes checking for sighold... yes checking for sigset... yes checking for sigthreadmask... no checking for snprintf... yes checking for socket... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strerror... yes checking for strsignal... yes checking for strnlen... yes checking for strpbrk... yes checking for strstr... yes checking for strtol... yes checking for strtoll... yes checking for strtoul... yes checking for strtoull... yes checking for tell... no checking for tempnam... yes checking for thr_setconcurrency... no checking for vidattr... no checking for clock_gettime... no checking for isinf in <math.h>... yes checking whether isinf() can be used in C++ code... no checking for fseeko... yes checking style of gethost* routines... checking whether madvise is declared... no other checking style of gethostname_r routines... other checking 3 argument to gethostname_r routines... char checking "args to pthread_getspecific"... POSIX checking "args to pthread_mutex_init"... POSIX checking "args to readdir_r"... POSIX checking "style of sigwait"... POSIX checking "for pthread_attr_setscope"... yes checking "can netinet files be included"... "yes"checking for OpenSSL... no checking for yaSSL... no checking for big tables support... no checking max indexes per table... 64 checking for BerkeleyDB... no Not using Berkeley DB checking for Innodb... Using Innodb checking for aio_read in -lrt... yes checking for example storage engine... no checking for archive storage engine... no checking for csv storage engine... no checking for blackhole storage engine... no checking for NDB Cluster... Not using NDB Cluster checking for MySQL federated storage engine... no checking "for man pages to remove"... dropping ndbcluster embedded configure: creating ./config.status config.status: creating extra/yassl/Makefile config.status: creating extra/yassl/taocrypt/Makefile config.status: creating extra/yassl/taocrypt/src/Makefile config.status: creating extra/yassl/src/Makefile config.status: creating extra/yassl/testsuite/Makefile config.status: creating extra/yassl/taocrypt/test/Makefile config.status: creating extra/yassl/taocrypt/benchmark/Makefile config.status: creating libmysql/libmysql.ver config.status: creating tools/Makefile config.status: creating libmysql_r/Makefile config.status: creating Makefile config.status: creating extra/Makefile config.status: creating mysys/Makefile config.status: creating strings/Makefile config.status: creating regex/Makefile config.status: creating heap/Makefile config.status: creating myisam/Makefile config.status: creating myisammrg/Makefile config.status: creating os2/Makefile config.status: creating os2/include/Makefile config.status: creating os2/include/sys/Makefile config.status: creating man/Makefile config.status: creating BUILD/Makefile config.status: creating vio/Makefile config.status: creating libmysql/Makefile config.status: creating client/Makefile config.status: creating pstack/Makefile config.status: creating pstack/aout/Makefile config.status: creating sql/Makefile config.status: creating sql/share/Makefile config.status: creating sql-common/Makefile config.status: creating SSL/Makefile config.status: creating dbug/Makefile config.status: creating scripts/Makefile config.status: creating include/Makefile config.status: creating sql-bench/Makefile config.status: creating server-tools/Makefile config.status: creating server-tools/instance-manager/Makefile config.status: creating tests/Makefile config.status: creating Docs/Makefile config.status: creating support-files/Makefile config.status: creating support-files/MacOSX/Makefile config.status: creating support-files/RHEL4-SElinux/Makefile config.status: creating mysql-test/Makefile config.status: creating netware/Makefile config.status: creating include/mysql_version.h config.status: creating cmd-line-utils/Makefile config.status: creating cmd-line-utils/libedit/Makefile config.status: creating win/Makefile config.status: creating zlib/Makefile config.status: creating debian/Makefile config.status: creating debian/defs.mk config.status: creating debian/control config.status: creating cmd-line-utils/readline/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default commands configure: configuring in innobase configure: running /bin/sh './configure' --prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr '--host=x86_64' '--prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr' '--enable-thread-safe-client' '--without-server' 'CC=x86_64-unknown-linux-gnu-gcc' 'host_alias=x86_64' CFLAGS='-O3 -DDBUG_OFF ' CXXFLAGS='-O -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti' --cache-file=/dev/null --srcdir=. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: loading site script /opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root/usr/etc/config.site checking build system type... i686-pc-linux-gnu checking host system type... x86_64-pc-none checking target system type... x86_64-pc-nonechecking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-strip... no checking for strip... strip checking for x86_64-gcc... x86_64-unknown-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-unknown-linux-gnu-gcc accepts -g... yes checking for x86_64-unknown-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-unknown-linux-gnu-gcc... gcc3 checking for x86_64-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-unknown-linux-gnu-gcc... /opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld checking if the linker (/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld) is GNU ld... yes checking for /opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... unknown checking how to run the C preprocessor... x86_64-unknown-linux-gnu-gcc -E checking for ANSI C header files... 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-g++... g++ checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for x86_64-g77... no checking for x86_64-f77... no checking for x86_64-xlf... no checking for x86_64-frt... no checking for x86_64-pgf77... no checking for x86_64-fort77... no checking for x86_64-fl32... no checking for x86_64-af77... no checking for x86_64-f90... no checking for x86_64-xlf90... no checking for x86_64-pgf90... no checking for x86_64-epcf90... no checking for x86_64-f95... no checking for x86_64-fort... no checking for x86_64-xlf95... no checking for x86_64-ifc... no checking for x86_64-efc... no checking for x86_64-pgf95... no checking for x86_64-lf95... no checking for x86_64-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from x86_64-unknown-linux-gnu-gcc object... failed checking for objdir... .libs checking for x86_64-ar... ar checking for x86_64-ranlib... ranlib checking for x86_64-strip... strip checking if x86_64-unknown-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-unknown-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-unknown-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-unknown-linux-gnu-gcc static flag -static works... yes checking if x86_64-unknown-linux-gnu-gcc supports -c -o file.o... yeschecking whether the x86_64-unknown-linux-gnu-gcc linker (/opt/crosstool/gcc-4.1.0-glibc-2.3.6/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking aio.h usability... yes checking aio.h presence... yes checking for aio.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for int... yes checking size of int... (cached) 4 checking for long... yes checking size of long... (cached) 8 checking for void*... yes checking size of void*... 8 checking for sched_yield... yes checking for fdatasync... yes checking for localtime_r... yes checking whether byte ordering is bigendian... no configure: creating ./config.status config.status: creating Makefile config.status: creating os/Makefile config.status: creating ut/Makefile config.status: creating btr/Makefile config.status: creating buf/Makefile config.status: creating data/Makefile config.status: creating dict/Makefile config.status: creating dyn/Makefile config.status: creating eval/Makefile config.status: creating fil/Makefile config.status: creating fsp/Makefile config.status: creating fut/Makefile config.status: creating ha/Makefile config.status: creating ibuf/Makefile config.status: creating include/Makefile config.status: creating lock/Makefile config.status: creating log/Makefile config.status: creating mach/Makefile config.status: creating mem/Makefile config.status: creating mtr/Makefile config.status: creating page/Makefile config.status: creating pars/Makefile config.status: creating que/Makefile config.status: creating read/Makefile config.status: creating rem/Makefile config.status: creating row/Makefile config.status: creating srv/Makefile config.status: creating sync/Makefile config.status: creating thr/Makefile config.status: creating trx/Makefile config.status: creating usr/Makefile config.status: creating ib_config.h config.status: ib_config.h is unchanged config.status: executing depfiles commands MySQL has a Web site at http://www.mysql.com/ which carries details on the latest release, upcoming features, and other information to make your work or play with MySQL more productive. There you can also find information about mailing lists for MySQL discussion. Remember to check the platform specific part of the reference manual for hints about installing MySQL on your platform. Also have a look at the files in the Docs directory. Thank you for choosing MySQL! -- MySQL Internals Mailing List For list archives: http://lists.mysql.com/internals To unsubscribe: http://lists.mysql.com/internals?unsub=lists@pantek.comReceived on Thu Sep 13 23:50:14 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:59:27 EDT |
||||||||||
|
|||||||||||