[root@localhost mcrypt-2.6.8]# make
make all-recursive
make[1]: Entering directory `/usr/local/src/mcrypt-2.6.8'
Making all in doc
make[2]: Entering directory `/usr/local/src/mcrypt-2.6.8/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/mcrypt-2.6.8/doc'
Making all in src
make[2]: Entering directory `/usr/local/src/mcrypt-2.6.8/src'
gaa -o gaaout.c -i gaa.h mcrypt.gaa
make[2]: gaa:命令未找到
make[2]:*[gaaout.c] 错误 127
make[2]: Leaving directory `/usr/local/src/mcrypt-2.6.8/src'
make[1]:*[all-recursive] 错误 1
make[1]: Leaving directory `/usr/local/src/mcrypt-2.6.8'
make:*[all] 错误 2
如果你用的是Ubuntu/Debian系统,执行
sudo apt-get install php5-mcrypt
就行了.如果你是自己编译的PHP,则需要通过PHP提供的phpize来添加扩展:
根据返回的错误提示
make[2]: gaa:命令未找到