I just attempted to compile mysql 3.23.38
on a Solaris 8/sparc systems with gcc 2.95.3
(installed from binary from sunfreeware.com),
. When I run ./configure --prefix=/usr/local/mysql
the configure dies with:
checking return type of sprintf...configure error, cannot
run test program while cross compiling.
my PATH is:
/usr/local/bin:/usr/dt/bin:/usr/bin:/usr/ucb:/etc
I saw two other reports of this on the list, contacted one user,
but so far have not seen a solution.
Has anyone with a similar configuration compiled this on solaris
8 with gcc 2.95.3?
Thanks,
John Rutherford
My config.log is below:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:812: checking host system type
configure:833: checking target system type
configure:851: checking build system type
configure:886: checking for a BSD compatible install
configure:939: checking whether build environment is sane
configure:974: checking whether make sets ${MAKE}
configure:1020: checking for working aclocal
configure:1033: checking for working autoconf
configure:1046: checking for working automake
configure:1059: checking for working autoheader
configure:1072: checking for working makeinfo
configure:1174: checking whether to enable maintainer-specific portions of
Makefiles
configure:1216: checking whether build environment is sane
configure:1233: checking whether make sets ${MAKE}
configure:1301: checking for gawk
configure:1301: checking for mawk
configure:1301: checking for nawk
configure:1333: checking for gcc
configure:1446: checking whether the C compiler (gcc ) works
configure:1462: gcc -o conftest conftest.c 1>&5
configure:1488: checking whether the C compiler (gcc ) is a cross-compiler
configure:1493: checking whether we are using GNU C
configure:1502: gcc -E conftest.c
configure:1521: checking whether gcc accepts -g
configure:1557: checking for c++
configure:1589: checking whether the C++ compiler (c++ ) works
configure:1605: c++ -o conftest conftest.C 1>&5
configure:1631: checking whether the C++ compiler (c++ ) is a
cross-compiler
configure:1636: checking whether we are using GNU C++
configure:1645: c++ -E conftest.C
configure:1664: checking whether c++ accepts -g
configure:1696: checking how to run the C preprocessor
configure:1717: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1832: checking for ranlib
configure:1942: checking for ld used by GCC
configure:2004: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:2020: checking for BSD-compatible nm
configure:2056: 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:2261: checking for a BSD compatible install
configure:2319: checking for bison
configure:2319: checking for byacc
configure:2352: checking for pdftex
configure:2380: checking return type of sprintf
---------------------------------------------------------------------
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