¾ÆÀ̵ð ºñ¹Ð¹øÈ£ | ȸ¿ø°¡ÀÔ | ºñ¹Ð¹øÈ£ºÐ½Ç
   
¡¡»õ·Î¿î¼Ò½Ä
¡¡FAQ
¡¡À¥ÇÁ·Î±×·¥
¡¡À¥DB
¡¡À¥¼­¹ö
¡¡À¥ÇÁ·Î±×·¥¼öÁ¤
¡¡ÇØÇÇÄ®·³
¡¡°ñµåÆÁ
 
Á¦ÀÛÀÇ·Ú
À¥ÇÁ·Î±×·¥ ÆǸŸô
 
ÇöÀçÀ§Ä¡: ¸ÞÀÎ ÇØÇÇÆ÷·³ À¥µðºñ : °Ô½Ã¹° Àбâ
  2002-12-12 (21:12:21) from 218.152.48.57
  ÀÛ¼ºÀÎ : memymine Á¶È¸¼ö : 15801   
Á¦¸ñ : ¿°Ä¡¾øÀÌ...´Ù½Ã Áú¹® ¿Ã¸³´Ï´Ù.

¾È³çÇϼ¼¿ä. µµ¿òÁֽŠ´ë·Î 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¸¦ Àû¿ëÇß¾î¾ß ÇÒ±î¿ä?

°¨»çÇÕ´Ï´Ù.

   ¸Þ¸ð
HappyCGI
2003-01-01
01:36:29
Á˼ÛÇÕ´Ï´Ù. ¿À¶óŬÀº Á¤È®È÷ ¾Æ´Â Áö½ÄÀÌ ¾ø¾î¼­ ...

:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~

  

 
¨Ô
Á¦¸ñ
ÀÛ¼ºÀÎ
Á¶È¸
µî·ÏÀÏ
Perl·Î Â¥¿©Áø ÇÁ·Î±×·¥¿¡¼­ »ç¿ëÇÏ´Â DBI.pm¼³Ä¡ °ü·Ã
memymine
13195
2002-12-05
Re: Perl·Î Â¥¿©Áø ÇÁ·Î±×·¥¿¡¼­ »ç¿ëÇÏ´Â DBI.pm¼³Ä¡ °ü·Ã
HappyCGI
12393
2002-12-10
      ¿°Ä¡¾øÀÌ...´Ù½Ã Áú¹® ¿Ã¸³´Ï´Ù.
memymine
15802
2002-12-12
 



  HOME | ȸ»ç¼Ò°³ | Á¦ÀÛÀÇ·Ú | °³ÀÎÁ¤º¸Ãë±Þ¹æħ | CGIMALL | ÀÚ·á½Ç | »çÀÌÆ®µî·Ï | ·©Å·100 | Æ÷·³ | Ãʺ¸°¡À̵å | Áú¹®°ú´äº¯ | ¹è³Ê±¤°í
Copyright¨Ï1997~2008 HappyCGI All rights reserved
Powered By HappyCGI