在配置postfix邮件服务器的时候,安装不了courier-authlib,不知道是什么原因,现在铁出来请教大家!
[root@localhost courier-authlib-0.62.4]# ./configure --prefix=/usr/local/courier-authlib --sysconfdir=/etc --without-authpam --without-authldap --without-authpwd --without-authshadow --without-authvchkpw --without-authpgsql --with-authmysql --with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql --with-redhat --with-authmysqlrc=/etc/authmysqlrc --with-authdaemonrc=/etc/authdaemonrc CFLAGS="-march=i686 -02 -fexpensive-optimizations" CXXFLAGS="-march=i686 -02 -fexpensive-optimizations"cd /usr/local/src
回车之后出现现这个问题:
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/src
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for /usr/local/src-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/usr/local/src/courier-authlib-0.62.4':
configure: error: C compiler cannot create executables
See `config.log' for more details.
荟荃 于 2010-06-01 09:52:48发表:
make
之后的提示是:
make: *** 没有指明目标并且找不到 makefile。 停止。
这个到底是什么问题阿?我看了readme文件还有install文件,需要的我好像都装上了阿。可是这个问题出自那里呢?在现等!
荟荃 于 2010-06-01 09:29:28发表:
高手指点阿!小弟不胜感激
荟荃 于 2010-05-31 21:51:54发表:
请教大家指点一下,小弟十分着急!非常感谢!
荟荃 于 2010-05-31 21:50:48发表:
然后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 courier-authlib configure 0.62.4, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --prefix=/usr/local/courier-authlib --sysconfdir=/etc --without-authpam --without-authldap --without-authpwd --without-authshadow --without-authvchkpw --without-authpgsql --with-authmysql --with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql --with-redhat --with-authmysqlrc=/etc/authmysqlrc --with-authdaemonrc=/etc/authdaemonrc CFLAGS=-march=i686 -02 -fexpensive-optimizations CXXFLAGS=-march=i686 -02 -fexpensive-optimizations
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost.localdomain
uname -m = x86_64
uname -r = 2.6.18-164.el5xen
uname -s = Linux
uname -v = #1 SMP Tue Aug 18 15:59:52 EDT 2009
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2223: checking for a BSD-compatible install
configure:2291: result: /usr/bin/install -c
configure:2302: checking whether build environment is sane
configure:2362: result: yes
configure:2503: checking for a thread-safe mkdir -p
configure:2542: result: /bin/mkdir -p
configure:2555: checking for gawk
configure:2571: found /bin/gawk
configure:2582: result: gawk
configure:2593: checking whether make sets $(MAKE)
configure:2615: result: yes
configure:2705: checking for gawk
configure:2732: result: gawk
configure:2791: checking for gcc
configure:2807: found /usr/bin/gcc
configure:2818: result: gcc
configure:3050: checking for C compiler version
configure:3058: gcc --version >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
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:3062: $? = 0
configure:3069: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
configure:3073: $? = 0
configure:3080: gcc -V >&5
gcc: '-V' option must have argument
configure:3084: $? = 1
configure:3107: checking for C compiler default output file name
configure:3129: gcc -march=i686 -02 -fexpensive-optimizations conftest.c >&5
gcc: unrecognized option '-02'
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
configure:3133: $? = 1
configure:3171: result:
configure: failed program was:
| /* confdefs.h. */
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3177: error: in `/usr/local/src/courier-authlib-0.62.4':
configure:3180: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=i686 -02 -fexpensive-optimizations'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /usr/local/src/courier-authlib-0.62.4/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/local/src/courier-authlib-0.62.4/missing --run tar'
AR=''
ARGZ_H=''
AUTHPAMCRYPT=''
AUTOCONF='${SHELL} /usr/local/src/courier-authlib-0.62.4/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/local/src/courier-authlib-0.62.4/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/local/src/courier-authlib-0.62.4/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=i686 -02 -fexpensive-optimizations'
CONVENIENCE_LTDL_FALSE=''
CONVENIENCE_LTDL_TRUE=''
COURIERCONFIG=''
CPP=''
CPPFLAGS=''
CRYPTLIBS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXPECT=''
FGREP=''
GREP=''
HAVE_AUTHMYSQL_FALSE=''
HAVE_AUTHMYSQL_TRUE=''
HAVE_AUTHPGSQL_FALSE=''
HAVE_AUTHPGSQL_TRUE=''
HAVE_CUSTOM_FALSE=''
HAVE_CUSTOM_TRUE=''
HAVE_LDAP_FALSE=''
HAVE_LDAP_TRUE=''
HAVE_PIPE_FALSE=''
HAVE_PIPE_TRUE=''
HAVE_SGML_FALSE=''
HAVE_SGML_TRUE=''
INCLTDL=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LTDL_FALSE=''
INSTALL_LTDL_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDAPLIBS=''
LDFLAGS=''
LIBADD_DL=''
LIBADD_DLD_LINK=''
LIBADD_DLOPEN=''
LIBADD_SHL_LOAD=''
LIBAUTHCUSTOM=''
LIBAUTHLDAP=''
LIBAUTHMYSQL=''
LIBAUTHPAM=''
LIBAUTHPGSQL=''
LIBAUTHPIPE=''
LIBAUTHPWD=''
LIBAUTHSHADOW=''
LIBAUTHUSERDB=''
LIBDB=''
LIBDL=''
LIBGDBM=''
LIBLTDL=''
LIBM=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTDLDEPS=''
LTDLINCL=''
LTDLOPEN=''
LTLIBOBJS=''
LT_CONFIG_H=''
LT_DLLOADERS=''
LT_DLPREOPEN=''
MAKEINFO='${SHELL} /usr/local/src/courier-authlib-0.62.4/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
MYSQL_CONFIG=''
MYSQL_LIBS=''
NETLIBS=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='courier-authlib'
PACKAGE_BUGREPORT='courier-users@lists.sourceforge.net'
PACKAGE_NAME='courier-authlib'
PACKAGE_STRING='courier-authlib 0.62.4'
PACKAGE_TARNAME='courier-authlib'
PACKAGE_VERSION='0.62.4'
PASSWD=''
PATH_SEPARATOR=':'
PERL=''
PGSQL_LIBS=''
PG_CONFIG=''
RANLIB=''
REPOSITORY=''
SED=''
SET_MAKE=''
SHADOWLIBS=''
SHELL='/bin/sh'
STRIP=''
SYSCONFTOOL=''
SYSCONFTOOL_PERL=''
USE_DB=''
USE_GDBM=''
VERSION='0.62.4'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
authProg=''
authdaemonrc=''
authdaemonvar=''
authldaprc=''
authmysqlrc=''
authpgsqlrc=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
dblibrary=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /usr/local/src/courier-authlib-0.62.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
ltdl_LIBOBJS=''
ltdl_LTLIBOBJS=''
mailgroup=''
mailuser=''
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/courier-authlib'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sys_symbol_underscore=''
sysconfdir='/etc'
target_alias=''
userdb=''
configure: exit 77