{"issue":{"user":{"id":550990,"login":"mikemee","url":"https://api.github.com/users/mikemee","avatar_url":"https://secure.gravatar.com/avatar/20f5f56dfcaa0960a2868cf4b863ad48?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"20f5f56dfcaa0960a2868cf4b863ad48"},"milestone":null,"created_at":"2011-03-14T19:45:01Z","title":"Make on joyent no.de fails due to libxml2 not found","labels":[],"state":"closed","updated_at":"2011-12-20T23:43:16Z","id":672769,"html_url":"https://github.com/polotek/libxmljs/issues/38","closed_at":"2011-12-20T23:43:15Z","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"In a Joyent no.de account, do the following:\r\n\r\n    pkgin install libxml2; pkgin cl; pkgin -y in scons\r\n    npm install libxmljs\r\n\r\nThis will fail. So I grabbed the files and went directly to run make with:\r\n\r\n    npm cache add libxmljs@0.4.1\r\n    cd ~/.node_libraries/.npm/.cache/libxmljs/0.4.1/package\r\n    make\r\n\r\nThis results in:\r\n\r\n    scons: Reading SConscript files ...\r\n    Checking for node.js ...(cached) yes\r\n    True\r\n    Checking for C++ library xml2... no\r\n    Did not find libxml2, exiting!\r\n    make: *** [node] Error 1\r\n\r\nIt turns out that the joyent environment puts the libraries at /lib, so I tried adding '/lib' to the libpath in SConstruct, but that didn't help. I'm guessing there is some other path, perhaps for the include files, that needs to be tweaked too.","number":38,"url":"https://api.github.com/repos/polotek/libxmljs/issues/38","comments":5,"assignee":null},"action":"closed"}