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?
.




Relevant Pages

  • Re: [0/6] kgdb light
    ... We have following header files in the core part: ... And asm-generic/kgdb.h to list everything that the arch needs to ... config HAVE_ARCH_KGDB ... And we can get rid of (from x86/Kconfig): ...
    (Linux-Kernel)
  • Re: dealing with excessive includes
    ... I agree _verifying_ this for all config and arch combinations is hard. ... have to care less about config/arch dependencies. ... But header files already basically are self-contained. ... they bring in other things depending on architecture, ...
    (Linux-Kernel)
  • [PATCH 3/9] Replace ARCH_HAS_READ_CURRENT_TIMER with CONFIG_ARCH_READ_CURRENT_TIMER
    ... Move it from header files to Kconfig space. ... extern unsigned int cpu_khz; ... config ARCH_ENABLE_MEMORY_HOTPLUG ...
    (Linux-Kernel)
  • Re: Notepad++ (any Ruby config?)
    ... Yes, Komodo looks fine, however, it's config seems to have required some ... heavy reading and tweaking. ... Ruby, with debugging. ...
    (comp.lang.ruby)
  • Re: Need help for Ruby DBI and PostgreSQl
    ... Try 'ruby setup.rb --help' for detailed usage. ... You didn't show the command line you typed. ... entering config phase... ... config: unknown option --help ...
    (comp.lang.ruby)