[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Making 1.9.0 on Mac OS 10.4

fedzor

1/21/2008 11:31:00 PM

Well, not much to say here.

% ./configure --disable-pthreads
% make
...
...
making ruby
gcc -g -O2 -pipe -fno-common -L. main.o -lruby-static -lpthread
-ldl -lobjc -o ruby
/usr/bin/ld: archive: ./libruby-static.a has no table of contents,
add one with ranlib(1) (can't load from it)
collect2: ld returned 1 exit status
make[1]: *** [ruby] Error 1
make: *** [all] Error 2
% wtf
-bash: wtf: command not found

So... Has anyone else run into this problem? If so, what did you do
to fix it?

Thanks,
Ari

1 Answer

Robert Bazinet

1/21/2008 11:47:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

I had a few issues getting it running on Tiger but worked out the problems.
I documented it here,
http://rbazinet.wordpress.com/2007/12/31/building-ruby-190-on-an-...

I hope it helps.

-Rob Bazinet

On Jan 21, 2008 6:30 PM, fedzor <fedzor@gmail.com> wrote:

> Well, not much to say here.
>
> % ./configure --disable-pthreads
> % make
> ...
> ...
> making ruby
> gcc -g -O2 -pipe -fno-common -L. main.o -lruby-static -lpthread
> -ldl -lobjc -o ruby
> /usr/bin/ld: archive: ./libruby-static.a has no table of contents,
> add one with ranlib(1) (can't load from it)
> collect2: ld returned 1 exit status
> make[1]: *** [ruby] Error 1
> make: *** [all] Error 2
> % wtf
> -bash: wtf: command not found
>
> So... Has anyone else run into this problem? If so, what did you do
> to fix it?
>
> Thanks,
> Ari
>
>


--
Rob Bazinet
InfoQ Ruby and .NET Editor
http://www.accidentaltechno...