- 论坛徽章:
- 0
|
在solaris10*86下,不能make pam_mysql。大家分析一下是什么原因?
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
## --------- ##
## Platform. ##
## --------- ##
hostname = solaris10-vsftp
uname -m = i86pc
uname -r = 5.10
uname -s = SunOS
uname -v = Generic
/usr/bin/uname -p = i386
/bin/uname -X = System = SunOS
Node = solaris10-vsftp
Release = 5.10
KernelID = Generic
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
/bin/arch = i86pc
/usr/bin/arch -k = i86pc
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/openwin/bin
PATH: /bin
PATH: /usr/ucb
PATH: /usr/openwin/bin
PATH: /usr/dt/bin
PATH: /usr/local/bin
PATH: /usr/sfw/bin
## ----------- ##
## Core tests. ##
## ----------- ##
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.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_openssl_CFLAGS_set=
ac_cv_env_openssl_CFLAGS_value=
ac_cv_env_openssl_LIBS_set=
ac_cv_env_openssl_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='/lost+found/wget-vsftp/pam_mysql-0.7RC1/missing aclocal-1.4'
ALLOCA=''
AR=''
AUTOCONF='/lost+found/wget-vsftp/pam_mysql-0.7RC1/missing autoconf'
AUTOHEADER='/lost+found/wget-vsftp/pam_mysql-0.7RC1/missing autoheader'
AUTOMAKE='/lost+found/wget-vsftp/pam_mysql-0.7RC1/missing automake-1.4'
CC=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXFLAGS=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
OBJEXT=''
PACKAGE='pam_mysql'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='pam_mysql'
PACKAGE_STRING='pam_mysql 0.7RC1'
PACKAGE_TARNAME='pam_mysql'
PACKAGE_VERSION='0.7RC1'
PAM_MODS_DIR=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.7RC1'
YACC='bison -y'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX='g++'
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
openssl_CFLAGS=''
openssl_LIBS=''
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "pam_mysql"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "pam_mysql"
#define PACKAGE_STRING "pam_mysql 0.7RC1"
#define PACKAGE_TARNAME "pam_mysql"
#define PACKAGE_VERSION "0.7RC1"
#define VERSION "0.7RC1"
configure: exit 1
bash-3.00# make
make: *** No targets specified and no makefile found. Stop.
bash-3.00#
[ 本帖最后由 pet-dtg 于 2007-12-26 11:58 编辑 ] |
|