Closed ghost closed 9 years ago
Interesting, this seems to be an issue with redcarpet. Not sure what's going on there yet.
Hi jdcantrell, thanks for replying so fast!
I tried to install de redcarpet gem with sudo gem install redcarpet -v 3.1.2
(without sudo I get a permission error) and, again, the following error:
Building native extensions. This could take a while...
ERROR: Error installing redcarpet:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling autolink.c
compiling buffer.c
compiling houdini_href_e.c
compiling houdini_html_e.c
compiling html.c
html.c:290:57: warning: passing 'const struct buf *' to parameter of type 'struct buf *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
bufprintf(ob, "<h%d id=\"%s\">", level, header_anchor(text));
^~~~
html.c:268:33: note: passing argument to parameter 'text' here
char *header_anchor(struct buf *text)
^
html.c:638:51: warning: passing 'const struct buf *' to parameter of type 'struct buf *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
bufprintf(ob, "<a href=\"#%s\">", header_anchor(text));
^~~~
html.c:268:33: note: passing argument to parameter 'text' here
char *header_anchor(struct buf *text)
^
2 warnings generated.
compiling html_smartypants.c
compiling markdown.c
compiling rc_markdown.c
compiling rc_render.c
compiling stack.c
linking shared-object redcarpet.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [redcarpet.bundle] Error 1
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/redcarpet-3.1.2 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/redcarpet-3.1.2/ext/redcarpet/gem_make.out
This is definitely an issue with redcarpet, it seems like it has been resolved now.
When I try to install or bundle the gem, I get the following error: