[#35036] Intentional Programming — "John" <nojgoalbyspam@...>

Hi all

17 messages 2002/03/01

[#35112] RDoc question — Michael Davis <mdavis@...>

I have a question about RDoc. I would like to reference an external

17 messages 2002/03/02

[#35162] string to array and back — Ron Jeffries <ronjeffries@...>

I am needing to convert strings to arrays of bytes and back. I see pack and

19 messages 2002/03/03

[#35364] file reading impossibly slow? — Ron Jeffries <ronjeffries@...>

So I'm doing this benchmark to work with my set program. Part of the problem is

18 messages 2002/03/07

[#35429] Interesting link on static/dynamic typing... — Robert Feldt <feldt@...>

...relevant to Ruby compared to other languages discussion:

25 messages 2002/03/08
[#35441] Re: Interesting link on static/dynamic typing... — Paul Brannan <paul@...> 2002/03/08

On Fri, Mar 08, 2002 at 05:34:43PM +0900, Robert Feldt wrote:

[#35460] Spam, ruby-talk, and me — Dave Thomas <Dave@...>

14 messages 2002/03/08

[#35537] Confusion — David Corbin <dcorbin@...>

The following is from my debugging through xmlc.rb

16 messages 2002/03/10

[#35579] RE: WIN32OLE and LDAP — "Morris, Chris" <chris.morris@...>

> The new version 0.4.2 of Win32OLE has WIN32OLE.bind method.

16 messages 2002/03/11

[#35652] Method type 'abstract' — Peter Hickman <peter@...>

The one thing I miss in Ruby is the abstract class method to go along

15 messages 2002/03/12

[#35653] Some potential RCRs — "Bob Alexander" <bobalex@...>

Here are a few thing I am considering submitting as RCRs. I'm looking =

50 messages 2002/03/12
[#35672] Re: Some potential RCRs — matz@... (Yukihiro Matsumoto) 2002/03/12

Hi,

[#35683] Re: Some potential RCRs — Massimiliano Mirra <list@...> 2002/03/12

On Wed, Mar 13, 2002 at 03:58:01AM +0900, Yukihiro Matsumoto wrote:

[#35697] Re: Some potential RCRs — David Alan Black <dblack@...> 2002/03/13

Hello --

[#35694] rpkg 0.3 — Massimiliano Mirra <list@...>

14 messages 2002/03/13
[#35699] RE: [ANN] rpkg 0.3 — <james@...> 2002/03/13

>

[#35787] testunit - setup -> set_up ? — "Morris, Chris" <chris.morris@...>

I'm just starting to use testunit instead of rubyunit ... I noticed with an

21 messages 2002/03/13
[#35793] RE: testunit - setup -> set_up ? — "Nathaniel Talbott" <nathaniel@...> 2002/03/13

Morris, Chris [mailto:chris.morris@snelling.com] wrote:

[#35796] Re: testunit - setup -> set_up ? — Dave Thomas <Dave@...> 2002/03/13

"Nathaniel Talbott" <nathaniel@talbott.ws> writes:

[#35797] RE: testunit - setup -> set_up ? — "Nathaniel Talbott" <nathaniel@...> 2002/03/13

dave@thomases.com [mailto:dave@thomases.com] wrote:

[#35898] camelCase and underscore_style — "Morris, Chris" <chris.morris@...>

First, a question. If underscore_style is the Ruby norm for methods and the

20 messages 2002/03/15
[#35924] Re: camelCase and underscore_style — "Guy N. Hurst" <gnhurst@...> 2002/03/15

Phil Tomson wrote:

[#35930] RE: camelCase and underscore_style — "Nathaniel Talbott" <nathaniel@...> 2002/03/16

Guy N. Hurst [mailto:gnhurst@hurstlinks.com] wrote:

[#35989] ANN: Locana GUI and GUI Builder version 0.81 — Michael Davis <mdavis@...>

I am pleased to announce release 0.81 of Locana. Locana is a GUI

16 messages 2002/03/16

[#35992] XPath — Michael Schuerig <schuerig@...>

27 messages 2002/03/16

[#36034] Mini Rant: Indenting — Thomas Hurst <tom.hurst@...>

Why is it that I see *so* much code like:

14 messages 2002/03/17

[#36049] web templating for static sites? — Massimiliano Mirra <list@...>

I'm using the Template Toolkit for generating static web sites and I

42 messages 2002/03/17
[#36426] web standars (was: web templating for static sites?) — Tobias Reif <tobiasreif@...> 2002/03/20

Albert Wagner wrote:

[#36052] Xml Serialization for Ruby — "Chris Morris" <chrismo@...>

=Xml Serialization for Ruby

20 messages 2002/03/17
[#36059] Re: [ANN] Xml Serialization for Ruby — Massimiliano Mirra <list@...> 2002/03/17

On Mon, Mar 18, 2002 at 05:20:56AM +0900, Chris Morris wrote:

[#36067] eval/Module question — David Corbin <dcorbin@...>

If I have a String src that is similar to the following:

13 messages 2002/03/18

[#36157] Development of Windows version of Ruby — ptkwt@...1.aracnet.com (Phil Tomson)

Now that we've dumped the cygwin requirement for the Windows version of

63 messages 2002/03/18
[#36330] Re: Development of Windows version of Ruby — Ron Jeffries <ronjeffries@...> 2002/03/19

On Tue, 19 Mar 2002 14:05:27 GMT, "Albert L. Wagner" <alwagner@uark.edu> wrote:

[#36431] Re: Development of Windows version of Ruby — Dennis Newbold <dennisn@...> 2002/03/20

[#36458] Windows version of Ruby (proposals) — ptkwt@... (Phil Tomson) 2002/03/21

Dennis Newbold <dennisn@pe.net> wrote in message news:<Pine.GSO.3.96.1020320113603.22242B-100000@shell2>...

[#36482] RE: Windows version of Ruby (proposals) — "Christian Boos" <cboos@...> 2002/03/21

Some thoughts on the 2 first Windows issues, plus a 4th one...

[#36496] Re: Windows version of Ruby (proposals) — Dave Thomas <Dave@...> 2002/03/21

"Christian Boos" <cboos@bct-technology.com> writes:

[#36510] Re: Windows version of Ruby (proposals) — nobu.nokada@... 2002/03/21

Hi,

[#36514] Re: Windows version of Ruby (proposals) — Dave Thomas <Dave@...> 2002/03/21

nobu.nokada@softhome.net writes:

[#36518] Re: Windows version of Ruby (proposals) — nobu.nokada@... 2002/03/21

Hi,

[#36211] dots in Dir.entries — matz@... (Yukihiro Matsumoto)

Hi,

22 messages 2002/03/19

[#36231] style choice — Ron Jeffries <ronjeffries@...>

A style question for the community ... which of the following do you prefer, and

18 messages 2002/03/19

[#36345] ANN: REXML 2.0 — Sean Russell <ser@...>

I have a feeling there will only be three major revisions of REXML. Version

19 messages 2002/03/20

[#36610] Re: Windows version of Ruby (proposals) — Ron Jeffries <ronjeffries@...>

On Thu, 21 Mar 2002 14:11:55 GMT, Dave Thomas <Dave@PragmaticProgrammer.com> wrote:

16 messages 2002/03/22

[#36645] Ruby for Mac OS 10.1 — Jim Freeze <jim@...>

Hi:

28 messages 2002/03/23

[#36768] Re: Difference between 'do' and 'begin' — Clemens Hintze <c.hintze@...>

In <slrna9ulvi.f2h.mwg@fluffy.isd.dp.ua> Wladimir Mutel <mwg@fluffy.isd.dp.ua> writes:

23 messages 2002/03/26
[#36783] RE: Difference between 'do' and 'begin' — <james@...> 2002/03/26

[#36792] Re: Difference between 'do' and 'begin' — Kent Dahl <kentda@...> 2002/03/26

james@rubyxml.com wrote:

[#36808] Error calling Tk in a loop — <james@...>

I'm trying to write some code that pops up a Tk window when for certain

15 messages 2002/03/26

[#36841] RE: Windows version of Ruby (proposals) — "Andres Hidalgo" <sol123@...>

I believe that Ruby has a place in windows (Office), I happened to have

14 messages 2002/03/27

[#36863] Hash.new(Hash.new) doesn't use Hash.new as default value — "Jonas Delfs" <jonas@...>

Hi -

18 messages 2002/03/27

[#37080] Why isn't Math object-oriented? — Bil Kleb <W.L.Kleb@...>

So I'm reading along in the Pixaxe book (yet again), and I am told

15 messages 2002/03/30

[#37121] String#begins?(s) — timsuth@... (Tim Sutherland)

class String

24 messages 2002/03/31

Re: help: dbi.0.0.10/oracle0.2.11 installation -> core dump

From: cclee@... (Chochain Lee)
Date: 2002-03-01 07:32:44 UTC
List: ruby-talk #35042
Just in case some one run into the same problem or try solving it, I
found the answer alreay.

Though the reason is unclear to me but one solution is simply to add
$ORACLE_HOME/bin to my Cygwin $PATH and create the library by doing
% dlltool -d OCI.def -D oci.dll -l libOCI.a 
instead of following the description as in the extconf.rb
% dlltool -d OCI.def -D $ORACLE_HOME/bin/oci.dll -l libOCI.a

then build the rest as usual

% ruby extconf.rb
% make
% make site-install

I'm a happy Oracle DBI user now.

Chochain

cclee@promethod.com (Chochain Lee) wrote in message news:<a8f6a5cd.0202181345.32d59870@posting.google.com>...
> Hi,
> 
> I downloaded the DBI/DBD (for my Oracle8.1.5) and try the following
> but end up with an irb coredump on my W2K/Cygwin. Can someone tell me
> what did I missed?
> 
> Thanks, 
> Chochain
> 
> Note: I have tested the database connection using sqlplus with no
> problem.
> 
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> /download% dlltool -d OCI.def -D $ORACLE_HOME/bin/oci.dll -l libOCI.a
> /download% cp libOCI.a /usr/local/lib
> /download% ruby extconf.rb 
> checking for ocidfn.h... yes
> checking for olog() in -lOCI... yes
> creating Makefile
> /download% make
> gcc -DUSEIMPORTLIB -g -O2 -I/oracle/ora81/oci/include -D_int64="long
> long" -I/usr/local/lib/ruby/1.6/i686-cygwin -I. -I/usr/local/include
> -DHAVE_OCIDFN_H   -c -o oracle.o oracle.c
> dllwrap --target=cygwin --as=as --dlltool-name=dlltool
> --driver-name=gcc --export-all -s --def=oracle.def
> -L/usr/local/lib/ruby/1.6/i686-cygwin -L/usr/local/lib
> -L/download/comp.lang/ruby/dbi/oracle -o oracle.so oracle.o -L.
> -lcygwin-ruby16 -lOCI
> /download% make site-install
> oracle.so -> /usr/local/lib/ruby/site_ruby/1.6/i686-cygwin/oracle.so
> chmod 0555 /usr/local/lib/ruby/site_ruby/1.6/i686-cygwin/oracle.so
> /download% irb
> irb(main):001:0> require 'dbi'
> require 'dbi'
> true
> irb(main):002:0> require 'oracle'
> require 'oracle'
> true
> irb(main):003:0> dbh = DBI.connect('dbi:Oracle:TESTDB', 'system',
> 'manager')
> dbh = DBI.connect('dbi:Oracle:TESTDB', 'system', 'manager')
> /usr/local/lib/ruby/site_ruby/1.6/DBD/Oracle/Oracle.rb:82: [BUG]
> Segmentation fault
> ruby 1.6.6 (2001-12-26) [i686-cygwin]
>       0 [sig] irb 1136 open_stackdumpfile: Dumping stack trace to
> ruby.exe.stackdump
> Abort (core dumped)
> 
> /download% cat ruby.exe.stackdump
> Stack trace:
> Frame     Function  Args
> 0021E268  77E88787  (00000000, 00000000, 00C2DCFC, 6104E071)
> 0021E2B8  6104E3A6  (00000000, 01590159, 0021E288, 00000000)
> 0021E2F8  6104BE9D  (00000470, 00000006, 00000052, 00000000)
> 0021E328  6104C046  (00000470, 00000006, 00000000, 00000000)
> 0021E348  610878A8  (610900A0, 00000470, 00000006, 0021E3A8)
> 0021E378  6107D0BC  (610900A0, 00000006, 0021E3A8, 00000110)
> 0021E398  6107D094  (00000006, 0043699D, 00436997, 0043698C)
> 0021E3B8  61079BBC  (0A269028, 00000001, 6104E48E, 61095320)
> 0021E7D8  00436A1B  (00463977, 00000000, 00000000, 0021E828)
> 0021E7F8  0046399F  (0000000B, 00000000, FFFFFFFF, 00000000)
> 0021E828  6100EAC3  (0A269028, 0A26906C, 0A270E28, FFFFFFFF)
> 0021E854  00C09B9B  (0A269028, 0A26906C, 0A270E28, FFFFFFFF)
> 0021E8B4  64141114  (0A23C5F0, 0A2357E0, 0A2357C8, 0A235708)
> 0021E8E4  0040ADC6  (64141048, 0A23C5F0, 00000003, 00000003)
> 0021EA84  0040B386  (0A23C5D8, 0A23C5F0, 00004121, 00000003)
> 0021EAD4  0040BBD8  (0A23C5D8, 0A23C5F0, 00004121, 00000003)
> End of stack trace (more stack frames may be present)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

In This Thread

Prev Next