bash-3.00# pwd
/lost+found/wget-vsftp/pam_mysql-0.7RC1
bash-3.00# which make
/usr/local/bin/make
bash-3.00# which mysql
/usr/sfw/bin/mysql
bash-3.00# ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bison... bison -y
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
bash-3.00# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by pam_mysql configure 0.7RC1, which was
generated by GNU Autoconf 2.59. Invocation command line was
configure:1571: checking for a BSD-compatible install
configure:1626: result: ./install-sh -c
configure:1637: checking whether build environment is sane
configure:1680: result: yes
configure:1695: checking whether make sets $(MAKE)
configure:1715: result: yes
configure:1747: checking for working aclocal-1.4
configure:1758: result: missing
configure:1762: checking for working autoconf
configure:1773: result: missing
configure:1777: checking for working automake-1.4
configure:1788: result: missing
configure:1792: checking for working autoheader
configure:1803: result: missing
configure:1807: checking for working makeinfo
configure:1814: result: found
configure:1829: checking whether to enable maintainer-specific portions of Makefiles
configure:1838: result: no
configure:1864: checking for bison
configure:1880: found /usr/sfw/bin/bison
configure:1890: result: bison -y
configure:1953: checking for g++
configure:1969: found /usr/local/bin/g++
configure:1979: result: g++
configure:1995: checking for C++ compiler version
configure:1998: g++ --version </dev/null >&5
g++ (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2001: $? = 0
configure:2003: g++ -v </dev/null >&5
Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
configure:2006: $? = 0
configure:2008: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:2011: $? = 1
configure:2034: checking for C++ compiler default output file name
configure:2037: g++ conftest.cc >&5
configure:2040: $? = 0
configure:2086: result: a.out
configure:2091: checking whether the C++ compiler works
configure:2097: ./a.out
ld.so.1: ./a.out: fatal: libstdc++.so.6: open failed: No such file or directory
./configure: line 2098: 1021 Killed ./$ac_file
configure:2100: $? = 137
configure:2109: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.