[ruby-oci8-commit] [297] web: * hiki_data/en/text/PlatformSpecificIssue, hiki_data/ja/text/ PlatformSpecificIssue

nobody at rubyforge.org nobody at rubyforge.org
Sun Dec 14 08:26:06 EST 2008


Revision: 297
Author:   kubo
Date:     2008-12-14 08:26:05 -0500 (Sun, 14 Dec 2008)

Log Message:
-----------
* hiki_data/en/text/PlatformSpecificIssue, hiki_data/ja/text/PlatformSpecificIssue
    update FreeBSD information that oracle8-client port doesn't
    work with Oracle 10g and it is unstable.

Modified Paths:
--------------
    web/ChangeLog
    web/hiki_data/en/info.db
    web/hiki_data/en/text/PlatformSpecificIssue
    web/hiki_data/ja/info.db
    web/hiki_data/ja/text/PlatformSpecificIssue

Modified: web/ChangeLog
===================================================================
--- web/ChangeLog	2008-12-14 08:07:01 UTC (rev 296)
+++ web/ChangeLog	2008-12-14 13:26:05 UTC (rev 297)
@@ -1,3 +1,8 @@
+2008-12-14  KUBO Takehiro  <kubo at jiubao.org>
+	* hiki_data/en/text/PlatformSpecificIssue, hiki_data/ja/text/PlatformSpecificIssue
+	    update FreeBSD information that oracle8-client port doesn't
+	    work with Oracle 10g and it is unstable.
+
 2008-12-13  KUBO Takehiro  <kubo at jiubao.org>
 	* hiki_data/en/text/FrontPage, hiki_data/ja/text/FrontPage
 	    add notice that ruby-oci8 doesn't work with ruby-dbi 0.4.x.

Modified: web/hiki_data/en/info.db
===================================================================
--- web/hiki_data/en/info.db	2008-12-14 08:07:01 UTC (rev 296)
+++ web/hiki_data/en/info.db	2008-12-14 13:26:05 UTC (rev 297)
@@ -136,7 +136,7 @@
 :freeze => false,
 :keyword => [
 ],
-:last_modified => Time.at(1192665604),
+:last_modified => Time.at(1229260669),
 :references => [
 "InstallForInstantClient",
 "InstallForFullClient",

Modified: web/hiki_data/en/text/PlatformSpecificIssue
===================================================================
--- web/hiki_data/en/text/PlatformSpecificIssue	2008-12-14 08:07:01 UTC (rev 296)
+++ web/hiki_data/en/text/PlatformSpecificIssue	2008-12-14 13:26:05 UTC (rev 297)
@@ -33,10 +33,14 @@
 ! FreeBSD
 
 There are two ways.
-* use ruby and instantclient on linux emulator
-* use oracle8-client port
+# use ruby and instantclient on linux emulator (Does anyone write the procedure?)
+# use oracle8-client port
 
-In the latter case, compile and install as follows.
+I don't recommend the latter because of the following two reasons.
+# The oracle8-clint port is made from Oracle 8.1.7.1 static library for Linux. Oracle have not supported the connectability between 8.1.7.1 and Oracle 10g.
+# It is very unstable. When it fails to connect to an Oracle server, it is down by segmentation fault on FreeBSD 7.0 not only when using ruby-oci8, but also by a very simple test code written by C.
+
+If you try to use oracle8-client port, compile and install as follows.
 * install oracle8-client
   cd /usr/ports/databases/oracle8-client
   make
@@ -54,10 +58,6 @@
 note: You have no need to set LD_LIBRARY_PATH because 
 Oracle libraries in oracle8-client port are static ones.
 
-Not all faculties are available. Some tests in 'make check'
-are failed. Some tests cause busy loop. Check and use it
-at your own risk.
-
 ! HP-UX
 
 You need a ruby which is linked with ''libpthread'' and ''libcl''.

Modified: web/hiki_data/ja/info.db
===================================================================
--- web/hiki_data/ja/info.db	2008-12-14 08:07:01 UTC (rev 296)
+++ web/hiki_data/ja/info.db	2008-12-14 13:26:05 UTC (rev 297)
@@ -135,7 +135,7 @@
 :freeze => false,
 :keyword => [
 ],
-:last_modified => Time.at(1192665989),
+:last_modified => Time.at(1229260684),
 :references => [
 "InstallForInstantClient",
 "InstallForFullClient",

Modified: web/hiki_data/ja/text/PlatformSpecificIssue
===================================================================
--- web/hiki_data/ja/text/PlatformSpecificIssue	2008-12-14 08:07:01 UTC (rev 296)
+++ web/hiki_data/ja/text/PlatformSpecificIssue	2008-12-14 13:26:05 UTC (rev 297)
@@ -35,10 +35,14 @@
 ! FreeBSD
 
 2つの方法があります。
-* instantclient を linux emulator 上の ruby で動かす。
-* oracle8-client port を使用。
+# instantclient を linux emulator 上の ruby で動かす。
+# oracle8-client port を使用。
 
-oracle8-client を使用する場合は以下のようにします。
+以下の2つの理由により oracle8-client port の使用はお勧めできません。
+# oracle8-client port は Linux 版の Oracle 8.1.7.1  静的ライブラリかを元にしていますが、Oracle  は 8.1.7.1 と Oracle 10g サーバーとの接続をサポートしていません。
+# 非常に不安定です。FreeBSD 7.0 では Oracle への接続が失敗すると Segmentation fault で落ちます。ruby-oci8 を使っているときだけではなく、C言語で書かれた単純なテストコードでも同様です。
+
+oracle8-client port を使用する場合は以下のようにします。
 * oracle8-client をインストール
   cd /usr/ports/databases/oracle8-client
   make
@@ -57,10 +61,6 @@
 リンクライブラリなので、LD_LIBRARY_PATH の設定は必要あり
 ません。
 
-FreeBSD ではすべての機能は動かないようです。make check
-を実行すると失敗したり、無限ループに陥いるものがあります。
-使えるかどうか試験して、使える機能だけを使用してください。
-
 ! HP-UX
 
 libpthread、libcl とリンクしてある ruby が必要です。




More information about the ruby-oci8-commit mailing list