|
由于本人想学Mysql、PHP的管理与开发,从官方网将其源码下了下来 在安装Mysql时用 ./configure --prefix=/media/sdb5/Lamp/mysql5(此文件没有) make make install
出现了如下错误:
- [root@localhost mysql-5.1.36]# make
- Making all in .
- make[1]: Entering directory `/media/4021-96E6/Lamp/mysql-5.1.36'
- make abi_headers="include/mysql/plugin.h include/mysql.h" do_abi_check
- make[2]: Entering directory `/media/4021-96E6/Lamp/mysql-5.1.36'
- set -ex; \
- for file in include/mysql/plugin.h include/mysql.h; do \
- gcc -E -nostdinc -dI \
- -I./include \
- -I./include/mysql \
- -I./sql \
- -I./include \
- -I./include/mysql \
- -I./sql \
- $file 2>/dev/null | \
- /bin/sed -e '/^# /d' \
- -e '/^[ ]*$/d' \
- -e '/^#pragma GCC set_debug_pwd/d' \
- -e '/^#ident/d' > \
- ./abi_check.out; \
- /usr/bin/diff -w $file.pp ./abi_check.out; \
- /bin/rm ./abi_check.out; \
- done
- + for file in include/mysql/plugin.h include/mysql.h
- + gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
- + /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
- + /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
- + /bin/rm ./abi_check.out
- + for file in include/mysql/plugin.h include/mysql.h
- + gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
- + /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
- + /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
- + /bin/rm ./abi_check.out
- make[2]: Leaving directory `/media/4021-96E6/Lamp/mysql-5.1.36'
- make[1]: Leaving directory `/media/4021-96E6/Lamp/mysql-5.1.36'
- Making all in include
- make[1]: Entering directory `/media/4021-96E6/Lamp/mysql-5.1.36/include'
- /bin/rm -f readline openssl
- /bin/ln -s ../cmd-line-utils/libedit/readline readline
- /bin/ln: creating symbolic link `readline': Operation not permitted
- make[1]: *** [link_sources] Error 1
- make[1]: Leaving directory `/media/4021-96E6/Lamp/mysql-5.1.36/include'
- make: *** [all-recursive] Error 1
复制代码 |
|