Dear Sir,

    I have a problem with mysql-3.23.43 installation during the
configuration step on Solaris 2.7 with Netscape Enterprise Server. The last
three lines are shown as below :

checking for a BSD compatible install... ./install-sh -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.

Also, the following messages are copied from config.log file which you may
want to know :

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: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: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
ld: warning: global symbol `_DYNAMIC' has non-global binding:
        (file /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.1/../../.
/libgcc_s.so value=LOCL);
ld: warning: global symbol `_PROCEDURE_LINKAGE_TABLE_' has non-global
binding:
        (file /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.1/../../.
/libgcc_s.so value=LOCL);
ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has non-global binding:
        (file /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.1/../../.
/libgcc_s.so value=LOCL);
configure:1632: checking whether the C++ compiler (c++   ) is a
cross-compiler
configure:1637: checking whether we are using GNU C++
configure:1665: checking whether c++ accepts -g
configure:1697: checking how to run the C preprocessor
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: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:2348: checking for pdftex
configure:2376: checking return type of sprintf

Please help me to complete the installation of mysql.

Thank you for your suggestion.

Attachai A.
Assumption University, 
Thailand


Reply via email to