Hi Gurus,
 
I've tried to configure mysql source distribution, but I've got following
error message. 
My machine is Sun Ultra-2 running SPARC Solaris 2.6. 
 
What should I do to fix this problem?
Thank you very much in advance. 
 
Yours sincerely,
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
 
-----------------------------------------------
 
# ./configure --prefix=/usr/local/mysql
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... (cached) nawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++   ) works... yes
checking whether the C++ compiler (c++   ) is a cross-compiler... yes
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ccs/bin/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.6 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking for bison... no
checking for byacc... no
checking for pdftex... no
checking return type of sprintf... configure: error: can not run test
program while cross compiling
 
----------------------------------------------------------------------------
---------------
 
#  cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
configure:796: checking host system type
configure:817: checking target system type
configure:835: checking build system type
configure:870: checking for a BSD compatible install
configure:923: checking whether build environment is sane
configure:958: checking whether make sets ${MAKE}
configure:1004: checking for working aclocal
configure:1017: checking for working autoconf
configure:1030: checking for working automake
configure:1043: checking for working autoheader
configure:1056: checking for working makeinfo
configure:1158: checking whether to enable maintainer-specific portions of
Makef
iles
configure:1200: checking whether build environment is sane
configure:1217: checking whether make sets ${MAKE}
configure:1285: checking for gawk
configure:1317: checking for gcc
configure:1430: checking whether the C compiler (gcc   ) works
configure:1446: gcc -o conftest     conftest.c  1>&5
configure:1472: checking whether the C compiler (gcc   ) is a cross-compiler
configure:1477: checking whether we are using GNU C
configure:1505: checking whether gcc accepts -g
configure:1541: checking for c++
configure:1573: checking whether the C++ compiler (c++   ) works
configure:1589: c++ -o conftest     conftest.C  1>&5
configure:1615: checking whether the C++ compiler (c++   ) is a
cross-compiler
configure:1620: checking whether we are using GNU C++
configure:1648: checking whether c++ accepts -g
configure:1680: checking how to run the C preprocessor
configure:1805: checking for ranlib
configure:1915: checking for ld used by GCC
configure:1977: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:1993: checking for BSD-compatible nm
configure:2029: 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
confte
st.c conftstm.o 1>&5
configure:2234: checking for a BSD compatible install
configure:2292: checking for bison
configure:2292: checking for byacc
configure:2325: checking for pdftex
configure:2353: checking return type of sprintf

Reply via email to