[#1094] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — Dave Thomas <dave@...>

> * eval.c (rb_mod_autoload, rb_mod_autoload_p): new method;

12 messages 2003/05/29
[#1095] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — nobu.nokada@... 2003/05/29

Hi,

Re: Possible problem with mkmf under Darwin

From: nobu.nokada@...
Date: 2003-05-26 17:32:24 UTC
List: ruby-core #1088
Hi,

At Tue, 27 May 2003 01:06:11 +0900,
Dave Thomas wrote:
> >>   int main() { return 0; }
> >>   int t() { void ((*volatile p)()); p = (void ((*)()))readline; return 0; }
> >>   /* end */
> > Before it, isn't there this test?
> > checked program was:
> > /* begin */
> > int main() { return 0; }
> > int t() { readline(); return 0; }
> > /* end */
> 
> Yes, there was... but why would it try the second one if the first one
> succeeded?

The second would not be done if the first were succeed.

> Interestingly, though, it now runs successfully. I have no idea what
> is different: I did nothing to the readline library, but running it
> again I get Ruby readline support built OK. I was seeing errors saying
> that libruby-static was out of date, so I did a make clean and a make,
> and everything just worked.

Possibly, the first test might fail to link libruby-static.
You don't keep old mkmf.log?

-- 
Nobu Nakada

In This Thread