You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running gem install summarize but am getting the following error message:
Building native extensions. This could take a while...
ERROR: Error installing summarize:
ERROR: Failed to build gem native extension.
/Users/Dani/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling article.c
article.c:107:37: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return;
^~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
article.c:109:68: warning: passing 'const unsigned char *' to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord));
^~~~~
/usr/local/Cellar/glib/2.40.0_1/include/glib-2.0/glib/gstrfuncs.h:216:52: note: passing argument to parameter 'str' here
gchar* g_strdup (const gchar *str) G_GNUC_MALLOC;
^
2 warnings generated.
compiling dictionary.c
dictionary.c:28:10: fatal error: 'libxml/xmlmemory.h' file not found
#include <libxml/xmlmemory.h>
^
1 error generated.
make: *** [dictionary.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/Dani/.rvm/gems/ruby-2.1.2/gems/summarize-1.0.3 for inspection.
Results logged to /Users/Dani/.rvm/gems/ruby-2.1.2/extensions/x86_64-darwin-13/2.1.0-static/summarize-1.0.3/gem_make.out
Btw, I am running Ruby 2.1.2.
Thanks
The text was updated successfully, but these errors were encountered:
Ok thanks. I had better luck with the open text summarizer gem though it also is including the hash keys in it's output rather than just the values but that's easy to fix. https://github.com/deepfryed/ots
I tried running
gem install summarize
but am getting the following error message:Btw, I am running Ruby 2.1.2.
Thanks
The text was updated successfully, but these errors were encountered: