CentOS下安装mysql,make时出现make[1]:*** [link_sources] Error 1 mak
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/09/18 05:57:41
CentOS下安装mysql,make时出现make[1]:*** [link_sources] Error 1 make:*** [all-recursive] Error 1
操作如下:
[root@CentOS CentOS_6.4]# /usr/sbin/groupadd mysql
[root@CentOS CentOS_6.4]# /usr/sbin/useradd -g mysql mysql
[root@CentOS mysql-5.1.58]# ./configure --prefix=/usr/local/mysql --localstatedir=/data/mysql_db --with-extra-charsets=all
[root@CentOS mysql-5.1.58]# make
.
/usr/bin/diff -w include/mysql.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
make[2]:Leaving directory `/mnt/hgfs/CentOS_6.4/mysql-5.1.58'
make[1]:Leaving directory `/mnt/hgfs/CentOS_6.4/mysql-5.1.58'
Making all in include
make[1]:Entering directory `/mnt/hgfs/CentOS_6.4/mysql-5.1.58/include'
/bin/cp config.h my_config.h
/bin/rm -f readline openssl
/bin/ln -s ../cmd-line-utils/libedit/readline readline
/bin/ln:creating symbolic link `readline':Operation not supported
make[1]:*** [link_sources] Error 1
make[1]:Leaving directory `/mnt/hgfs/CentOS_6.4/mysql-5.1.58/include'
make:*** [all-recursive] Error 1
操作如下:
[root@CentOS CentOS_6.4]# /usr/sbin/groupadd mysql
[root@CentOS CentOS_6.4]# /usr/sbin/useradd -g mysql mysql
[root@CentOS mysql-5.1.58]# ./configure --prefix=/usr/local/mysql --localstatedir=/data/mysql_db --with-extra-charsets=all
[root@CentOS mysql-5.1.58]# make
.
/usr/bin/diff -w include/mysql.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
make[2]:Leaving directory `/mnt/hgfs/CentOS_6.4/mysql-5.1.58'
make[1]:Leaving directory `/mnt/hgfs/CentOS_6.4/mysql-5.1.58'
Making all in include
make[1]:Entering directory `/mnt/hgfs/CentOS_6.4/mysql-5.1.58/include'
/bin/cp config.h my_config.h
/bin/rm -f readline openssl
/bin/ln -s ../cmd-line-utils/libedit/readline readline
/bin/ln:creating symbolic link `readline':Operation not supported
make[1]:*** [link_sources] Error 1
make[1]:Leaving directory `/mnt/hgfs/CentOS_6.4/mysql-5.1.58/include'
make:*** [all-recursive] Error 1
出现这种情况是由于在编译的时候,要用ln去建立一些软链接,而这些文件是虚拟机在Windows与Linux中共享的文件夹下,虽然ln命令在Linux系统中很常见,但Windows不支持,所以,编译会报错.
解决办法:
1.最简单的办法就是把mysql源文件移到共享文件夹以外的其它文件夹下!
2.在VMWare下的Linux中,建立Samba服务,之后新创建新samba用户和文件夹,在windows中就可以访问到该文件夹了.然后把在Linux中,从共享目录拷贝到你所要共享的samba目录中,这样,也可以实现我们所要的文件共享
解决办法:
1.最简单的办法就是把mysql源文件移到共享文件夹以外的其它文件夹下!
2.在VMWare下的Linux中,建立Samba服务,之后新创建新samba用户和文件夹,在windows中就可以访问到该文件夹了.然后把在Linux中,从共享目录拷贝到你所要共享的samba目录中,这样,也可以实现我们所要的文件共享
CentOS下安装mysql,make时出现make[1]:*** [link_sources] Error 1 mak
redhat 5下安装阿帕奇出现make:*** No targets specified and no makefil
急求文章翻译(1)We can make mistakes at any age.Some mitakes we mak
MySQL安装时出现...Another installation is in progress.You must co
安装时出现An error occurred while copying files怎莫办
我在安装CF时出现错误,提示NSIS Error是什么意思,安装不了,无奈啊,
英语翻译Make risk management part of performance management1、mak
Let's make dumplings.(改为同义句):_____ _____ mak
trados安装出错安装framework1.1时出错.有没有知道怎么解决啊.1603:Error installing
mak it up to sb,make up for,make up with的用法和例句
词组:与...交友与...交友,是make a friend with 还是 make friends with?mak
安装CAD2008时出现internal error #2-piease be sure the app is runn