关于mysql安装问题
大家好!我们单位有一台Sun250的服务器,现在想安装MySQL,目前我只能在X86机器上模拟安装,现在遇到一些问题请大家帮助一下!
先谢了!
我的操作系统为Solaris 8 For X86 版本为Generic_108529-13
安装了
Gzip 1.3.5、
GCC3.2.2、
make3.80、
tar1.13.19、
ncurses5.3、
autoconf2.57、
automake1.7.2、
bison1.875、
zlib1.14,
后又安装了Perl5.8.0、
DB3.3.11、
gdb5.0、
libstdc++2.8.11(安装时显示和GCC有些文件冲突)、
egcs1.1.2
MySQL安装手册提示在Solaris for X86版本中安装配置参数为:
CC=gcc CFLAGS="-06 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-06 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql
以上步骤都通过,但在make过程中开始报错!
具体内容是:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O3 -DDBUG_OFF
-DHAVE_CURSES_H -I/usr/sunsoft/mysql-3.23.55/include -DHAVE_RWLOCK_T -c `test -
f myrg_rrnd.c || echo './'`myrg_rrnd.c
make[2]: *** [myrg_rrnd.o] 段错误 (core dumped)
make[2]: *** Deleting file `myrg_rrnd.o'
make[2]: Leaving directory `/usr/sunsoft/mysql-3.23.55/myisammrg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/sunsoft/mysql-3.23.55'
make: *** [all] Error 2
# pwd
/usr/sunsoft/mysql-3.23.55
#
机器路径我设为:
PATH=/usr/local/bin:/usr/local/egcs:/usr/local/egcs/bin:/usr/local/sbin:/usr/ccs/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/BerkeleyDB.3.3:/usr/local/BerkeleyDB.3.3/bin; export PATH
另外不知道需要安装BerkeleyDB否!
我也参照CU论谈中http://www.chinaunix.net/jh/6/83729.html此篇文章进行设置,但也不好用,请问哪位大侠能够告诉我为什么?