When configuring mysql, some errors happened.The report of config.log
and error messages are listed below.The environment I use is Sun Solaris
8(SunOS 5.8) with gcc 2.95.3.
============================================================
config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:813: checking host system type
configure:834: checking target system type
configure:852: checking build system type
configure:887: checking for a BSD compatible install
configure:940: checking whether build environment is sane
configure:975: checking whether make sets ${MAKE}
configure:1021: checking for working aclocal
configure:1034: checking for working autoconf
configure:1047: checking for working automake
configure:1060: checking for working autoheader
configure:1073: checking for working makeinfo
configure:1175: checking whether to enable maintainer-specific portions of Makefiles
configure:1217: checking whether build environment is sane
configure:1234: checking whether make sets ${MAKE}
configure:1302: checking for gawk
configure:1302: checking for mawk
configure:1302: checking for nawk
configure:1334: checking for gcc
configure:1447: checking whether the C compiler (gcc ) works
configure:1463: gcc -o conftest conftest.c 1>&5
configure:1489: checking whether the C compiler (gcc ) is a cross-compiler
configure:1494: checking whether we are using GNU C
configure:1503: gcc -E conftest.c
configure:1522: checking whether gcc accepts -g
configure:1558: checking for c++
configure:1590: checking whether the C++ compiler (c++ ) works
configure:1606: c++ -o conftest conftest.C 1>&5
configure:1632: checking whether the C++ compiler (c++ ) is a cross-compiler
configure:1637: checking whether we are using GNU C++
configure:1646: c++ -E conftest.C
configure:1665: checking whether c++ accepts -g
configure:1697: checking how to run the C preprocessor
configure:1718: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1833: checking for ranlib
configure:1943: checking for ld used by GCC
configure:2005: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:2021: checking for BSD-compatible nm
configure:2057: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -o conftest conftest.c 1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -fPIC -DPIC conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -o out/conftest2.o conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -c -o conftest.lo conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -static conftest.c 1>&5
ltconfig:1653: checking if global_symbol_pipe works
ltconfig:1654: gcc -c conftest.c 1>&5
ltconfig:1657: eval "/usr/ccs/bin/nm -p conftest.o | sed -n -e 's/^.*[ ]\([BDT]\)[
][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1
\2\3 \3/p' > conftest.nm"
ltconfig:1709: gcc -o conftest -fno-builtin -fno-rtti -fno-exceptions conftest.c
conftstm.o 1>&5
configure:2257: checking for a BSD compatible install
configure:2315: checking for bison
configure:2315: checking for byacc
configure:2348: checking for pdftex
configure:2376: checking return type of sprintf
==========================================================
error message:
checking return type of sprintf... configure: error: can not run test program while
cross compiling
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php