Ruby on Open BSD ?

J

joao

Hi all,

I wanted to know if anyone has tried/managed to compile Ruby on Open
BSD ?

I've just tried to compile ruby 1.8.2 on Open BSD 3.4 (after installing
GNU Make 3.80 on it) and it didn't work, make goes into a loop calling
configure...

Joao
 
D

David Ross

Ruby should compile fine. Many people who use OpenBSD have compiled it.
Are you sure here isnt something wrong with configure or autotools like
always?

--dross
 
J

Jan Krüger

joao said:
Hi all,

I wanted to know if anyone has tried/managed to compile Ruby on Open
BSD ?

I've just tried to compile ruby 1.8.2 on Open BSD 3.4 (after installing
GNU Make 3.80 on it) and it didn't work, make goes into a loop calling
configure...

Joao

You may want to try the ruby-1.8.1 port:

cd /usr/ports/lang/ruby
make install

Jan
 
J

Jeremy Hinegardner

joao> Hi all, I wanted to know if anyone has tried/managed to compile
joao> Ruby on Open BSD ?

yup.

% which ruby && ruby -v
/usr/local/bin/ruby
ruby 1.8.1 (2003-12-25) [i386-openbsd3.4]

% ./ruby -v
ruby 1.8.2 (2004-07-29) [i386-openbsd3.4]

joao> I've just tried to compile ruby 1.8.2 on Open BSD 3.4 (after
joao> installing GNU Make 3.80 on it) and it didn't work, make goes into
joao> a loop calling configure...

Hmm... I don't know what to tell you, just to test it out I rebuilt both
the 1.8.1 from ports and the 1.8.2-preview2 tarball. Both worked fine.

Rebuilding 1.8.2 worked just fine with the the standard ./configure &&
make. It doesn't appear that building 1.8.2 requires gmake.

If you have some more info, post and maybe someone can help out.

enjoy,

-jeremy
 
D

Dick Davies

* joao said:
Hi all,

I wanted to know if anyone has tried/managed to compile Ruby on Open
BSD ?

I've just tried to compile ruby 1.8.2 on Open BSD 3.4 (after installing
GNU Make 3.80 on it) and it didn't work, make goes into a loop calling
configure...

Are you sure it loops? I've had a similar problem with the CVS build
on NetBSD, but it only happens the first time I run make.
 
J

joao

Thank you all for the suggestions. If I have time, I will indeed
investigate the autotools, they do seem at fault here. In the mean time
I'll take Jan's suggestion and go for the port, it was there already
on my machine.

Joao
 
O

otaku

i seem to recall having to install libiconv, flex, bison...not sure if
this made a difference
also run gmake
i have the latest stable build of Ruby running on
OpenBSD 3.5
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,417
Latest member
DarrenGaun

Latest Threads

Top