edgecase / ghpreview

Preview Markdown files (such as a README) exactly how it will appear on Github
MIT License
27 stars 4 forks source link

Need to add note about icu4c to README #5

Closed pairing closed 11 years ago

pairing commented 11 years ago

...OR ELSE...

~ gem install ghpreview
Fetching: listen-0.6.0.gem (100%)
Fetching: rb-fsevent-0.9.2.gem (100%)
Fetching: gemoji-1.3.0.gem (100%)
Fetching: github-markdown-0.5.3.gem (100%)
Building native extensions.  This could take a while...
Fetching: sanitize-2.0.3.gem (100%)
Fetching: charlock_holmes-0.6.9.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing ghpreview:
    ERROR: Failed to build gem native extension.

        /Users/pairing/.rvm/rubies/ruby-1.9.3-p327/bin/ruby extconf.rb
checking for main() in -licui18n... no
checking for main() in -licui18n... no

***************************************************************************************
*********** icu required (brew install icu4c or apt-get install libicu-dev) ***********
***************************************************************************************
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/Users/pairing/.rvm/rubies/ruby-1.9.3-p327/bin/ruby
    --with-icu-dir
    --without-icu-dir
    --with-icu-include
    --without-icu-include=${icu-dir}/include
    --with-icu-lib
    --without-icu-lib=${icu-dir}/lib
    --with-icui18nlib
    --without-icui18nlib
    --with-icui18nlib
    --without-icui18nlib

Gem files will remain installed in /Users/pairing/.rvm/gems/ruby-1.9.3-p327/gems/charlock_holmes-0.6.9 for inspection.
Results logged to /Users/pairing/.rvm/gems/ruby-1.9.3-p327/gems/charlock_holmes-0.6.9/ext/charlock_holmes/gem_make.out
adamlogic commented 11 years ago

Ignore this comment. :fire: