We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
^
1 error generated. make: *** [content_type.o] Error 1
The text was updated successfully, but these errors were encountered:
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 [email protected] 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.
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.
Sorry, something went wrong.
No branches or pull requests
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 <magic.h>
1 error generated.
make: *** [content_type.o] Error 1
The text was updated successfully, but these errors were encountered: