作者:nuabolalalala4_135 | 来源:互联网 | 2017-08-15 15:29
在配置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.