Re: Installing eRuby on MacOS X

Shugo Maeda <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

At Wed, 21 Jan 2004 15:19:25 -0700,
Gavin Kistner <[email protected]> wrote:
> I'm assuming that perhaps the problem is that the eRuby installer put 
> the library in the wrong location. When I perform "make install" I see:
> 	liberuby.a -> /usr/local/lib/liberuby.a
> 	chmod 0644 /usr/local/lib/liberuby.a

It's not a problem because liberuby.a is not used at runtime.
eruby.DLEXT (DLEXT is "so" on my platform) is statically linked
with liberuby.a.

I don't know Mac OS X, but some options may be necessary for the linker.
Please show me the log of `make all' (not `make install').

Then can you run eruby?

  $ eruby --version

And can you require eruby by ruby?

  $ ruby -r eruby -e 'p ERuby'

Shugo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.