RMagick on OSX

H

Hunter Hillegas

Howdy,

I have followed the instructions to get RMagick installed on OS X Tiger.

I got all the way to the last two steps and it failed. I am using the OS X
install instructions in the tarball.

I get this when I 'make' RMagick:

aibook:~/Desktop/RMagick-1.9.3 hunter$ make
/usr/bin/ruby install.rb config
install.rb: entering config phase...
---> lib
---> lib/rvg
<--- lib/rvg
<--- lib
---> ext
---> ext/RMagick
/usr/bin/ruby /Users/hunter/Desktop/RMagick-1.9.3/ext/RMagick/extconf.rb
install.rb:400: warning: Insecure world writable dir /Users/hunter/Unix,
mode 040777
can't find header files for ruby.
config failed
'system /usr/bin/ruby
/Users/hunter/Desktop/RMagick-1.9.3/ext/RMagick/extconf.rb ' failed
try 'ruby install.rb --help' for usage
make: *** [config.save] Error 1

Ruby was part of the system:

aibook:~/Desktop/RMagick-1.9.3 hunter$ which ruby
/usr/bin/ruby

aibook:~/Desktop/RMagick-1.9.3 hunter$ ls /usr/lib/ruby
1.8 gems site_ruby

So, I tried several other options:

aibook:~/Desktop/RMagick-1.9.3 hunter$ ruby install.rb
--std-ruby=/usr/lib/ruby/1.8 install
unknown global option '--std-ruby=/usr/lib/ruby/1.8'
try 'ruby install.rb --help' for usage
aibook:~/Desktop/RMagick-1.9.3 hunter$ ruby install.rb
--std-ruby=/usr/lib/ruby/1.8 config
unknown global option '--std-ruby=/usr/lib/ruby/1.8'
try 'ruby install.rb --help' for usage
aibook:~/Desktop/RMagick-1.9.3 hunter$ ruby install.rb install
--std-ruby=/usr/lib/ruby/1.8
install.rb config first
try 'ruby install.rb --help' for usage


Any ideas?

Thanks,
Hunter
 
T

Timothy Hunter

Hunter said:
Howdy,

I have followed the instructions to get RMagick installed on OS X Tiger.

I got all the way to the last two steps and it failed. I am using the OS X
install instructions in the tarball.

I get this when I 'make' RMagick:

aibook:~/Desktop/RMagick-1.9.3 hunter$ make
/usr/bin/ruby install.rb config
install.rb: entering config phase...
---> lib
---> lib/rvg
<--- lib/rvg
<--- lib
---> ext
---> ext/RMagick
/usr/bin/ruby /Users/hunter/Desktop/RMagick-1.9.3/ext/RMagick/extconf.rb
install.rb:400: warning: Insecure world writable dir /Users/hunter/Unix,
mode 040777
can't find header files for ruby.
config failed
'system /usr/bin/ruby
/Users/hunter/Desktop/RMagick-1.9.3/ext/RMagick/extconf.rb ' failed
try 'ruby install.rb --help' for usage
make: *** [config.save] Error 1

Ruby was part of the system:

aibook:~/Desktop/RMagick-1.9.3 hunter$ which ruby
/usr/bin/ruby


Howdy, Hunter!

That message means extconf.rb can't find the ruby.h header file it needs
to compile RMagick. On my system I have this file:

/usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h

Is it present on your system? (I can't imagine why it wouldn't be.) Did
you specify any options on the ./configure command?
 
H

Hunter Hillegas

Nope, I don't have that file:

aibook:~ hunter$ /usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h
-bash: /usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h: No such file or directory

I DO have it here:

/usr/lib/ruby/1.8/universal-darwin8.0/ruby.h

Any ideas how I can get this header found?

Thanks,
Hunter
From: Timothy Hunter <[email protected]>
Organization: Road Runner - NC
Reply-To: <[email protected]>
Newsgroups: comp.lang.ruby
Date: Sun, 30 Oct 2005 21:52:06 +0900
To: ruby-talk ML <[email protected]>
Subject: Re: RMagick on OSX

Hunter said:
Howdy,

I have followed the instructions to get RMagick installed on OS X Tiger.

I got all the way to the last two steps and it failed. I am using the OS X
install instructions in the tarball.

I get this when I 'make' RMagick:

aibook:~/Desktop/RMagick-1.9.3 hunter$ make
/usr/bin/ruby install.rb config
install.rb: entering config phase...
---> lib
---> lib/rvg
<--- lib/rvg
<--- lib
---> ext
---> ext/RMagick
/usr/bin/ruby /Users/hunter/Desktop/RMagick-1.9.3/ext/RMagick/extconf.rb
install.rb:400: warning: Insecure world writable dir /Users/hunter/Unix,
mode 040777
can't find header files for ruby.
config failed
'system /usr/bin/ruby
/Users/hunter/Desktop/RMagick-1.9.3/ext/RMagick/extconf.rb ' failed
try 'ruby install.rb --help' for usage
make: *** [config.save] Error 1

Ruby was part of the system:

aibook:~/Desktop/RMagick-1.9.3 hunter$ which ruby
/usr/bin/ruby


Howdy, Hunter!

That message means extconf.rb can't find the ruby.h header file it needs
to compile RMagick. On my system I have this file:

/usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h

Is it present on your system? (I can't imagine why it wouldn't be.) Did
you specify any options on the ./configure command?
 

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

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,809
Latest member
moe77

Latest Threads

Top