[#68392] J->E translation of Matz's interview on Slashdot Japan — OTA Takashi <t00156to+news@...>
Hi.
On Tue, 1 Apr 2003, OTA Takashi wrote:
OTA Takashi <t00156to+news@sfc.keio.ac.jp> writes:
[#68410] SIGSEGV and crash in $std***.print — Rudolf Polzer <abuse@...>
The following program creates a segfault or interpreter crash extremly
[#68412] JRuby still alive? — "Volkmann, Mark" <Mark.Volkmann@...>
Is development of JRuby still active? Looking at
[#68414] Re: OO vs. procedural programming — "Robert Klemme" <bob.news@...>
[#68415] eval'ing a config file — Ian Macdonald <ian@...>
Hi,
Well I *am* new to Ruby, been playing around for about three weeks now
On Fri, Apr 04, 2003 at 08:25:25AM +0900, Damphyr wrote:
Brian Candler wrote:
On Sat, Apr 05, 2003 at 08:36:12PM +0900, Damphyr wrote:
Brian Candler wrote:
On Sat, Apr 05, 2003 at 11:09:50PM +0900, Damphyr wrote:
[#68417] Getting readline support on solaris — Jim Freeze <jim@...>
Hi:
[#68421] sharing objects between tests (revisited?) — Paul Brannan <pbrannan@...>
I don't know if I've asked this on this list before or only on irc (I
In article <20030401183531.GK24880@atdesk.com>,
On Wed, Apr 02, 2003 at 04:27:46AM +0900, Phil Tomson wrote:
[#68436] April Fools. — Daniel Carrera <dcarrera@...>
Hey guys and gals,
----- Original Message -----
[#68449] Newbie question:read file speed — "Greg Brondo" <greg@...>
Why is ruby (on windows) so much slower at reading lines in a file (as
Here they are:
On Thu, Apr 03, 2003 at 12:51:28AM +0900, Greg Brondo wrote:
On Friday, April 4, 2003, 12:10:00 AM, Dan wrote:
[#68520] Madeleine 0.2 — Anders Bengtsson <ndrsbngtssn@...>
http://sourceforge.net/project/showfiles.php?group_id=74624
[#68527] Any Hardware/EDA engineers out there? — ptkwt@...1.aracnet.com (Phil Tomson)
[#68538] Tricky install question — Mike Wyer <mike@...>
Hi,
[#68551] cgi serving xml from Apache problem — "Chris Morris" <chrismo@...>
(This seems like more an Apache question than a Ruby question, but ...)
[#68564] FXRuby -- Table with FXComboBox items — Yura Kloubakov <yura@...>
Hi,
[#68573] "benchmark.rb:435: warning: obsolete method" — Brian Candler <B.Candler@...>
Just been playing with 1.8 preview 2, would like to point out that the
[#68584] read/write slow, and TCPSocket and sys{read,write} — Ryan Pavlik <rpav@...>
OK, so I'm throwing things back and forth over the network. Marshalled
On Fri, 4 Apr 2003 05:48:53 +0900
On Fri, Apr 04, 2003 at 06:06:15AM +0900, Ryan Pavlik wrote:
[#68587] Building Ruby on HP-UX B.11.22 — Daniel Berger <djberge@...>
Hi all,
[#68605] keeping track of non-exported global variables — "Simon Strandgaard" <0bz63fz3m1qt3001@...>
problem:
[#68612] Suggestion for Ruby Weekly News — leikind@... (Yuri Leikind)
Hello all,
Yuri Leikind (leikind@mova.org) wrote:
[#68613] Debugger — Seth Kurtzberg <seth@...>
Hello list,
[#68623] To inherit or to include? That is the question. — Jim Freeze <jim@...>
Hi
[#68624] Relocatable install patch — Mike Wyer <mike@...>
Hi,
[#68657] reading from $stdout ??? — "meinrad<dot>recheis" <"meinrad<dot>recheis"@...>
hi rubyists,
[#68672] Strangeness in Find.find — Brian Candler <B.Candler@...>
I was just looking at lib/ruby/1.8/find.rb and I am stumped by the marked
[#68707] Call for standardised package installation procedure — google@... (Tom Payne)
I'm helping maintain Ruby and Ruby packages in Gentoo Linux.
> It would make my job a lot easier if just one were chosen, and perhaps
----- Original Message -----
> From: Hal E. Fulton [mailto:hal9000@hypermetrics.com]
In article <NGEDJNFKAGDNDOIPFPBDIEDIDNAA.james_b@neurogami.com>,
On Tue, 8 Apr 2003 james_b@neurogami.com wrote:
> > It would make my job a lot easier if just one were chosen, and perhaps
On Mon, Apr 07, 2003 at 03:52:28AM +0900, John Johnson wrote:
John Johnson <jj5412@earthlink.net> wrote in message news:<1049655145.1847.10.camel@hppav.home.net>...
On Mon, 7 Apr 2003 16:47:20 +0900, Tom Payne wrote:
On Tue, Apr 08, 2003 at 02:34:26AM +0900, Austin Ziegler wrote:
On Tuesday, April 8, 2003, 3:42:49 AM, Mauricio wrote:
On Tue, Apr 08, 2003 at 10:11:28PM +0900, Gavin Sinclair wrote:
On Tue, Apr 08, 2003 at 10:11:28PM +0900, Gavin Sinclair wrote:
gsinclair@soyabean.com.au wrote in comp.lang.ruby:
"James Britt" <james@jamesbritt.com> wrote in message news:<NGEDJNFKAGDNDOIPFPBDGECLDNAA.james@jamesbritt.com>...
[#68714] 2 in [1,2,3] -> true — Meinrad Recheis <meinrad.recheis@...>
hi,
[#68726] Mutexes end critical sections? — Tom Felker <tcfelker@...>
I was looking at threads.rb for Ruby 1.6, and I noticed that Mutex,
[#68760] ruby-dev summary 19944 - 19957 — Kazuo Saito <ksaito@...>
Hello,
[#68764] a question about regexp — "Ben Thomas" <ben.thomas@...>
Hi,
[#68774] exit status from popen3 — Daniel Bretoi <lists@...>
Hi,
[#68803] Having trouble getting iconv-0.5 working on OS X — Sam Roberts <sroberts@...>
I do a make, install, and then:
Hi,
I think so, too, but I've no idea how. The only thing I can think of is
The error turned out to be deceptively simple. extconf.rb fails to find
Hi,
Quoteing nobu.nokada@softhome.net, on Sun, Apr 13, 2003 at 02:15:54PM +0900:
Hi,
Quoteing nobu.nokada@softhome.net, on Sun, Apr 13, 2003 at 07:44:34PM +0900:
[#68811] Array Sutraction — Jim Freeze <jim@...>
Ok, this has been discussed at length previously,
>
----- Original Message -----
On Tuesday, 8 April 2003 at 22:59:50 +0900, Michael Campbell wrote:
On Tue, 8 Apr 2003 23:33:17 +0900, Jim Freeze wrote:
----- Original Message -----
[#68816] sending a file via http — "Andrew" <nospam123@...>
Hello,
Yes, this is using CGI. Your code seems to do almost what I want, but it
[#68843] Ruby for graphics — "Your Name Here" <jim@...>
I just learned of Ruby, and was wondering if its a good lang for
--- Your Name Here <jim@fivek.com> wrote:
[#68854] Problem with timeout for DBI on Solaris — Daniel Berger <djberge@...>
Hi all,
[#68866] Style Question — Travis Whitton <whitton@...>
I've looked in the RubyStyleGuide on the Wiki, and I don't see this addressed.
[#68878] 1.8 parse error? — ahoward <ahoward@...>
[#68881] Can someone explain what's happening here? (String#gsub question) — Michael Campbell <michael_s_campbell@...>
I read the caveat in the pickaxe about when the replacement is a
[#68890] instance_variable_set question — "Chris Pine" <nemo@...>
Hello,
----- Original Message -----
[#68901] Versioning prototype for discussion — ptkwt@...1.aracnet.com (Phil Tomson)
On Wed, Apr 09, 2003 at 06:36:25AM +0900, Phil Tomson wrote:
[#68908] The "!" and "?" characters. — Daniel Carrera <dcarrera@...>
One of the things I like about Ruby is that it can use ! and ? in method
----- Original Message -----
By the way why not allow to define new operators, like in prolog and
Hi,
[#68943] unknown node type 0 — Francois GORET <fg@...>
Hello,
Hi,
On Wed, 9 Apr 2003, Yukihiro Matsumoto wrote:
Hi,
[#68967] Simple Question — Dominik Werder <dwerder@...>
Hi there,
[#68976] Investment Partnership. — Nzanga Kuzulu Mobutu <nzanga_1@...>
Nzanga Kuzulu Mobutu
[#68996] ANN: ri v1.8 — Dave Thomas <dave@...>
I'm releasing a very preliminary version of 'ri' for Ruby 1.8. This
On Wed 09 Apr 2003 at 23:52:47 +0900, Dave Thomas wrote:
[#69004] Proc Question — Travis Whitton <whitton@...>
As I was coding this morning, a question occured to me. Why must proc objects
[#69012] I quote: "Maybe IRB bug!!" — "Chris Pine" <nemo@...>
Hmmm...
[#69025] tutorial on embedding ruby (review) — "Simon Strandgaard" <0bz63fz3m1qt3001@...>
What do you think about it ?
[#69054] PRIVATE AND CONFIDENTIAL — "Mr. John Eze" <mr_musa3@...>
As an aside not only would the origonal spam be removed by your rules,
On Thu, 10 Apr 2003, Peter Hickman wrote:
[#69096] Need IO Optimization help — Jim Freeze <jim@...>
Hello:
On Friday, 11 April 2003 at 17:47:39 +0900, Robert Klemme wrote:
On Fri, Apr 11, 2003 at 06:47:27PM +0900, Jim Freeze wrote:
In article <20030411115918.A35958@linnet.org>,
The following is from
Mark Wilson wrote:
On Sat, 12 Apr 2003 13:40:07 +0900
On Apr 12, Ryan Pavlik wrote:
On Sun, 13 Apr 2003 00:49:00 +0900
Just a note on my questions about type (also known as class, in Ruby).
Jim Freeze wrote:
In my experience, the fastest way to access files (by far) is mmap.
On Thursday, 17 April 2003 at 19:29:16 +0900, David King Landrith wrote:
On Thursday, April 17, 2003, at 06:45 AM, Jim Freeze wrote:
On Thursday, 17 April 2003 at 22:11:55 +0900, David King Landrith wrote:
> > >> In my experience, the fastest way to access files (by far) is
>>>>> "J" == Jim Freeze <jim@freeze.org> writes:
On Thu, Apr 17, 2003 at 10:34:53PM +0900, ts wrote:
On Thursday, 17 April 2003 at 22:46:04 +0900, Brian Candler wrote:
[#69106] changing behavior of literal {:k => :v} — ahoward <ahoward@...>
[#69132] FAQ for comp.lang.ruby — hal9000@...
RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2003-1-7)
[#69145] "illegal radix 1" — Daniel Carrera <dcarrera@...>
Hi,
> |>> "2".to_i *1.1
[#69151] plotting 2D math functions — ptkwt@...1.aracnet.com (Phil Tomson)
I know there's a package on the RAA for plotting functions with
[#69161] rb_io_getline question — Jim Freeze <jim@...>
Hi:
>>>>> "J" == Jim Freeze <jim@freeze.org> writes:
[#69179] Two questions — "Steve Adams" <adamss@...>
What restrictions does the Ruby license place on the construction and sale
Parts of the license are a bit vague about if commercial apps can be
[#69181] rb_str_chomp or rb_str_strip — Jim Freeze <jim@...>
How do I access the chomp(!) or strip(!) functions in C?
>>>>> "J" == Jim Freeze <jim@freeze.org> writes:
On Saturday, 12 April 2003 at 1:00:44 +0900, ts wrote:
[#69194] splat question — "Chris Pine" <nemo@...>
(This question assumes that the unary `*' (used in arrays and such) is
[#69214] class documentation — "Bermejo, Rodrigo" <rodrigo.bermejo@...>
Hi all;
On Sat, 12 Apr 2003 06:00:30 +0900, Bermejo, Rodrigo wrote:
Ok, I've been looking at Marshal, PStore, Madelaine and mnemonic. None of
[#69271] Controlling an interactive program from Ruby — Daniel Carrera <dcarrera@...>
Hi,
On Sun, 13 Apr 2003 11:26:20 +0900, Daniel Carrera wrote:
Simon Strandgaard wrote:
On Sun, Apr 13, 2003 at 12:16:54PM +0900, Joel VanderWerf wrote:
On Sun, Apr 13, 2003 at 05:06:42PM +0900, Mauricio Fern?ndez wrote:
[#69280] ruby_script() — "Simon Strandgaard" <0bz63fz3m1qt3001@...>
I am wondering what exactly ruby_script() is doing ?
[#69282] using ruby reflection to generate code — Doug Beaver <doug@...>
hello,
In article <20030413004111.A80880@beaver.net>,
[#69301] problems embedding ruby in win32 — "Gaffer" <gaffer@...>
hello there,
[#69323] ANN: RFC 2047 decoding library (MIME format for non-ascii in mail headers) — Sam Roberts <sroberts@...>
There was a few posts about this, so perhaps somebody will find it
Saluton!
Thanks for the feedback. I'll run your example (thanks) through iconv,
Saluton!
(Nobu, this question relates to using iconv to convert from iso-2022-jp
Hi,
[#69338] YAPLL — <james_b@...>
Yet another programming language list.
On Mon, Apr 14, 2003 at 03:24:47PM +0900, james_b@neurogami.com wrote:
On Mon, Apr 14, 2003 at 05:17:59PM +0900, Mauricio Fern疣dez wrote:
[#69339] File::expand_path amok — "Ariff Abdullah" <skywizard@...>
$ pwd
[#69342] ANN: FreeRIDE 0.5.0 Release Candidate 2 — "Curt Hibbs" <curt@...>
FreeRIDE 0.5.0 Release Candidate 2 is available for download. Go to
[#69357] A class, that knows about it's instances + Sets — KONTRA Gergely <kgergely@...>
Hi!
I ran into a similar problem using Madeleine. In Madeleine, you need to
[#69366] How do I call a regex from C? — Jim Freeze <jim@...>
Hi:
>>>>> "J" == Jim Freeze <jim@freeze.org> writes:
On Monday, 14 April 2003 at 23:25:03 +0900, ts wrote:
>>>>> "J" == Jim Freeze <jim@freeze.org> writes:
On Tuesday, 15 April 2003 at 0:06:08 +0900, ts wrote:
>>>>> "J" == Jim Freeze <jim@freeze.org> writes:
[#69372] , ruby 1.6.8 (2002-12-24) [i586-mswin32] — student_vienna@... (daniel)
hello,
[#69413] rb_class_new_instance behaves strange — "Simon Strandgaard" <0bz63fz3m1qt3001@...>
My code is behaving different, when im doing this change:
On Wed, 16 Apr 2003 01:32:33 +0900, nobu.nokad wrote:
[Nobu said:]
Hi,
[#69424] Urgent Assistance — "Victor Aloma" <victorloma@...>
Could someone point me to an open-source SPAM filter that I can install on
Hello!
On Wed, Apr 16, 2003 at 07:00:20AM +0900, Pablo Lorenzzoni wrote:
[#69439] ANN: Debian packages of FreeRIDE, FOX, FXRuby, Ripper, FXScintilla, etc — Mauricio Fern疣dez <batsman.geo@...>
> I have tested that it is possible to rebuild all the packages with
[#69441] case insensitive match with regexp object — Daniel Bretoi <lists@...>
Hi,
[#69449] Re: [OT] spam filter Was: Re: Urgent Assistance — <wtanksleyjr@...>
From: "Shannon Fang" <xrfang@hotmail.com>
On Wed, Apr 16, 2003 at 03:43:11AM +0900, wtanksleyjr@cox.net wrote:
[#69470] regular expressions — "Chris Pine" <nemo@...>
When I first learned regular expressions, they were no problem. It was in a
----- Original Message -----
Hi --
[#69494] Libxml SAX parser? — han.holl@... (Han Holl)
Hello,
[#69518] Roundoff problem with Float and Marshal — cilibrar@... (Rudi Cilibrasi)
The following small test program:
nobu.nokada@softhome.net wrote in message news:<200304161751.h3GHpIHQ017185@sharui.nakada.kanuma.tochigi.jp>...
[#69527] Debugger not working in 1.8.0 snapshot — Jeff Putsch <putsch@...>
Howdy,
[#69531] example — student_vienna@... (daniel)
hello,
[#69536] Reg. Expressios with "\n" — Daniel Carrera <dcarrera@...>
Hello,
----- Original Message -----
[#69568] How to test for text file — "Peter B. Ensch" <pNOeterSPAM4MEbe@...>
In perl, -T <file> returns true if <file> is a text file and
[#69585] extension - redirect a block — student_vienna@... (daniel)
hello,
[#69595] ANN: ri 1.8b — Dave Thomas <dave@...>
I've updated ri:
Dave Thomas wrote:
Dave Thomas wrote:
[#69611] Cryptic -w warning: ambiguous first argument; make sure ... — Johan Holmberg <holmberg@...>
[#69639] FreeRIDE 0.5.0 - problem opening files — Markus Jais <info@...>
Hello
[#69645] avoiding the module name — "Simon Strandgaard" <0bz63fz3m1qt3001@...>
[#69672] Fw: Possible bug? — "Chad Fowler" <chadfowler@...>
I'm having some trouble sending to ruby-core, so I'll send this here. Sorry
[#69680] Warning: redefine instance — jbshaldane@... (haldane)
Does anyone know why I am getting this warning?
[#69700] Biased weighted random? — "Hal E. Fulton" <hal9000@...>
Hi, all...
----- Original Message -----
----- Original Message -----
----- Original Message -----
----- Original Message -----
[#69712] Multi-dimensional arrays — marsberger@... (Andi Scharfstein)
Hi,
[#69723] Bug in Rational? — "Chris Pine" <nemo@...>
This *can't* be right:
[#69762] Multi-Lingual Ruby — Jim Weirich <jweirich@...>
I was following a Java VS Perl discussion on a web board that I read.
DOH!
On Sun, 20 Apr 2003 13:43:59 +0900
> Actually, you shouldn't be, since that seems to (somehow) be the
[#69792] Matrix bug — oinkoink+unet@... (Bret Jolly)
An old bug from ruby 1.6 is still unfixed in the ruby 1.8 preview.
[#69806] ASCII class inheritance tree generator — Simon Vandemoortele <deliriousNOSPAM@...>
I thought I might share this little piece of code that generates a
[#69807] Re: ASCII class inheritance tree generator — "Pe, Botp" <botp@...>
Simon Vandemoortele [mailto:deliriousNOSPAM@atchoo.be] wrote:
[#69818] module_functions are private? — Paul Brannan <pbrannan@...>
I have a piece of code that does something like this:
>>>>> "P" == Paul Brannan <pbrannan@atdesk.com> writes:
On Mon, Apr 21, 2003 at 11:23:54PM +0900, ts wrote:
>>>>> "P" == Paul Brannan <pbrannan@atdesk.com> writes:
[#69825] accessing top-level 'self' — ahoward <ahoward@...>
[#69830] Ruby in a university course — "Chad Fowler" <chadfowler@...>
Maybe this has already been covered here, but I found it interesting that Cem Kaner is using Ruby in a software testing course at the Florida Institute of Technology. (I'm guessing this is due to some influence that Brian Marick had on him).
[#69834] What's the difference between IO and File — Jim Freeze <jim@...>
Hi
[#69866] two-way pipe — vic ismakaev <viclists@...>
Hi!
[#69917] DBI/OCI8 & binary data — Ollivier Robert <roberto@...>
Env.: ruby 1.6.8, ruby-dbi 0.18, ruby-oci8 0.1.2.
[#69922] Module inclusion at runtime... — Hadmut Danisch <spamblock@...>
Hi,
[#69931] Ruby.shop — "Hal E. Fulton" <hal9000@...>
Hello, all.
----- Original Message -----
----- Original Message -----
----- Original Message -----
----- Original Message -----
----- Original Message -----
----- Original Message -----
----- Original Message -----
[#69956] grep and regular expressions in ruby — "Krishna Dole" <kpd@...>
I'm quite taken with ruby, but recently I ran into trouble using grep. I
On Thu, Apr 24, 2003 at 08:17:37AM +0900, Bermejo, Rodrigo wrote:
On Thu, 24 Apr 2003, Daniel Carrera wrote:
[#69957] two oddities in ruby 1.8.0p2 — davekam@... (Dave)
OK, recently a cool feature has been added to ruby to start assigning
[#69969] Subject: Re: [ANN] Ruby.shop — Jim Weirich <jweirich@...>
On Wed, 2003-04-23 at 18:16, Hal E. Fulton wrote:
[#69977] parsing large file into matrix — "Qubert" <qubert@...>
I work on a lot of flat files containing data with many columns
[#69998] Ruby mode for Emacs... — Stephan K舂per <Stephan.Kaemper@...>
Hi all,
[#70000] Using objects persistence — Pablo Lorenzzoni <spectra@...>
Hello ALL!
[#70015] How to call an object instance's method? — Rene Tschirley <pooh@...>
Dear Ruby Experts,
Robert Klemme wrote:
----- Original Message -----
> Yuck!! This is what's wrong with significant whitespace. We are
On Fri, Apr 25, 2003 at 09:54:16PM +0900, Michael Campbell wrote:
Hi --
On Fri, Apr 25, 2003 at 01:07:33AM +0900, dblack@superlink.net wrote:
[#70017] MathN — Dave Thomas <dave@...>
I'm trying to get to grips with the 'mathn' library. I can see what it
oinkoink+unet@rexx.com (Bret Jolly) wrote in message news:<7e7131a1.0305031356.174fec7e@posting.google.com>...
[#70025] Design By Contract. — "Ken Hilton" <kenosis@...>
Several months ago, I made a posting regarding a possible enhancement to
[#70034] block.call vs. yield — "Orion Hunter" <orion2480@...>
I noticed that the use of block/yield differs slightly when a "break" is
Hi,
Hi,
Hi --
Hi,
> In message "Re: block.call vs. yield"
----- Original Message -----
Hi --
On Sunday, April 27, 2003, 1:13:40 AM, dblack wrote:
On Mon, Apr 28, 2003 at 06:06:36PM +0900, Gavin Sinclair wrote:
On Monday, April 28, 2003, 7:17:24 PM, Brian wrote:
Hi,
[#70039] Accessing Ruby class from C extention — ptkwt@...1.aracnet.com (Phil Tomson)
I know it's possible to write Ruby in C but is it possible to instantiate
[#70042] asynchronous ruby — student_vienna@... (daniel)
hello,
[#70062] test unit problem — jbshaldane@... (haldane)
Is it me, or is this a Test::Unit bug?
[#70064] Hashes and Enumerable#each_with_index — Ryan Pavlik <rpav@...>
OK, looking at the archives I know this was discussed a few years ago,
Hi,
On Fri, 25 Apr 2003 08:10:04 +0900
[#70144] Parsing C++ with Ruby — Simon Vandemoortele <deliriousNOSPAM@...>
[#70167] yield self — ahoward <ahoward@...>
[#70177] How to get more than 8 colors ? — Simon Vandemoortele <deliriousNOSPAM@...>
Here is a copy of the question I entered on
[#70204] can you guess — ahoward <ahoward@...>
[#70211] How do I change directories? — Daniel Carrera <dcarrera@...>
Hi,
[#70215] XML Parsing the Ruby way. — Aredridel <aredridel@...>
I've been looking at REXML, and I really like the architecture: A very
[#70217] Ruby misfeature? => CONTEST: solve the following problem — Mauricio Fern疣dez <batsman.geo@...>
[#70224] File reading and line continuation with '\' — Jim Freeze <jim@...>
Hi:
This should do it:
[#70243] Regexp and $ — Brian Candler <B.Candler@...>
I seem to remember some discussion about regexps recently, including Perl
[#70265] Generating a DLL file? — "Rich" <rich@...>
Let's start with:
I don't know C - or C++... and I'd rather not learn.
--- Rich <rich@lithinos.com> wrote:
----- Original Message -----
> > > I don't know C - or C++... and I'd rather not learn.
[#70268] c++/ruby debugging advices — "Simon Strandgaard" <0bz63fz3m1qt3001@...>
Im embedding ruby into c++ and im having a segfault problem which
[#70289] ANN: FreeRIDE 0.5.0 Final Release — "Curt Hibbs" <curt@...>
The final release of FreeRIDE version 0.5.0 is available for download! For
[#70324] File#split bug? — Jim Freeze <jim@...>
Is this a bug in File#split?
[#70337] Manipulate IE via Ruby? ... — christopher.j.meisenzahl@...
I want to tinker with the concept of Windows Automation as described in chapter
[#70354] Re: ANN: FreeRIDE 0.5.0 Final Release — "Curt Hibbs" <curt@...>
Steve Tuckner wrote:
Curt Hibbs wrote:
[#70358] locking in CGI script — kwatch@... (kwatch)
Hi,
[#70371] Re: Manipulate IE via Ruby? Redux ... — christopher.j.meisenzahl@...
Thanks very much for the MSDN link whoever sent it! I accidentally deleted your
[#70376] Test order in Test::Unit — Takashi & Kayoko Sano <tksano@...3.kcn.ne.jp>
Hi all,
[#70399] Ruby regexp backreferences — Austin Ziegler <austin@...>
I'm doing something that required RLE, and the code that I
[#70405] ugly style variables — saggmannen@... (saggmannen)
I'm new to ruby, and thus far I mostly like what I've seen. But these
[#70422] Pass-by reference VS encapsulation ? — Simon Vandemoortele <deliriousREMOVEUPPERCASETEXTTOREPLY@...>
On Wed, 30 Apr 2003 at 18:07 GMT, Dave Thomas wrote:
Re: Having trouble getting iconv-0.5 ... on OS X (actually extconf.rb bug)
Quoteing nobu.nokada@softhome.net, on Sun, Apr 13, 2003 at 07:44:34PM +0900: > > Anynow, I went back to having my iconv installed in /sw (kind of the > > /opt of the OS X world). It allows iconv.h to be found, but the > > extconf.rb still isn't figuring out that it needs -liconv, but it works > > when I specify -liconv in the USER_LIBS. > > Can't you show me the mkmf.log? I think what is happening is that GNU iconv (ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz), when not compiled as part of the system, is #defining iconv() to libiconv(). It appears that when extconf.rb looks for iconv(), the c file it generates doesn't include <iconv.h>, so it never sees the define. What's odd is that earlier in mkmf.log, I see references to libiconv(). What's happening? Attached is mkmf.log, and iconv.h. Can you make sense of it? Thanks, Sam
Attachments (2)
gcc -E -traditional-cpp -E -I/sw/include -I/usr/lib/ruby/1.6/powerpc-darwin6.0 -g -Os -pipe -no-cpp-precomp -pipe -pipe -no-precomp -I/usr/include conftest.c
gcc: unrecognized option `-no-precomp'
cpp0: warning: changing search order for system directory "/usr/include"
cpp0: warning: as it has already been specified as a non-system directory
# 1 "conftest.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "conftest.c"
# 1 "/sw/include/iconv.h" 1
# 25 "/sw/include/iconv.h"
extern int _libiconv_version;
# 47 "/sw/include/iconv.h"
typedef void* libiconv_t;
# 1 "/usr/include/stddef.h" 1
# 63 "/usr/include/stddef.h"
# 1 "/usr/include/machine/types.h" 1
# 30 "/usr/include/machine/types.h"
# 1 "/usr/include/ppc/types.h" 1
# 64 "/usr/include/ppc/types.h"
# 1 "/usr/include/sys/cdefs.h" 1
# 65 "/usr/include/ppc/types.h" 2
typedef signed char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;
typedef unsigned short u_int16_t;
typedef int int32_t;
typedef unsigned int u_int32_t;
typedef long long int64_t;
typedef unsigned long long u_int64_t;
typedef int32_t register_t;
typedef long int intptr_t;
typedef unsigned long int uintptr_t;
# 31 "/usr/include/machine/types.h" 2
# 64 "/usr/include/stddef.h" 2
# 1 "/usr/include/machine/ansi.h" 1
# 33 "/usr/include/machine/ansi.h"
# 1 "/usr/include/ppc/ansi.h" 1
# 92 "/usr/include/ppc/ansi.h"
typedef union {
char __mbstate8[128];
long long _mbstateL;
} __mbstate_t;
# 34 "/usr/include/machine/ansi.h" 2
# 65 "/usr/include/stddef.h" 2
typedef int ptrdiff_t;
typedef long unsigned int size_t;
typedef int rune_t;
typedef int wchar_t;
# 51 "/sw/include/iconv.h" 2
# 1 "/usr/include/errno.h" 1
# 22 "/usr/include/errno.h"
# 1 "/usr/include/sys/errno.h" 1
# 68 "/usr/include/sys/errno.h"
extern int * __error (void);
# 23 "/usr/include/errno.h" 2
# 54 "/sw/include/iconv.h" 2
# 72 "/sw/include/iconv.h"
extern libiconv_t libiconv_open (const char* tocode, const char* fromcode);
# 82 "/sw/include/iconv.h"
extern size_t libiconv (libiconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
extern int libiconv_close (libiconv_t cd);
# 97 "/sw/include/iconv.h"
extern int libiconvctl (libiconv_t cd, int request, void* argument);
# 2 "conftest.c" 2
gcc -o conftest -I/usr/lib/ruby/1.6/powerpc-darwin6.0 -g -Os -pipe -no-cpp-precomp -pipe -pipe -no-precomp -I/usr/include -I/sw/include -L/sw/lib conftest.c -liconv -lobjc
gcc: unrecognized option `-no-precomp'
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
ld: Undefined symbols:
_iconv
gcc -o conftest -I/usr/lib/ruby/1.6/powerpc-darwin6.0 -g -Os -pipe -no-cpp-precomp -pipe -pipe -no-precomp -I/usr/include -I/sw/include -L/sw/lib conftest.c -lobjc
gcc: unrecognized option `-no-precomp'
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
conftest.c: In function `t':
conftest.c:3: too few arguments to function `rb_obj_freeze'
gcc -o conftest -I/usr/lib/ruby/1.6/powerpc-darwin6.0 -g -Os -pipe -no-cpp-precomp -pipe -pipe -no-precomp -I/usr/include -I/sw/include -L/sw/lib conftest.c -lobjc
gcc: unrecognized option `-no-precomp'
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -o conftest -I/usr/lib/ruby/1.6/powerpc-darwin6.0 -g -Os -pipe -no-cpp-precomp -pipe -pipe -no-precomp -I/usr/include -I/sw/include -L/sw/lib conftest.c -lobjc
gcc: unrecognized option `-no-precomp'
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
ld: Undefined symbols:
_rb_block_given_p
gcc -o conftest -I/usr/lib/ruby/1.6/powerpc-darwin6.0 -g -Os -pipe -no-cpp-precomp -pipe -pipe -no-precomp -I/usr/include -I/sw/include -L/sw/lib conftest.c -lobjc
gcc: unrecognized option `-no-precomp'
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -o conftest -I/usr/lib/ruby/1.6/powerpc-darwin6.0 -g -Os -pipe -no-cpp-precomp -pipe -pipe -no-precomp -I/usr/include -I/sw/include -L/sw/lib conftest.c -lobjc
gcc: unrecognized option `-no-precomp'
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
ld: Undefined symbols:
_rb_str_buf_new
gcc -o conftest -I/usr/lib/ruby/1.6/powerpc-darwin6.0 -g -Os -pipe -no-cpp-precomp -pipe -pipe -no-precomp -I/usr/include -I/sw/include -L/sw/lib conftest.c -lobjc
gcc: unrecognized option `-no-precomp'
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
conftest.c: In function `t':
conftest.c:3: `rb_str_buf_new' undeclared (first use in this function)
conftest.c:3: (Each undeclared identifier is reported only once
conftest.c:3: for each function it appears in.)
/* Copyright (C) 1999-2001 Free Software Foundation, Inc.
This file is part of the GNU LIBICONV Library.
The GNU LIBICONV Library is free software; you can redistribute it
and/or modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
The GNU LIBICONV Library is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU LIBICONV Library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, Inc., 59 Temple Place -
Suite 330, Boston, MA 02111-1307, USA. */
/* When installed, this file is called "iconv.h". */
#ifndef _LIBICONV_H
#define _LIBICONV_H
#define _LIBICONV_VERSION 0x0107 /* version number: (major<<8) + minor */
extern int _libiconv_version; /* Likewise */
/* We would like to #include any system header file which could define
iconv_t, 1. in order to eliminate the risk that the user gets compilation
errors because some other system header file includes /usr/include/iconv.h
which defines iconv_t or declares iconv after this file, 2. when compiling
for LIBICONV_PLUG, we need the proper iconv_t type in order to produce
binary compatible code.
But gcc's #include_next is not portable. Thus, once libiconv's iconv.h
has been installed in /usr/local/include, there is no way any more to
include the original /usr/include/iconv.h. We simply have to get away
without it.
Ad 1. The risk that a system header file does
#include "iconv.h" or #include_next "iconv.h"
is small. They all do #include <iconv.h>.
Ad 2. The iconv_t type is a pointer type in all cases I have seen. (It
has to be a scalar type because (iconv_t)(-1) is a possible return value
from iconv_open().) */
/* Define iconv_t ourselves. */
#undef iconv_t
#define iconv_t libiconv_t
typedef void* iconv_t;
/* Get size_t declaration. */
#include <stddef.h>
/* Get errno declaration and values. */
#include <errno.h>
/* Some systems, like SunOS 4, don't have EILSEQ. On these systems, define
EILSEQ ourselves, but don't define it as EINVAL, because iconv() callers
want to distinguish EINVAL and EILSEQ. */
#ifndef EILSEQ
#define EILSEQ ENOENT
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Allocates descriptor for code conversion from encoding `fromcode' to
encoding `tocode'. */
#ifndef LIBICONV_PLUG
#define iconv_open libiconv_open
#endif
extern iconv_t iconv_open (const char* tocode, const char* fromcode);
/* Converts, using conversion descriptor `cd', at most `*inbytesleft' bytes
starting at `*inbuf', writing at most `*outbytesleft' bytes starting at
`*outbuf'.
Decrements `*inbytesleft' and increments `*inbuf' by the same amount.
Decrements `*outbytesleft' and increments `*outbuf' by the same amount. */
#ifndef LIBICONV_PLUG
#define iconv libiconv
#endif
extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
/* Frees resources allocated for conversion descriptor `cd'. */
#ifndef LIBICONV_PLUG
#define iconv_close libiconv_close
#endif
extern int iconv_close (iconv_t cd);
#ifndef LIBICONV_PLUG
/* Nonstandard extensions. */
/* Control of attributes. */
#define iconvctl libiconvctl
extern int iconvctl (iconv_t cd, int request, void* argument);
/* Requests for iconvctl. */
#define ICONV_TRIVIALP 0 /* int *argument */
#define ICONV_GET_TRANSLITERATE 1 /* int *argument */
#define ICONV_SET_TRANSLITERATE 2 /* const int *argument */
#endif
#ifdef __cplusplus
}
#endif
#endif /* _LIBICONV_H */