免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4940 | 回复: 4
打印 上一主题 下一主题

CentOS5上安装mysql5.5.4-m3在make install时出现下错误 [复制链接]

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-04-19 13:24 |只看该作者 |倒序浏览
-bash-3.1# cat /etc/redhat-release
CentOS release 5 (Final)

-bash-3.1# uname -a
Linux dbtest.lfm-agile.com.hk 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux

-bash-3.1#  ./configure --with-tcp-port=5508 --with-unix-socket-path=/opt/MySQL554 --prefix=/opt/MySQL554
-bash-3.1# make
-bash-3.1# make install





make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ruochen/mysql-5.5.4-m3/vio'
make[1]: Leaving directory `/home/ruochen/mysql-5.5.4-m3/vio'
Making install in sql
make[1]: Entering directory `/home/ruochen/mysql-5.5.4-m3/sql'
make  install-recursive
make[2]: Entering directory `/home/ruochen/mysql-5.5.4-m3/sql'
Making install in share
make[3]: Entering directory `/home/ruochen/mysql-5.5.4-m3/sql/share'
make[4]: Entering directory `/home/ruochen/mysql-5.5.4-m3/sql/share'
make[4]: Nothing to be done for `install-exec-am'.
for lang in czech danish dutch english estonian french german greek hungarian italian japanese korean norwegian norwegian-ny polish portuguese romanian russian serbian slovak spanish swedish ukrainian; \
        do \
                /home/ruochen/mysql-5.5.4-m3/install-sh -d /opt/MySQL554/share/mysql/$lang; \
                /usr/bin/install -c -m 644 /$lang/errmsg.sys \
                                /opt/MySQL554/share/mysql/$lang/errmsg.sys; \
        done
/usr/bin/install: 无法 stat “/czech/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/danish/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/dutch/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/english/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/estonian/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/french/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/german/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/greek/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/hungarian/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/italian/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/japanese/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/korean/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/norwegian/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/norwegian-ny/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/polish/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/portuguese/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/romanian/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/russian/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/serbian/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/slovak/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/spanish/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/swedish/errmsg.sys”: 没有那个文件或目录
/usr/bin/install: 无法 stat “/ukrainian/errmsg.sys”: 没有那个文件或目录
make[4]: *** [install-data-local] 错误 1
make[4]: Leaving directory `/home/ruochen/mysql-5.5.4-m3/sql/share'
make[3]: *** [install-am] 错误 2
make[3]: Leaving directory `/home/ruochen/mysql-5.5.4-m3/sql/share'
make[2]: *** [install-recursive] 错误 1
make[2]: Leaving directory `/home/ruochen/mysql-5.5.4-m3/sql'
make[1]: *** [install] 错误 2
make[1]: Leaving directory `/home/ruochen/mysql-5.5.4-m3/sql'
make: *** [install-recursive] 错误 1

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
2 [报告]
发表于 2010-04-19 14:29 |只看该作者

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
3 [报告]
发表于 2010-04-19 15:06 |只看该作者
编译累呀~

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
4 [报告]
发表于 2010-04-20 08:07 |只看该作者
maillist上sun工程师的回复

Yes, this looks like bug#51740. That is fixed by now, and 5.5.5-m3 will
not have it, but sadly it is present in 5.5.4-m3.


Basically, you have two chances:

1) Check the report for bug#51740, you will find the comments about it
   being caused by the fix for bug#35250.
   Check that report, you will find pointers to the fixes.
   The final fix is
      http://lists.mysql.com/commits/102846

   Download that fix, apply it to your sources, rebuild.

2) Just hack "sql/share/Makefile":
   Check the fix as described above, you will find that the change is to
   replace several
        $(builddir)
   by
        $/srcdir)
   in "sql/share/Makefile.am".

   This change will be propagated to "sql/share/Makefile" by the
   autotools, but you might as well do that manually and so avoid the
   full rebuild.


HTH,
Jörg

--
Joerg Bruehe,  MySQL Build Team,  Joerg.Bruehe@Sun.COM
               (+49 30) 417 01 487
Sun Microsystems GmbH,   Komturstrasse 18a,   D-12099 Berlin
Geschaeftsfuehrer: Juergen Kunz
Amtsgericht Muenchen: HRB161028

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
5 [报告]
发表于 2010-04-20 09:09 |只看该作者
按照第二种方法hack "sql/share/Makefile"后编译通过

root@localhost:(none) 09:09:30>select version();
+-----------+
| version() |
+-----------+
| 5.5.4-m3  |
+-----------+
1 row in set (0.00 sec)
  1. root@localhost:(none) 09:06:19>show engines;
  2. +--------------------+---------+----------------------------------------------------------------+--------------+------+------------+
  3. | Engine             | Support | Comment                                                        | Transactions | XA   | Savepoints |
  4. +--------------------+---------+----------------------------------------------------------------+--------------+------+------------+
  5. | InnoDB             | YES     | Supports transactions, row-level locking, and foreign keys     | YES          | YES  | YES        |
  6. | MRG_MYISAM         | YES     | Collection of identical MyISAM tables                          | NO           | NO   | NO         |
  7. | MEMORY             | YES     | Hash based, stored in memory, useful for temporary tables      | NO           | NO   | NO         |
  8. | BLACKHOLE          | YES     | /dev/null storage engine (anything you write to it disappears) | NO           | NO   | NO         |
  9. | CSV                | YES     | CSV storage engine                                             | NO           | NO   | NO         |
  10. | MyISAM             | DEFAULT | Default engine as of MySQL 3.23 with great performance         | NO           | NO   | NO         |
  11. | ARCHIVE            | YES     | Archive storage engine                                         | NO           | NO   | NO         |
  12. | FEDERATED          | NO      | Federated MySQL storage engine                                 | NULL         | NULL | NULL       |
  13. | PERFORMANCE_SCHEMA | YES     | Performance Schema                                             | NO           | NO   | NO         |
  14. +--------------------+---------+----------------------------------------------------------------+--------------+------+------------+
  15. 9 rows in set (0.00 sec)

  16. root@localhost:(none) 09:06:52>show plugins;
  17. +---------------------+----------+--------------------+---------+---------+
  18. | Name                | Status   | Type               | Library | License |
  19. +---------------------+----------+--------------------+---------+---------+
  20. | binlog              | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  21. | CSV                 | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  22. | MEMORY              | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  23. | MyISAM              | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  24. | MRG_MYISAM          | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  25. | partition           | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  26. | ARCHIVE             | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  27. | BLACKHOLE           | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  28. | FEDERATED           | DISABLED | STORAGE ENGINE     | NULL    | GPL     |
  29. | InnoDB              | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  30. | INNODB_TRX          | ACTIVE   | INFORMATION SCHEMA | NULL    | GPL     |
  31. | INNODB_LOCKS        | ACTIVE   | INFORMATION SCHEMA | NULL    | GPL     |
  32. | INNODB_LOCK_WAITS   | ACTIVE   | INFORMATION SCHEMA | NULL    | GPL     |
  33. | INNODB_CMP          | ACTIVE   | INFORMATION SCHEMA | NULL    | GPL     |
  34. | INNODB_CMP_RESET    | ACTIVE   | INFORMATION SCHEMA | NULL    | GPL     |
  35. | INNODB_CMPMEM       | ACTIVE   | INFORMATION SCHEMA | NULL    | GPL     |
  36. | INNODB_CMPMEM_RESET | ACTIVE   | INFORMATION SCHEMA | NULL    | GPL     |
  37. | PERFORMANCE_SCHEMA  | ACTIVE   | STORAGE ENGINE     | NULL    | GPL     |
  38. +---------------------+----------+--------------------+---------+---------+
  39. 18 rows in set (0.00 sec)
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP