centos 6.5编译安装courier-authlib编译异常结束make失败

编译courier-authlib-0.64.0

编译语句

wKioL1WanJjTbI1vAADMWTTA3-8496.jpg

编译结果

wKiom1WamuPzUaFiAANKgUMh2-A129.jpg

make 结果

 

[root@localhost courier-authlib-0.64.0]# make
echo "#define AUTHLDAPRC \"\"" >authldaprc.h
echo "#define AUTHMYSQLRC \"/usr/local/etc/authlib/authmysqlrc\"" >authmysqlrc.h
echo "#define AUTHPGSQLRC \"/usr/local/etc/authlib/authpgsqlrc\"" >authpgsqlrc.h
echo "#define AUTHDAEMONRC \"/usr/local/etc/authlib/authdaemonrc\"" >authdaemonrc.h
echo "#define AUTHDAEMONVAR \"/usr/local/var/spool/authdaemon\"" >>authdaemonrc.h
echo "#define AUTHDAEMONPID AUTHDAEMONVAR \"/pid\"" >>authdaemonrc.h
echo "#define AUTHDAEMONSOCK AUTHDAEMONVAR \"/socket\"" >>authdaemonrc.h
echo "#define AUTHDAEMONLOCK AUTHDAEMONVAR \"/lock\"" >>authdaemonrc.h
echo '#define PKGVERSION "0.64.0"' >packageversion.h
echo '#define AUTHCHANGEPWDIR "/usr/local/libexec/courier-authlib"' >authchangepwdir.h
echo '#define SBINDIR "/usr/local/sbin"' >sbindir.h
echo '#define PKGLIBDIR "/usr/local/lib/courier-authlib"' >pkglibdir.h
echo '#define PKGINCLUDEDIR "/usr/local/include"' >pkgincludedir.h
echo '#define MAILUSER "vmail --with-mailgroup=vmail"' >mailusergroup.h
echo '#define MAILGROUP "daemon"' >>mailusergroup.h
/bin/sh ./config.status --file=README_authlib.html
config.status: creating README_authlib.html
make  all-recursive
make[1]: Entering directory '/usr/local/courier-authlib-0.64.0'
Making all in gdbmobj
make[2]: Entering directory '/usr/local/courier-authlib-0.64.0/gdbmobj'
make  all-am
make[3]: Entering directory '/usr/local/courier-authlib-0.64.0/gdbmobj'
source='testgdbm.C' object='testgdbm.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ./../depcomp \
g++ -DHAVE_CONFIG_H -I.     -fhandle-exceptions  -c -o testgdbm.o testgdbm.C
./../depcomp: line 611: exec: g++: not found
Makefile:340: recipe for target 'testgdbm.o' failed
make[3]: *** [testgdbm.o] Error 127
make[3]: Leaving directory '/usr/local/courier-authlib-0.64.0/gdbmobj'
Makefile:247: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/local/courier-authlib-0.64.0/gdbmobj'
Makefile:1223: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/courier-authlib-0.64.0'
Makefile:703: recipe for target 'all' failed
make: *** [all] Error 2
[root@localhost courier-authlib-0.64.0]# make install
make  install-recursive
make[1]: Entering directory '/usr/local/courier-authlib-0.64.0'
Making install in gdbmobj
make[2]: Entering directory '/usr/local/courier-authlib-0.64.0/gdbmobj'
source='testgdbm.C' object='testgdbm.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ./../depcomp \
g++ -DHAVE_CONFIG_H -I.     -fhandle-exceptions  -c -o testgdbm.o testgdbm.C
./../depcomp: line 611: exec: g++: not found
Makefile:340: recipe for target 'testgdbm.o' failed
make[2]: *** [testgdbm.o] Error 127
make[2]: Leaving directory '/usr/local/courier-authlib-0.64.0/gdbmobj'
Makefile:1223: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/usr/local/courier-authlib-0.64.0'
Makefile:1553: recipe for target 'install' failed
make: *** [install] Error 2
[root@localhost courier-authlib-0.64.0]#

你可能感兴趣的:(courier-authlib,编译异常结束,make失败)