[问题]安装Oracle 10g 出错

数据库服务和管理,MySQL/PostgreSQL/Oracle/Sybase 等
回复
zippo
帖子: 4
注册时间: 2005-05-20 21:43
送出感谢: 0
接收感谢: 0

[问题]安装Oracle 10g 出错

#1

帖子 zippo » 2006-02-19 21:37

安装到62%Building client shared libraries 出错。打开make.log的信息如下:

/usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/usr/share/oracle10g/oracle//usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/usr/share/oracle10g/oracle/rm -f ntcontab.*
(if [ "compile" = "compile" ] ; then \
/usr/share/oracle10g/oracle/bin/gennttab > ntcontab.c ;\
/usr/bin/gcc -c ntcontab.c ;\
rm -f /usr/share/oracle10g/oracle/lib/ntcontab.o ;\
mv ntcontab.o /usr/share/oracle10g/oracle/lib/ ;\
/usr/bin/ar rv /usr/share/oracle10g/oracle/lib/libn10.a /usr/share/oracle10g/oracle/lib/ntcontab.o ; fi)
/bin/sh: /usr/share/oracle10g/oracle/bin/gennttab: 权限不够
r - /usr/share/oracle10g/oracle/lib/ntcontab.o
(if [ "compile" = "assemble" ] ; then \
/usr/share/oracle10g/oracle/bin/gennttab > ntcontab.s ;\
/usr/bin/as -o ntcontab.o ntcontab.s ;\
rm -f /usr/share/oracle10g/oracle/lib/ntcontab.o ;\
mv ntcontab.o /usr/share/oracle10g/oracle/lib/ ;\
/usr/bin/ar rv /usr/share/oracle10g/oracle/lib/libn10.a /usr/share/oracle10g/oracle/lib/ntcontab.o ; fi)
(if [ "compile" = "oratmp" ] ; then \
/usr/share/oracle10g/oracle/bin/gennttab > ntcontab.c ;\
/lib/idcpp ntcontab.c oratmp.c ;\
-i oratmp.c -o oratmp.s -f ntcontab.c ;\
/usr/bin/as -o ntcontab.o oratmp.s ;\
rm -f oratmp.c oratmp.s ;\
rm -f /usr/share/oracle10g/oracle/lib/ntcontab.o ;\
mv ntcontab.o /usr/share/oracle10g/oracle/lib/ ;\
/usr/bin/ar rv /usr/share/oracle10g/oracle/lib/libn10.a /usr/share/oracle10g/oracle/lib/ntcontab.o ; fi)
(if [ "compile" = "binary" ] ; then \
/usr/share/oracle10g/oracle/bin/gennttab > ntcontab.c ;\
TARGET_BINARY_INTERFACE= ;\
export TARGET_BINARY_INTERFACE ;\
/usr/bin/gcc -c ntcontab.c ;\
-rm -f /usr/share/oracle10g/oracle/lib/ntcontab.o ;\
-mv ntcontab.o /usr/share/oracle10g/oracle/lib/ ;\
/usr/bin/ar rv /usr/share/oracle10g/oracle/lib/libn10.a /usr/share/oracle10g/oracle/lib/ntcontab.o ; fi)
/usr/bin/make -f ins_net_client.mk nnfgt.o ORACLE_HOME =/usr/share/oracle10g/oracle/rm -f nnfgt.*
(if [ "compile" = "compile" ] ; then \
/usr/share/oracle10g/oracle/bin/gennfgt > nnfgt.c ;\
/usr/bin/gcc -c nnfgt.c ;\
rm -f /usr/share/oracle10g/oracle/lib/nnfgt.o ;\
mv nnfgt.o /usr/share/oracle10g/oracle/lib/ ;\
/usr/bin/ar rv /usr/share/oracle10g/oracle/lib/libn10.a /usr/share/oracle10g/oracle/lib/nnfgt.o ; fi)
/bin/sh: /usr/share/oracle10g/oracle/bin/gennfgt: 权限不够
r - /usr/share/oracle10g/oracle/lib/nnfgt.o
(if [ "compile" = "assemble" ] ; then \
/usr/share/oracle10g/oracle/bin/gennfgt > nnfgt.s ;\
/usr/bin/as -o nnfgt.o nnfgt.s ;\
rm -f /usr/share/oracle10g/oracle/lib/nnfgt.o ;\
mv nnfgt.o /usr/share/oracle10g/oracle/lib/ ;\
/usr/bin/ar rv /usr/share/oracle10g/oracle/lib/libn10.a /usr/share/oracle10g/oracle/lib/nnfgt.o ; fi)
(if [ "compile" = "oratmp" ] ; then \
/usr/share/oracle10g/oracle/bin/gennfgt > nnfgt.c ;\
/lib/idcpp nnfgt.c oratmp.c ;\
-i oratmp.c -o oratmp.s -f nnfgt.c ;\
/usr/bin/as -o nnfgt.o oratmp.s ;\
rm -f oratmp.c oratmp.s ;\
rm -f /usr/share/oracle10g/oracle/lib/nnfgt.o ;\
mv nnfgt.o /usr/share/oracle10g/oracle/lib/ ;\
/usr/bin/ar rv /usr/share/oracle10g/oracle/lib/libn10.a /usr/share/oracle10g/oracle/lib/nnfgt.o ; fi)
(if [ "compile" = "binary" ] ; then \
/usr/share/oracle10g/oracle/bin/gennfgt > nnfgt.c ;\
TARGET_BINARY_INTERFACE= ;\
export TARGET_BINARY_INTERFACE ;\
/usr/bin/gcc -c nnfgt.c ;\
-rm -f /usr/share/oracle10g/oracle/lib/nnfgt.o ;\
-mv nnfgt.o /usr/share/oracle10g/oracle/lib/ ;\
/usr/bin/ar rv /usr/share/oracle10g/oracle/lib/libn10.a /usr/share/oracle10g/oracle/lib/nnfgt.o ; fi)
/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/usr/share/oracle10g/oracle//usr/share/oracle10g/oracle/bin/genclntsh
make: execvp: /usr/share/oracle10g/oracle/bin/genclntsh: 权限不够
make: *** [client_sharedlib] 错误 127
附件
Screenshot-1.png
Jamsa
帖子: 147
注册时间: 2006-03-17 13:40
送出感谢: 0
接收感谢: 0

#2

帖子 Jamsa » 2006-04-20 13:53

我也遇到同样的问题,是在Dapper上面
Jamsa
帖子: 147
注册时间: 2006-03-17 13:40
送出感谢: 0
接收感谢: 0

#3

帖子 Jamsa » 2006-04-20 13:55

我也遇到同样的问题,是在Dapper上面
jk8158
帖子: 3
注册时间: 2008-03-07 14:04
送出感谢: 0
接收感谢: 0

#4

帖子 jk8158 » 2008-03-07 14:07

我的是Ubuntu7.10版本 跟楼主差不多,安装到62%时,出现erro in invoking target 'client_sharedlib' of makefile '/opt/ora10/network/lib/ins_net_client.mk' 还请大侠门指教!
jk8158
帖子: 3
注册时间: 2008-03-07 14:04
送出感谢: 0
接收感谢: 0

#5

帖子 jk8158 » 2008-03-07 14:07

我的是Ubuntu7.10版本 跟楼主差不多,安装到62%时,出现erro in invoking target 'client_sharedlib' of makefile '/opt/ora10/network/lib/ins_net_client.mk' 还请大侠门指教!
linxiao
帖子: 11
注册时间: 2007-04-20 17:47
送出感谢: 0
接收感谢: 0

#6

帖子 linxiao » 2008-03-14 17:28

缺少了一个必须安装的包。oracle10g不可缺少的包如下,先检查一下包安装了吗?
gcc
make
binutils
openmotif
openmotif
setarch
compat-db
compat-gcc-7.3
compat-gcc-c++-7.3
compat-libstdc++-7.3
compat-libstdc++-devel-7.3
回复

回到 “数据库管理”