Not able to install node_xslt on node.js

2019-08-14 15:34发布

问题:

I am trying to install node_xslt from command prompt by using

npm install node_xslt

But I am getting the following error: http://i.stack.imgur.com/ItxFT.png

There are few prerequisites to install node_xslt:

libxml2 
libxslt 
libexslt 
xml2-config (Needs to be on PATH)

Also when I tried to install libxml2 and other libraries, I got this error: http://i.stack.imgur.com/sxMg0.png

I am not sure where xml2-config file is. It says that it should be in my path.