blackbeam / poppler-simple

A simple javascript interface to poppler library
Apache License 2.0
37 stars 14 forks source link

can not install on mac node 6.x and 8.x #19

Closed Pana closed 7 years ago

Pana commented 7 years ago
screen shot 2017-09-09 at 14 23 58
blackbeam commented 7 years ago

Hi! Which c++ compiler do you use?

Pana commented 7 years ago

I am using xcode command line tool, with gcc --version i got this Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 8.1.0 (clang-802.0.42) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

blackbeam commented 7 years ago

I've just published v0.2.8 of poppler-simple. It should work with poppler >= 0.55.0. Could you please install latest version using npm --verbose install poppler-simple and post output here?

Pana commented 7 years ago

I can success install it now, thanks

Pana commented 7 years ago

When i install it on centos i got this bug

screen shot 2017-09-12 at 18 02 20
Pana commented 7 years ago

I have install poppler with cmd "yum install poppler"

blackbeam commented 7 years ago

In linux distros poppler-version.h is usually in packet called like poppler-cpp-devel or similar.

Pana commented 7 years ago

I got it, thanks very much