Open Tehyun opened 10 years ago
Hey, you can get magic.h from the 'libmagic' brew. Homebrew details here: http://brew.sh
On 5 Jul 2014, at 7:23 pm, Tehyun notifications@github.com wrote:
Ran into the following error message while installing the gem. I copy and pasted files to ext directory. Can you please help me out on this?
Building native extensions. This could take a while... ERROR: Error installing content_type: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb
checking for magic.h in /opt/local/include... no checking for magic_open() in -lmagic... no creating Makefile
make compiling content_type.c content_type.c:2:10: fatal error: 'magic.h' file not found
include
^ 1 error generated. make: *\ [content_type.o] Error 1
— Reply to this email directly or view it on GitHub.
Ran into the following error message while installing the gem. I copy and pasted files to ext directory. Can you please help me out on this?
Building native extensions. This could take a while... ERROR: Error installing content_type: ERROR: Failed to build gem native extension.
checking for magic.h in /opt/local/include... no checking for magic_open() in -lmagic... no creating Makefile
make compiling content_type.c content_type.c:2:10: fatal error: 'magic.h' file not found
include
1 error generated. make: *\ [content_type.o] Error 1