¾È³çÇϼ¼¿ä. µµ¿òÁֽŠ´ë·Î perl 5.8.0À» ¼³Ä¡ÇÏ°í DBI 1.32¸¦ ¼³Ä¡ÇÏ¿´½À´Ï´Ù. ÀÌÁ¦´Â DBD 1.12¸¦ ¼³Ä¡ÇØ¾ß Çϴµ¥ ¿¡·¯°¡ ¹ß»ýÇÏ°í ÀÖ½À´Ï´Ù.
Ç㳪 ¹®Á¦´Â Á¦ ´É·ÂÀ¸·Ð Çؼ®ÀÌ ¾ÈµÇ´Â ±º¿ä. µû¶ó¼ Á¶Ä¡¹æ¹ýµµ ¾ø½À´Ï´Ù. ¾Æ·¡´Â ¿¡·¯ÀÇ ÀϺÎÀÔ´Ï´Ù.
############################################# 1) perl Makefile.PL½Ã warning
Warning: You will probably need to rebuild perl using the xlc_r compiler. You may also need do: ORACCENV='cc=xlc_r'; export ORACCENV Also see the README about the -p option
Checking if your kit is complete... Looks good Ignoring LD_RUN_PATH='/oracle/ora9i/lib:/oracle/ora9i/rdbms/lib' in environment LD_RUN_PATH=/oracle/ora9i/lib Using DBD::Oracle 1.12. Using DBD::Oracle 1.12. Multiple copies of Driver.xst found in: /usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI /usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI /usr/local/lib/perl5/site_perl/5.8.0/aix /auto/DBI at Makefile.PL line 1136 Using DBI 1.32 installed in /usr/local/lib/perl5/site_perl/5.8.0/aix/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?)
######################################################
2) make½ÃÀÇ ¿¡·¯ÀϺΠcp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h cp Oracle.pm blib/lib/DBD/Oracle.pm cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h cp oraperl.ph blib/lib/oraperl.ph cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h cp Oraperl.pm blib/lib/Oraperl.pm cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm /usr/local/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "DBD::Oracle", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' /usr/local/bin/perl -p -e "s/~DRIVER~/Oracle/g" < /usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI/Driver.xst > Oracle.xsi /usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c cc -c -I/oracle/ora9i/rdbms/demo -I/oracle/ora9i/rdbms/public -I/oracle/ora9i/plsql/public -I/oracle/ora9i/network/public -I/oracle/ora9i/rdbms/demo -I/oracle/ora9i/rdbms/ demo -I/usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" "-I/usr/local/lib/perl5/5.8.0/aix/CORE" Oracle.c 1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly. "Oracle.xs", line 69.17: 1506-280 (W) Function argument assignment between types "struct {...}*" and "struct _PerlIO**" is not allowed. "Oracle.xs", line 79.21: 1506-280 (W) Function argument assignment between types "struct {...}*" and "struct _PerlIO**" is not allowed. "Oracle.xs", line 83.21: 1506-280 (W) Function argument assignment between types "struct {...}*" and "struct _PerlIO**" is not allowed. "Oracle.xs", line 86.17: 1506-280 (W) Function argument assignment between types "struct {...}*" and "struct _PerlIO**" is not allowed. cc -c -I/oracle/ora9i/rdbms/demo -I/oracle/ora9i/rdbms/public -I/oracle/ora9i/plsql/public -I/oracle/ora9i/network/public -I/oracle/ora9i/rdbms/demo -I/oracle/ora9i/rdbms/ demo -I/usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" "-I/usr/local/lib/perl5/5.8.0/aix/CORE" dbdimp.c 1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly. "dbdimp.c", line 85.14: 1506-196 (W) Initialization between types "struct {...}*" and "struct _PerlIO**" is not allowed. "dbdimp.c", line 206.9: 1506-280 (W) Function argument assignment between types "struct {...}*" and "struct _PerlIO**" is not allowed. "dbdimp.c", line 212.9: 1506-280 (W) Function argument assignment #################Áß°£»ý·«#################### "oci8.c", line 1616.21: 1506-280 (W) Function argument assignment between types "struct {...}*" and "struct _PerlIO**" is not allowed. "oci8.c", line 1637.5: 1506-280 (W) Function argument assignment between types "struct {...}*" and "struct _PerlIO**" is not allowed. Running Mkbootstrap for DBD::Oracle () chmod 644 Oracle.bs rm -f blib/arch/auto/DBD/Oracle/Oracle.so LD_RUN_PATH="/oracle/ora9i/lib" ld -bhalt:4 -bM:SRE -bI:/usr/local/lib/perl5/5.8.0/aix/CORE/perl.exp -bE:Oracle.exp -bnoentry -lc -L/usr/local/lib Oracle.o dbdimp.o oci7 .o oci8.o /oracle/ora9i/rdbms/lib/defopt.o /lib/crt0_64.o -o blib/arch/auto/DBD/Oracle/Oracle.so -L/oracle/ora9i/lib/ -lclntsh -lld -lm -ldl -lc -lm -lpthreads -lodm -lbsd_r -l ld -lperfstat -lm -lpthreads ld: 0711-736 ERROR: Input file /oracle/ora9i/rdbms/lib/defopt.o: XCOFF64 object files are not allowed in 32-bit mode. make: The error code from the last command is 8.
####################################### ¿©±â±îÁöÀÔ´Ï´Ù¸¸, ´Ù½ÃÇѹø °í°ßÀ» ÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù. Âü°í·Î, »ç¿ëÇÏ´Â Àåºñ°¡ IBMÀÇ aix 5.1ȯ°æÀä perlÀ» ¼³Ä¡ÇÒ¶§ export OBJECT_MODE=64 ȤÀº ccÀÇ ¿É¼ÇÀ¸·Î -q64¸¦ Àû¿ëÇß¾î¾ß ÇÒ±î¿ä?
°¨»çÇÕ´Ï´Ù.
|