HH1
(HH)
1
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
Hunter Hillegas wrote:
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?
HH1
(HH)
3
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 <cyclists@nc.rr.com>
Organization: Road Runner - NC
Reply-To: <ruby-talk@ruby-lang.org>
Newsgroups: comp.lang.ruby
Date: Sun, 30 Oct 2005 21:52:06 +0900
To: ruby-talk ML <ruby-talk@ruby-lang.org>
Subject: Re: RMagick on OSX
Hunter Hillegas wrote:
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?