使用ABS安装MySQL.
时间:2010-01-29
来源:互联网
用Root安装abs,新建普通用户,在普通用户下拷贝/var/abs/extra/mysql到/home/xxx/abs/local,然后进入mysql文件夹,使用makepkg -c进行编译。
最后出现的结果失败。
make[3]:***[ndb_select_count] Error 1 make[3]:Leaving directory '/home/xxx/abs/local/mysql/src/mysql-5.1.42/storage/ndb/tools' make[2]:***[all-recursive] Error 1 make[2]:Leaving directory '/home/xxx/abs/local/mysql/src/mysql-5.1.42/storage/ndb' make[1]:***[all-recursive] Error 1 make[1]:Leaving directory '/home/xxx/abs/local/mysql/src/mysql-5.1.42/storage' make:***[all-recursive] Error 1 ==>ERROR:Build Failed Aborting... |
PS:2010-01-28才开始接触ArchLinux。
作者: 奶酪小鼠 发布时间: 2010-01-29
作者: waiting4you 发布时间: 2010-01-29
下一行就跳出安装过程了。
作者: 奶酪小鼠 发布时间: 2010-01-29
是直接修改MySQL的PKGBUILD文档中的
build () {./configure }部分
还是
options()部分
?
或者是其他?
作者: 奶酪小鼠 发布时间: 2010-01-29
作者: waiting4you 发布时间: 2010-01-29
collect2: ld returned 1 exit status |
作者: 奶酪小鼠 发布时间: 2010-01-29
mysql我是自己编译的.没问题啊
作者: zhong 发布时间: 2010-01-29
ng -fno-implicit-templates -fno-exceptions -fno-rtti -Wl,--hash-style=gnu -Wl,-- as-needed -rdynamic -o ndb_select_all select_all.o NDBT_ResultRow.o NDBT_ReturnC odes.o NDBT_Table.o NDBT_Output.o ../../../storage/ndb/src/.libs/libndbclient.a -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread ../../../dbug/libdbug.a ../../../mysys/libmysys.a ../../../strings/libmystrings .a -lz -lpthread -lcrypt -lnsl -lm -lpthread g++ -DHAVE_CONFIG_H -DNDEBUG -I. -I../../../include -I. -I../../../include -I ../../../storage/ndb/include -I../../../include -I../../../storage/ndb/include - I../../../storage/ndb/include/ndbapi -I../../../storage/ndb/include/util -I../.. /../storage/ndb/include/portlib -I../../../storage/ndb/test/include -I../../../s torage/ndb/include/mgmapi -I../../../storage/ndb/include/kernel -fPIC -marc h=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -fno-implicit-templates - fno-exceptions -fno-rtti -MT select_count.o -MD -MP -MF .deps/select_count.Tpo - c -o select_count.o select_count.cpp mv -f .deps/select_count.Tpo .deps/select_count.Po /bin/sh ../../../libtool --preserve-dup-deps --tag=CXX --mode=link g++ -fPI C -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -fno-implicit-temp lates -fno-exceptions -fno-rtti -static -Wl,--hash-style=gnu -Wl,--as-needed -rd ynamic -o ndb_select_count select_count.o NDBT_ReturnCodes.o NDBT_Table.o NDBT_ Output.o ../../../storage/ndb/src/libndbclient.la ../../../dbug/libdbug.a ../.. /../mysys/libmysys.a ../../../strings/libmystrings.a -lz -lpthread -lcrypt -lns l -lm -lpthread libtool: link: g++ -fPIC -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasi ng -fno-implicit-templates -fno-exceptions -fno-rtti -Wl,--hash-style=gnu -Wl,-- as-needed -rdynamic -o ndb_select_count select_count.o NDBT_ReturnCodes.o NDBT_T able.o NDBT_Output.o ../../../storage/ndb/src/.libs/libndbclient.a -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -l pthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread ../../../dbu g/libdbug.a ../../../mysys/libmysys.a ../../../strings/libmystrings.a -lz -lpthr ead -lcrypt -lnsl -lm -lpthread /usr/bin/ld: final link failed: No space left on device collect2: ld returned 1 exit status make[3]: *** [ndb_select_count] Error 1 make[3]: Leaving directory `/home/able/abs/local/mysql/src/mysql-5.1.42/storage/ ndb/tools' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/able/abs/local/mysql/src/mysql-5.1.42/storage/ ndb' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/able/abs/local/mysql/src/mysql-5.1.42/storage' make: *** [all-recursive] Error 1 ==> ERROR: Build Failed. Aborting... |
好像是空间不够???
作者: 奶酪小鼠 发布时间: 2010-01-31
"No space left on device"
df -h看一下
作者: iamkr 发布时间: 2010-01-31
在root用户下,拷贝/var/abs/extra/mysql到/var/abs/local/mysql
接着chown -r able mysql/
在able普通用户下,进入/var/abs/local/mysql,运行makepkg -c。
还在编译,都快30分钟了。(VM虚拟机中)
运行结果:
==> Tidying install... -> Purging other files... -> Compressing man and info pages... -> Stripping debugging symbols from binaries and libraries... -> Removing libtool .la files... ==> Creating package... -> Generating .PKGINFO file... -> Adding install script... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: mysql 5.1.42-1 i686 (Sat Jan 30 21:15:09 CST 2010) ==> Cleaning up... |
libmysqlclient-5.1.42-1-i686.pkg.tar.gz mysql-5.1.42-1-i686.pkg.tar.gz mysql-clients-5.1.42-1-i686.pkg.tar.gz |
pacman -U mysql-5.1.42.tar.gz,提示需要mysql-clients-5.1.42-1-i686.pkg.tar.gz
pacman -U mysql-clients-5.1.42-1-i686.pkg.tar.gz,提示需要libmysqlclient-5.1.42-1-i686.pkg.tar.gz
最后安装的顺序为
libmysqlclient-5.1.42-1-i686.pkg.tar.gz
mysql-clients-5.1.42-1-i686.pkg.tar.gz
mysql-5.1.42.tar.gz。
接下来:
在root用户下
启动:/etc/rc.conf的DAEMONS中加入mysqld或@mysqld
安装库:/usr/bin/mysql_install_db
修改权限:chown –R mysql /var/lib/mysql
作者: 奶酪小鼠 发布时间: 2010-01-31
安装courier-imap时,运行makepkg -c。
提示
==> Making package: courier-imap 4.4.1-2 i686 (Mon Feb 1 12:05:01 CST 2010) ==> Checking Runtime Dependencies... ==> Missing Dependencies: -> courier-maildrop>=2.0.4-4 -> fam ==> Checking Buildtime Dependencies... ==> ERROR: Could not resolve all dependencies. |
编译courier-imap的选项如何选?(在FreeBSD下可以选择TRASHQUOTA,AUTH_MYSQL两个选项。)
作者: 奶酪小鼠 发布时间: 2010-02-01
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28