Summary: | net-libs/nodejs-0.7.8 node-waf, command not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | onip <follettoonip> |
Component: | [OLD] Development | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | schamane, scott |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Proposed patch to make node-waf work |
Description
onip
2012-05-23 09:37:33 UTC
also let me add this one while you are looking at the ebuild: npm is installed in /bin/npm while normally in gentoo binaries from packages are in /usr/bin/ (and node is there, indeed). I sincerly don't care about this one but maybe someone else would. Thanks again p.s. I've just manually run ebuild unpack, and compile phases and a node-waf python executable script is in the work/node-0.7.8/tools directory Upstream changed the buildsystem into a broken mess, ebuild pulls out files one by one. Since it does *not* use waf I assumed that it's not needed. (I lack words to describe the confusion I see there!) Let me try to re-add it ... I have same issue here. No node-waf for me :( Module developers will heavy need this. Created attachment 315615 [details, diff]
Proposed patch to make node-waf work
I ran into the same issues as the OP. I patched the build in my local overlay. I've attached the patch. I also move npm from /bin to /usr/bin, but that is not necessarily required. I changed the cp of files in deps/uv/include to a recursive copy after having issues with "uv.h" missing for some modules. Also note, the wafadmin directory critically must be in ../lib/node relative to the node-waf tool. I put them both relative to /usr, but I have not exhaustively tested this location -- that is to say, I wonder why node_modules gets put in /lib and if other tools must in / then.
+ 27 Jun 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.7.12.ebuild: + Bump for #419345 #417241 + 27 Jun 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.7.12.ebuild: + Bump for #419345 #417241 |