|
(Perl) Проблема с установкой DBD::Oracle - 1.16
#33614126
Ссылка:
Ссылка на сообщение:
Ссылка с названием темы:
Ссылка на профиль пользователя:
|
Участник
Откуда: Тюмень
Сообщения: 93
|
|
Теперь он выдаёт:
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77. 78. 79. 80. 81. 82. 83. 84. 85. 86. 87. 88. 89. 90. 91. 92. 93. 94. 95. 96. 97. 98. 99. 100. 101. 102. 103. 104. 105. 106. 107. 108. 109. 110. 111. 112. 113. 114. 115. 116. 117. 118. 119. 120. 121. 122. 123. 124. 125. 126. 127. 128. 129. 130. 131. 132. 133. 134. 135. 136. 137. 138. 139. 140. 141. 142. 143. 144. 145. 146. 147. 148. 149. 150. 151. 152. 153. 154. 155. 156. 157. 158. 159. 160. 161. 162. 163. 164. 165. 166. 167. 168. 169. 170. 171. 172. 173. 174. 175. 176. 177. 178. 179. 180. 181. 182. 183. 184. 185. 186. 187. 188. 189. 190. 191. 192. 193. 194. 195. 196. 197. 198. 199. 200. 201. 202. 203. 204. 205. 206. 207. 208. 209. 210. 211. 212. 213. 214. 215. 216. 217. 218. 219.
[oracle@hdok0e DBD-Oracle- 1 . 16 ]$ perl Makefile.PL && make && make test
Using DBI 1 . 32 installed in /usr/lib/perl5/vendor_perl/ 5 . 8 . 0 /i386-linux-thread-multi/auto/DBI
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in /ora/app/9i2
DEFINE _SQLPLUS_RELEASE = "902000500" (CHAR)
Oracle version 9 . 2 . 0 . 5 ( 9 . 2 )
Found /ora/app/9i2/rdbms/demo/demo_rdbms.mk
Found /ora/app/9i2/otrace/demo/atmoci.mk
Using /ora/app/9i2/rdbms/demo/demo_rdbms.mk
Reading /ora/app/9i2/rdbms/demo/demo_rdbms.mk
Reading /ora/app/9i2/rdbms/lib/env_rdbms.mk
Attempting to discover Oracle OCI build rules
gcc -c -I/ora/app/9i2/rdbms/demo -I/ora/app/9i2/rdbms/public -I/ora/app/9i2/plsql/public -I/ora/app/9i2/network/public -I/ora/app/9i2/rdbms/demo -I/ora/app/9i2/plsql/public -I/ora/app/9i2/rdbms/public -I/ora/app/9i2/rdbms/demo -I/usr/lib/perl5/vendor_perl/ 5 . 8 . 0 /i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS= 64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.5\" DBD_ORA_OBJ.c
by executing: [make -f /ora/app/9i2/rdbms/demo/demo_rdbms.mk build ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=true OPTIMIZE= CCFLAGS= EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o]
Oracle oci build command:
[true -L/ora/app/9i2/lib/ -L/ora/app/9i2/rdbms/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh `cat /ora/app/9i2/lib/sysliblist` -ldl -lm ]
Found header files in plsql/public rdbms/public rdbms/demo.
Checking for functioning wait.ph
System: perl5. 008 linux bugs.build.redhat.com 2 . 4 . 21 - 23 .elsmp # 1 smp thu oct 28 20 : 10 : 03 edt 2004 i686 i686 i386 gnulinux
Compiler: gcc -O2 -g -pipe -march=i386 -mcpu=i686 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS= 64 -I/usr/include/gdbm
Linker: /usr/bin/ld
Sysliblist: -ldl -lm -lpthread -lnsl -lirc
Oracle makefiles would have used these definitions but we override them:
CC: /usr/bin/gcc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS) -fp
[$(GFLAG) -O3 $(CDEBUG) $(CCFLAGS) -I/ora/app/9i2/rdbms/demo -I/ora/app/9i2/rdbms/public -I/ora/app/9i2/plsql/public -I/ora/app/9i2/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE= 1 -D_LARGEFILE_SOURCE= 1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS $(LPFLAGS) $(USRFLAGS) -fp]
LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/
[-o $@ -L/ora/app/9i2/rdbms/lib/ -L$(LIBHOME) -L$(LIBHOME)stubs/]
Linking with OTHERLDFLAGS = -L/ora/app/9i2/lib/ -L/ora/app/9i2/rdbms/lib/ -lclntsh `cat /ora/app/9i2/lib/sysliblist` -ldl -lm [from 'build' rule]
LD_RUN_PATH=/ora/app/9i2/lib:/ora/app/9i2/rdbms/lib
Using DBD::Oracle 1 . 16 .
Using DBD::Oracle 1 . 16 .
Using DBI 1 . 32 installed in /usr/lib/perl5/vendor_perl/ 5 . 8 . 0 /i386-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 files.
(Of course, you have read README by now anyway, haven't you?)
Skip blib/lib/DBD/Oracle.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
Skip blib/lib/oraperl.ph (unchanged)
Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
Skip blib/lib/Oraperl.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
gcc -c -I/ora/app/9i2/rdbms/demo -I/ora/app/9i2/rdbms/public -I/ora/app/9i2/plsql/public -I/ora/app/9i2/network/public -I/ora/app/9i2/rdbms/demo -I/ora/app/9i2/plsql/public -I/ora/app/9i2/rdbms/public -I/ora/app/9i2/rdbms/demo -I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.5\" Oracle.c
Oracle.c: In function `XS_DBD__Oracle__db_ora_lob_append':
Oracle.xs: 191 : warning: unused variable `startp'
gcc -c -I/ora/app/9i2/rdbms/demo -I/ora/app/9i2/rdbms/public -I/ora/app/9i2/plsql/public -I/ora/app/9i2/network/public -I/ora/app/9i2/rdbms/demo -I/ora/app/9i2/plsql/public -I/ora/app/9i2/rdbms/public -I/ora/app/9i2/rdbms/demo -I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.5\" dbdimp.c
dbdimp.c: In function `ora_db_login6':
dbdimp.c: 283 : warning: unused variable `l'
dbdimp.c:282: warning: unused variable `o'
dbdimp.c: 629 : warning: value computed is not used
dbdimp.c: In function `dbd_rebind_ph_char':
dbdimp.c:1061: warning: value computed is not used
gcc -c -I/ora/app/9i2/rdbms/demo -I/ora/app/9i2/rdbms/public -I/ora/app/9i2/plsql/public -I/ora/app/9i2/network/public -I/ora/app/9i2/rdbms/demo -I/ora/app/9i2/plsql/public -I/ora/app/9i2/rdbms/public -I/ora/app/9i2/rdbms/demo -I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.5\" oci8.c
oci8.c: In function `fetch_func_varfield':
oci8.c: 540 : warning: value computed is not used
oci8.c: In function `fetch_func_nty':
oci8.c:571: warning: value computed is not used
oci8.c: In function `dbd_rebind_ph_lob':
oci8.c: 628 : warning: value computed is not used
oci8.c: In function `ora_blob_read_mb_piece':
oci8.c:664: warning: value computed is not used
oci8.c:672: warning: value computed is not used
oci8.c:680: warning: value computed is not used
oci8.c:708: warning: value computed is not used
oci8.c: In function `ora_blob_read_piece':
oci8.c: 768 : warning: value computed is not used
oci8.c: 775 : warning: value computed is not used
oci8.c: 782 : warning: value computed is not used
oci8.c: 812 : warning: value computed is not used
oci8.c: 825 : warning: long unsigned int format, ub4 arg (arg 9 )
oci8.c: 842 : warning: value computed is not used
oci8.c: In function `fetch_func_autolob':
oci8.c:911: warning: value computed is not used
oci8.c:944: warning: value computed is not used
oci8.c:953: warning: value computed is not used
oci8.c:973: warning: value computed is not used
oci8.c: In function `ora_st_fetch':
oci8.c: 1449 : warning: value computed is not used
oci8.c: 1468 : warning: value computed is not used
oci8.c: In function `post_execute_lobs':
oci8.c:1950: warning: value computed is not used
oci8.c:1953: warning: value computed is not used
oci8.c: At top level:
oci8.c:566: warning: `fetch_func_nty' defined but not used
oci8.c: 1012 : warning: `fbh_setup_getrefpv' defined but not used
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/ora/app/9i2/lib:/ora/app/9i2/rdbms/lib" gcc -shared -L/usr/local/lib Oracle.o dbdimp.o oci8.o -L/ora/app/9i2/lib/ -L/ora/app/9i2/rdbms/lib/ -lclntsh `cat /ora/app/9i2/lib/sysliblist` -ldl -lm -o blib/arch/auto/DBD/Oracle/Oracle.so
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
cp ora_explain blib/script/ora_explain
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ora_explain
Manifying blib/man3/DBD::Oracle.3pm
Manifying blib/man1/ora_explain.1
Manifying blib/man3/DBD::Oraperl.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base................ok
t/10general.............DBI connect('','scott/tiger',...) failed: ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin) at t/10general.t line 12
Undefined subroutine &main::BAILOUT called at t/10general.t line 15.
# Looks like your test died before it could output anything.
t/10general.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-31
Failed 31/31 tests, 0.00% okay
t/15nls.................DBI connect('','scott/tiger',...) failed: ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin) at t/15nls.t line 15
t/15nls.................ok
9/9 skipped: Unable to connect to Oracle (ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin))
t/20select..............Can't run this test using Perl 5 . 008 without DBI >= 1 . 38 at t/nchar_test_lib.pl line 12 .
Compilation failed in require at t/20select.t line 10 .
t/20select..............dubious
Test returned status 255 (wstat 65280 , 0xff00)
t/21nchar...............Can't run this test using Perl 5.008 without DBI >= 1.38 at t/nchar_test_lib.pl line 12.
Compilation failed in require at t/21nchar.t line 9.
# Looks like your test died before it could output anything.
t/21nchar...............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/22nchar_al32utf8......Can't run this test using Perl 5 . 008 without DBI >= 1 . 38 at t/nchar_test_lib.pl line 12 .
Compilation failed in require at t/22nchar_al32utf8.t line 12 .
# Looks like your test died before it could output anything.
t/22nchar_al32utf8......dubious
Test returned status 255 (wstat 65280 , 0xff00)
t/22nchar_utf8..........Can't run this test using Perl 5.008 without DBI >= 1.38 at t/nchar_test_lib.pl line 12.
Compilation failed in require at t/22nchar_utf8.t line 12.
# Looks like your test died before it could output anything.
t/22nchar_utf8..........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/23wide_db.............Can't run this test using Perl 5 . 008 without DBI >= 1 . 38 at t/nchar_test_lib.pl line 12 .
Compilation failed in require at t/23wide_db.t line 12 .
# Looks like your test died before it could output anything.
t/23wide_db.............dubious
Test returned status 255 (wstat 65280 , 0xff00)
t/23wide_db_8bit........Can't run this test using Perl 5.008 without DBI >= 1.38 at t/nchar_test_lib.pl line 12.
Compilation failed in require at t/23wide_db_8bit.t line 12.
# Looks like your test died before it could output anything.
t/23wide_db_8bit........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/23wide_db_al32utf8....Can't run this test using Perl 5 . 008 without DBI >= 1 . 38 at t/nchar_test_lib.pl line 12 .
Compilation failed in require at t/23wide_db_al32utf8.t line 12 .
# Looks like your test died before it could output anything.
t/23wide_db_al32utf8....dubious
Test returned status 255 (wstat 65280 , 0xff00)
t/24implicit_utf8.......Can't run this test using Perl 5.008 without DBI >= 1.38 at t/nchar_test_lib.pl line 12.
Compilation failed in require at t/24implicit_utf8.t line 9.
# Looks like your test died before it could output anything.
t/24implicit_utf8.......dubious
Test returned status 255 (wstat 65280, 0xff00)
t/25plsql...............Unable to connect to Oracle (ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin))
Tests skiped.
skipped
all skipped: no reason given
t/30long................Can't run this test using Perl 5 . 008 without DBI >= 1 . 38 at t/nchar_test_lib.pl line 12 .
Compilation failed in require at t/30long.t line 12 .
# Looks like your test died before it could output anything.
t/30long................dubious
Test returned status 255 (wstat 65280 , 0xff00)
t/31lob.................Can't run this test using Perl 5.008 without DBI >= 1.38 at t/nchar_test_lib.pl line 12.
Compilation failed in require at t/31lob.t line 9.
# Looks like your test died before it could output anything.
t/31lob.................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/40ph_type.............DBI connect('','scott/tiger',...) failed: ORA- 01017 : invalid username/password; logon denied (DBD ERROR: OCISessionBegin) at t/40ph_type.t line 26
Unable to connect to Oracle (ORA- 01017 : invalid username/password; logon denied (DBD ERROR: OCISessionBegin))
Tests skipped.
skipped
all skipped: no reason given
t/50cursor..............Unable to connect to Oracle as scott/tiger (ORA- 01017 : invalid username/password; logon denied (DBD ERROR: OCISessionBegin))
Tests skipped.
skipped
all skipped: no reason given
t/60reauth..............ORACLE_USERID_2 not defined. Tests skipped.
skipped
all skipped: no reason given
t/70meta................Unable to connect to Oracle as scott/tiger (ORA- 01017 : invalid username/password; logon denied (DBD ERROR: OCISessionBegin))
Tests skipped.
skipped
all skipped: no reason given
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10general.t 255 65280 31 31 100 . 00 % 1 - 31
t/20select.t 255 65280 ?? ?? % ??
t/21nchar.t 255 65280 ?? ?? % ??
t/22nchar_al32utf8.t 255 65280 ?? ?? % ??
t/22nchar_utf8.t 255 65280 ?? ?? % ??
t/23wide_db.t 255 65280 ?? ?? % ??
t/23wide_db_8bit.t 255 65280 ?? ?? % ??
t/23wide_db_al32utf8.t 255 65280 ?? ?? % ??
t/24implicit_utf8.t 255 65280 ?? ?? % ??
t/30long.t 255 65280 ?? ?? % ??
t/31lob.t 255 65280 2 2 100 . 00 % 1 - 2
5 tests and 9 subtests skipped.
Failed 11 / 18 test scripts, 38 . 89 % okay. 33 / 47 subtests failed, 29 . 79 % okay.
make: *** [test_dynamic] Ошибка 29
|
|
|