- 主题:安装smth求救!
安装php:
./configure --enable-aspx2=/usr/local/apache2/bin/aspx
通过并安装成功
cd /home/bbs/smthbbs-1.2
./configure --enable-site-devel --without-mysql
出现如下错误:
configure: configuring in bbs2www
configure: running /bin/bash './configure' --prefix=/home/bbs '--enable-site=devel' '--without-mysql' --cache-file=/dev/null --srcdir=.
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking for a BSD-compatible install... ./../install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
find: bad option -path
find: path-list predicate-list
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... configure: error: cannot run C++ comp
iled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
configure: error: /bin/bash './configure' failed for bbs2www
请问为什么? 安装手册上的所有包已经完全安装!
--
FROM 202.201.29.*
【 在 flyriver (江~~人生抉择) 的大作中提到: 】
: 你看看 config.log 给出了什么出错信息?
config.log文件中,最后一行为:
Configure:exit 1
前面的行好像没有错误信息!
--
FROM 202.201.29.*
【 在 flyriver (江~~人生抉择) 的大作中提到: 】
: 前面的肯定有,你往前找找吧
这是config.conf的完全信息
$ ./configure --enable-site=devel --with-www=/usr/local/apache/htdocs
## --------- ##
## Platform. ##
## --------- ##
hostname = bbs
uname -m = sun4u
uname -r = 5.9
uname -s = SunOS
uname -v = Generic
/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = bbs
Release = 5.9
KernelID = Generic
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
/bin/arch = sun4
/usr/bin/arch -k = sun4u
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: .
PATH: /usr/ccs/bin
PATH: /usr/local
PATH: /usr/local/bin
PATH: /usr/local/mysql
PATH: /usr/local/mysql/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1527: checking for a BSD-compatible install
configure:1581: result: ./install-sh -c
configure:1592: checking whether build environment is sane
configure:1635: result: yes
configure:1668: checking for gawk
configure:1684: found /usr/local/bin/gawk
configure:1694: result: gawk
configure:1704: checking whether make sets $(MAKE)
configure:1724: result: yes
configure:1876: checking build system type
configure:1889: error: /bin/bash ./config.sub failed
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=
ac_cv_build_alias=$' '
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=$' '
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=$' '
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=$' '
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/bbs/smthbbs-1.2/missing --run aclocal-1.6'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/bbs/smthbbs-1.2/missing --run tar'
AUTOCONF='${SHELL} /home/bbs/smthbbs-1.2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/bbs/smthbbs-1.2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/bbs/smthbbs-1.2/missing --run automake-1.6'
AWK='gawk'
BBSSITE=''
CC=''
CCDEPMODE=''
CFLAGS=''
CONFIG_AR=''
CONFIG_HAVE_WWW=''
CPP=''
CPPFLAGS=''
CXX=''
CXXDEPMODE=''
CXXFLAGS=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_CLEAN=''
GETLOADAVG_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
KMEM_GROUP=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/bbs/smthbbs-1.2/missing --run makeinfo'
NEED_SETGID=''
OBJEXT=''
OPENSSL_INC=''
OPENSSL_LIBS=''
ORIGIN_LIBTOOL=''
PACKAGE='smthbbs'
PACKAGE_BUGREPORT='SYSOP@smth.org'
PACKAGE_NAME='smthbbs'
PACKAGE_STRING='smthbbs 1.2'
PACKAGE_TARNAME='smthbbs'
PACKAGE_VERSION='1.2'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='1.2'
abssrcdir=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__include=''
am__quote=''
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'
install_sh='/home/bbs/smthbbs-1.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target=' '
target_alias=' '
target_cpu=''
target_os=''
target_vendor=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "smthbbs"
#define PACKAGE_BUGREPORT "SYSOP@smth.org"
#define PACKAGE_NAME "smthbbs"
#define PACKAGE_STRING "smthbbs 1.2"
#define PACKAGE_TARNAME "smthbbs"
#define PACKAGE_VERSION "1.2"
#define VERSION "1.2"
configure: exit 1
--
FROM 202.201.29.*
【 在 flyriver (江~~人生抉择) 的大作中提到: 】
: configure:1889: error: /bin/bash ./config.sub failed
: 查查你的 autoconf,automake 和 libtool 的版本吧。
: 你提供的这个 config.log 跟你前面发的那篇文章提到的错误并不是同一个啊。
autoconf-2.59-sol9-sparc-local
automake-1.7.2
gcc-3.4.0
libtool1.5
libxml2-2.6.4
apache1.3.31
我想把系统重新安装一下,能不能告诉我每个包的最低版本?
谢谢
--
FROM 202.201.29.*
【 在 flyriver (江~~人生抉择) 的大作中提到: 】
: 软件看起来都满足要求了,呵呵
: 看来是别的地方有问题,你的机器能允许我连上去吗?
: 如果可以的话回信到我的信箱吧,我登上去帮你看看。:)
非常感谢!我正在重做系统,做好后,我告诉你用户名和密码!
--
FROM 202.201.29.*
【 在 wisi@bbs.NO_tongji_SPAM.edu.cn (誓心·减肥减肥) 的大作中提到: 】
: checking whether the C++ compiler works... configure: error: cannot run C++ com
: iled programs.
: 你的g++编译出来的a.out似乎不能运行啊,什么发行版,gcc什么版本的
gcc-3.4.0-sol9-sparc-local
现在已经OK!
--
FROM 202.201.29.*