ssoper / summarize

A Ruby C wrapper for Open Text Summarizer
http://intridea.com/2010/12/3/summarize-a-ruby-c-binding-for-open-text-summarizer
205 stars 14 forks source link

Weird Error Trying to install Summarize #10

Open ddavisgraphics opened 5 years ago

ddavisgraphics commented 5 years ago

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/djdavis/.rvm/gems/ruby-2.6.3/gems/summarize-1.0.3 for inspection.
Results logged to /Users/djdavis/.rvm/gems/ruby-2.6.3/extensions/x86_64-darwin-18/2.6.0/summarize-1.0.3/gem_make.out```
ddavisgraphics commented 5 years ago

I have verified the LibXML2 is installed.

rshetye commented 3 years ago

You need the dev version of libxml2 e.g. libxml2-dev on ubuntu