免费注册 查看新帖 |

Chinaunix

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

求助:编译安装DBD::Oracle失败 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-07-08 13:43 |只看该作者 |倒序浏览
# perl Makefile.PL
Using DBI 1.607 (for perl 5.010000 on x86_64-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/DBI/

Configuring DBD::Oracle for perl 5.010000 on linux (x86_64-linux-thread-multi)

Remember to actually *READ* the README file! Especially if you have any problems.

Installing on a linux, Ver#2.6
Using Oracle in /opt/oracle11g/app/oracle/product/11.2/db_1
DEFINE _SQLPLUS_RELEASE = "1102000100" (CHAR)
Oracle version 11.2.0.1 (11.2)
Found /opt/oracle11g/app/oracle/product/11.2/db_1/rdbms/lib/ins_rdbms.mk
Using /opt/oracle11g/app/oracle/product/11.2/db_1/rdbms/lib/ins_rdbms.mk
Your LD_LIBRARY_PATH env var is set to '/opt/oracle11g/app/oracle/product/11.2/db_1/lib:/lib:/lib64:/usr/lib:/usr/lib64:/opt/oracle11g/app/oracle/product/11.2/db_1/rdbms/lib'
Reading /opt/oracle11g/app/oracle/product/11.2/db_1/rdbms/lib/ins_rdbms.mk
Reading /opt/oracle11g/app/oracle/product/11.2/db_1/rdbms/lib/env_rdbms.mk
WARNING: Oracle /opt/oracle11g/app/oracle/product/11.2/db_1/rdbms/lib/ins_rdbms.mk doesn't define a 'build' rule.

WARNING: I will now try to guess how to build and link DBD::Oracle for you.
         This kind of guess work is very error prone and Oracle-version sensitive.
         It is possible that it won't be supported in future versions of DBD::Oracle.
         *PLEASE* notify dbi-users about exactly _why_ you had to build it this way.

Found header files in /opt/oracle11g/app/oracle/product/11.2/db_1/rdbms/public.

client_version=11.2


DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.1\" -DORA_OCI_102 -DORA_OCI_112


Checking for functioning wait.ph


System: perl5.010000 linux baur 2.6.32 #1 smp mon mar 11 13:17:13 utc 2013 (ee4af79) x86_64 x86_64 x86_64 gnulinux
Compiler:   cc -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
Linker:     /usr/bin/ld
Sysliblist: -ldl -lm -lpthread -lnsl -lirc -lipgo -lsvml
Oracle makefiles would have used these definitions but we override them:
  CC:       $(COMPDIR)/bin/gcc
  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
        $(SHARED_CFLAG) $(USRFLAGS)
           [$(GFLAG) -O3 $(CDEBUG) -m32 -trigraphs -fPIC -I/opt/oracle11g/app/oracle/product/11.2/db_1/rdbms/demo -I/opt/oracle11g/app/oracle/product/11.2/db_1/rdbms/public -I/opt/oracle11g/app/oracle/product/11.2/db_1/plsql/public -I/opt/oracle11g/app/oracle/product/11.2/db_1/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -D__NO_CTYPE=1 -DLDAP_CM $(LPFLAGS) $(PLSQLNCGFLAGS) $(USRFLAGS)]
  LDFLAGS:  $(LDFLAGS32)
           [-m32 -o $@ -L/opt/oracle11g/app/oracle/product/11.2/db_1/rdbms//lib32/ -L/opt/oracle11g/app/oracle/product/11.2/db_1/lib32/ -L/opt/oracle11g/app/oracle/product/11.2/db_1/lib32/stubs/]
Linking with  -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -lsvml -ldl -lm -lpthread [from $(OCISHAREDLIBS)]

WARNING: META_MERGE is not a known parameter.
'META_MERGE' is not a known MakeMaker parameter name.
LD_RUN_PATH=/opt/oracle11g/app/oracle/product/11.2/db_1/lib:/lib64
Using DBD::Oracle 1.74.
Using DBD::Oracle 1.74.
Using DBI 1.607 (for perl 5.010000 on x86_64-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::Oracle

***  If you have problems...
     read all the log printed above, and the README and README.help.txt files.
     (Of course, you have read README by now anyway, haven't you?)

论坛徽章:
0
2 [报告]
发表于 2014-07-08 13:44 |只看该作者
使用的DBD::Oracle版本是1.74 , Oracle版本是11.2 , perl的版本是5.10.0 ,操作系统是SuSE Linux 11 SP3

论坛徽章:
0
3 [报告]
发表于 2014-07-08 13:46 |只看该作者
环境变量如下:
export LANG=zh_CN.utf8
export LC_ALL=zh_CN.utf8
export ORACLE_BASE=/opt/oracle11g/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2/db_1
export ORACLE_SID=MONITOR
export NLS_LANG="SIMPLIFIED CHINESE"_CHINA.AL32UTF8
export ORACLE_HOME_LISTNER=$ORACLE_HOME
export PATH=$ORACLE_HOME/binPATH
export LD_LIBRARY_PATH=/opt/oracle11g/app/oracle/product/11.2/db_1/lib:/lib:/lib64:/usr/lib:/usr/lib64

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
4 [报告]
发表于 2014-07-08 15:46 |只看该作者
只看到了几个warning 呀. 没看到 Error .

论坛徽章:
78
双子座
日期:2013-10-15 08:50:09天秤座
日期:2013-10-16 18:02:08白羊座
日期:2013-10-18 13:35:33天蝎座
日期:2013-10-18 13:37:06狮子座
日期:2013-10-18 13:40:31双子座
日期:2013-10-22 13:58:42戌狗
日期:2013-10-22 18:50:04CU十二周年纪念徽章
日期:2013-10-24 15:41:34巨蟹座
日期:2013-10-24 17:14:56处女座
日期:2013-10-24 17:15:30双子座
日期:2013-10-25 13:49:39午马
日期:2013-10-28 15:02:15
5 [报告]
发表于 2014-07-08 15:50 |只看该作者
这个只是声称makefile,还有下一步

论坛徽章:
42
19周年集字徽章-周
日期:2019-10-14 14:35:31平安夜徽章
日期:2015-12-26 00:06:30数据库技术版块每日发帖之星
日期:2015-12-01 06:20:002015亚冠之首尔
日期:2015-11-04 22:25:43IT运维版块每日发帖之星
日期:2015-08-17 06:20:00寅虎
日期:2014-06-04 16:25:27狮子座
日期:2014-05-12 11:00:00辰龙
日期:2013-12-20 17:07:19射手座
日期:2013-10-24 21:01:23CU十二周年纪念徽章
日期:2013-10-24 15:41:34IT运维版块每日发帖之星
日期:2016-01-27 06:20:0015-16赛季CBA联赛之新疆
日期:2016-06-07 14:10:01
6 [报告]
发表于 2014-07-08 17:35 |只看该作者
提供make和make test的结果
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP