While attempting to configure MySQL on a Sparc platform running Solaris 2.7 using GNU 
compiler gcc 2.95.2 the ./configure with the --prefix=<prefix> option failed with the 
following indications:

These messages are from config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:810: checking host system type
configure:831: checking target system type
configure:849: checking build system type
configure:884: checking for a BSD compatible install
configure:937: checking whether build environment is sane
configure:972: checking whether make sets ${MAKE}
configure:1018: checking for working aclocal
configure:1031: checking for working autoconf
configure:1044: checking for working automake
configure:1057: checking for working autoheader
configure:1070: checking for working makeinfo
configure:1172: checking whether to enable maintainer-specific portions of Makefiles
configure:1214: checking whether build environment is sane
configure:1231: checking whether make sets ${MAKE}
configure:1299: checking for gawk
configure:1331: checking for gcc
configure:1444: checking whether the C compiler (gcc   ) works
configure:1460: gcc -o conftest     conftest.c  1>&5
configure:1486: checking whether the C compiler (gcc   ) is a cross-compiler
configure:1491: checking whether we are using GNU C
configure:1500: gcc -E conftest.c
configure:1519: checking whether gcc accepts -g
configure:1555: checking for c++
configure:1587: checking whether the C++ compiler (c++   ) works
configure:1603: c++ -o conftest     conftest.C  1>&5
configure:1629: checking whether the C++ compiler (c++   ) is a cross-compiler
configure:1634: checking whether we are using GNU C++
configure:1643: c++ -E conftest.C
configure:1662: checking whether c++ accepts -g
configure:1694: checking how to run the C preprocessor
configure:1715: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1819: checking for ranlib
configure:1929: checking for ld used by GCC
configure:1991: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:2007: checking for BSD-compatible nm
configure:2043: 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:2248: checking for a BSD compatible install
configure:2306: checking for bison
configure:2339: checking for pdftex
configure:2367: checking return type of sprintf

This appears on the terminal window:

creating cache ./config.cache
checking host system type... sparc-sun-solaris2.7
checking target system type... sparc-sun-solaris2.7
checking build system type... sparc-sun-solaris2.7
checking for a BSD compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
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... gawk
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking for c++... 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++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
updating cache ./config.cache
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.7 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... /usr/local/bin/install -c
checking for bison... bison -y
checking for pdftex... no
checking return type of sprintf... configure: error: can not run test program while 
cross compiling

Reply via email to