安装mysql5.1, oracle10g分别遇到一个问题.
时间:2008-05-20 来源:cocolala
一,mysql5.1必须在glibc 2.3及以上版本才能正常编译
glibc 2.2.5下安装mysql 5.1.24-rc编译(make)时遇错
GNU C Library stable release version 2.2.5
..............
gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql51\" -DDATADIR="\"/usr/local/mysql51/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql51\"" -DSHAREDIR="\"/usr/local/mysql51/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/usr/local/mysql51/etc\"" -DHAVE_CONFIG_H -I. -I. -I../include -I../zlib -I../include -I../include -I. -O3 -DUNIV_LINUX -c my_sync.c
my_sync.c: In function `my_sync_dir':
my_sync.c:108: parse error before `dir_fd'
my_sync.c:112: `correct_dir_name' undeclared (first use in this function)
my_sync.c:112: (Each undeclared identifier is reported only once
my_sync.c:112: for each function it appears in.)
my_sync.c:117: `dir_fd' undeclared (first use in this function)
my_sync.c:120: `res' undeclared (first use in this function)
make[1]: *** [my_sync.o] Error 1
make[1]: Leaving directory `/usr/src/mysql-5.1.24-rc/mysys'
make: *** [all-recursive] Error 1 换台suse机器suse10 2.6.16.21 glibc2.4 (GNU C Library development release version 2.4) 安装正常 上述mysql5.1.24-rc的"INSTALL-SOURCE"中说得比较清楚 2.1.1. Operating Systems Supported by MySQL Community Server ........... MySQL has been reported to compile successfully on the following
combinations of operating system and thread package. .... * Linux, builds on all fairly recent Linux distributions with
glibc 2.3. See Section 2.13.1, "Linux Notes." 二,oracle安装时如果在ldap环境,sqlplus连接会hang 同事jim在装虚拟机环境(帐号用ldap管理)安装oracle10gR2时正常,用sqlplus连接时报错 我安装oracle现在都很正常。日志也正常。执行sqlplus时候就停滞在这里了
munmap(0x2aae8b460000, 4096) = 0
getuid() = 30012
futex(0x2aae8a326878, FUTEX_WAIT, 2, NULL ... Futex是fast userspace mutex的缩写,意思是快速用户空间互斥体。Linux内核把它们作为快速的用户空间的锁和信号量的预制构件提供给开发者。Futex非常基础,借助其自身的优异性能,构建更高级别的锁的抽象,如POSIX互斥体。大多数程序员并不需要直接使用Futex,它一般用来实现像NPTL这样的系统库。 metalink上有类似错误情况 https://metalink.oracle.com/metalink/plsql/f?p=130:14:79844992874824562::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,419285.1,1,1,1,helvetica
是类似一个软件。
SQLPLUS connection to database hangs when Vintela software is installed
Doc ID: Note:419285.1
my_sync.c: In function `my_sync_dir':
my_sync.c:108: parse error before `dir_fd'
my_sync.c:112: `correct_dir_name' undeclared (first use in this function)
my_sync.c:112: (Each undeclared identifier is reported only once
my_sync.c:112: for each function it appears in.)
my_sync.c:117: `dir_fd' undeclared (first use in this function)
my_sync.c:120: `res' undeclared (first use in this function)
make[1]: *** [my_sync.o] Error 1
make[1]: Leaving directory `/usr/src/mysql-5.1.24-rc/mysys'
make: *** [all-recursive] Error 1 换台suse机器suse10 2.6.16.21 glibc2.4 (GNU C Library development release version 2.4) 安装正常 上述mysql5.1.24-rc的"INSTALL-SOURCE"中说得比较清楚 2.1.1. Operating Systems Supported by MySQL Community Server ........... MySQL has been reported to compile successfully on the following
combinations of operating system and thread package. .... * Linux, builds on all fairly recent Linux distributions with
glibc 2.3. See Section 2.13.1, "Linux Notes." 二,oracle安装时如果在ldap环境,sqlplus连接会hang 同事jim在装虚拟机环境(帐号用ldap管理)安装oracle10gR2时正常,用sqlplus连接时报错 我安装oracle现在都很正常。日志也正常。执行sqlplus时候就停滞在这里了
munmap(0x2aae8b460000, 4096) = 0
getuid() = 30012
futex(0x2aae8a326878, FUTEX_WAIT, 2, NULL ... Futex是fast userspace mutex的缩写,意思是快速用户空间互斥体。Linux内核把它们作为快速的用户空间的锁和信号量的预制构件提供给开发者。Futex非常基础,借助其自身的优异性能,构建更高级别的锁的抽象,如POSIX互斥体。大多数程序员并不需要直接使用Futex,它一般用来实现像NPTL这样的系统库。 metalink上有类似错误情况 https://metalink.oracle.com/metalink/plsql/f?p=130:14:79844992874824562::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,419285.1,1,1,1,helvetica
是类似一个软件。
SQLPLUS connection to database hangs when Vintela software is installed
Doc ID: Note:419285.1
相关阅读 更多 +