moovweb/gokogiri

El capitan issue

Closed this issue · 1 comments

Any ideas how to fix this after el capitan upgrade?

[11:53:11] Error (go install): # github.com/blank/feeds/vendor/github.com/moovweb/gokogiri/help
[11:53:11] Error (go install): vendor/github.com/moovweb/gokogiri/help/help.go:6:10: fatal error: 'libxml/tree.h' file not found
[11:53:11] Error (go install): #include <libxml/tree.h>
[11:53:11] Error (go install):          ^
[11:53:11] Error (go install): 1 error generated.

If someone runs into this issue, I was able to fix this by install xcode command line tools.

xcode-select --install