Forum: Ruby RUDL on Mac OS X?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4299e35bacef054df40583da2d51edea?d=identicon&s=25 James Gray (bbazzarrakk)
on 2006-03-10 00:36
(Received via mailing list)
Has anyone successfully installed the RUDL library on Mac OS X
(preferably Tiger)?  If so, can you give me the magic incarnation to
feed exconf.rb?

Thanks.

James Edward Gray II
E34b5cae57e0dd170114dba444e37852?d=identicon&s=25 Logan Capaldo (Guest)
on 2006-03-10 01:55
(Received via mailing list)
On Mar 9, 2006, at 6:34 PM, James Edward Gray II wrote:

> Has anyone successfully installed the RUDL library on Mac OS X
> (preferably Tiger)?  If so, can you give me the magic incarnation
> to feed exconf.rb?
>
> Thanks.
>
> James Edward Gray II
>
>

Did you install from source? Or fink perhaps. It'll will probably
work better as far as rudl is concerned because then it will be more
Unixy. RUDL is looking for sdl-config which the libsdl.org packages
don't  apparently come with. (Apparently they expect you to only
build stuff for your personal use on your machine or something?)

(...some time later...)
I installed the fink version of SDL and ran extconf, which worked fine


Well rudl seems to have a few idiosyncracies. First in bitmask.c
includes malloc.h, OS X doesn't have a malloc.h so I include stdlib.h
and comment out malloc.h This allowd everything to compile, right up
until the link step, where it exploded. Theorizing it may be one of
those gcc3 vs. gcc4 things I'm gonna try using gcc3... So much for
that idea, I apparently don't  have 3.x installed. Sorry I couldn't
be of more help.
A4852818d512c2ed472bdb0ec3e21102?d=identicon&s=25 Urban Hafner (Guest)
on 2006-03-12 13:03
(Received via mailing list)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 10 Mar 2006, at 01:54, Logan Capaldo wrote:

> Well rudl seems to have a few idiosyncracies. First in bitmask.c
> includes malloc.h, OS X doesn't have a malloc.h so I include
> stdlib.h and comment out malloc.h

It does, but it's in /usr/include/malloc.

Urban
- --
http://bettong.net - Urban's Blog


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFEFA3CggNuVCIrEyURAvqFAKCI1zGUcnewO7TSyEX+6JYsb8ghBQCgiK/S
QN/M711bZ8iL5Q9Ln4M284w=
=rrzD
-----END PGP SIGNATURE-----
6a480fcc49315c993fc2c4f37c882133?d=identicon&s=25 Daniel Amelang (Guest)
on 2006-03-13 03:37
(Received via mailing list)
If you don't mind using rsdl instead of rudl:

http://www.ralphdouglass.com/static_content/rubysdl_on_osx

Dan Amelang
This topic is locked and can not be replied to.