On Fri, Feb 8, 2013 at 9:36 PM, Will Arroyo <[email protected]> wrote: > > thank you for the help! I have got node running but i am having trouble with > npm...all i see in the bin directory is a npm-cli.js file. is this suppose > to be in my path?
Oops (I didn't say I had thoroughly tested it). What I should have written was cd bin ln -s ../lib/node_modules/npm/bin/npm-cli.js npm so that npm is a symlink to that script. You'll probably have to edit that as well, so it's got the correct path to the node binary in it. > On Friday, February 8, 2013 11:42:27 AM UTC-7, Peter Tribble wrote: >> >> On Fri, Feb 8, 2013 at 6:38 PM, Will Arroyo <[email protected]> wrote: >> > Wow thanks for the fast response! I also already have curl installed, so >> > in >> > order to use my own curl would I just change those sym links? >> >> No, if you arrange it so that it finds your curl first, then you'll >> be fine. You could then just delete the curl I ship (which is just >> a convenience for people who don't have it already). (Ditto the >> symlinks for tar and make - I think npm expects the gnu versions >> of tar and make.) >> >> > On Friday, February 8, 2013 11:28:28 AM UTC-7, Peter Tribble wrote: >> >> >> >> On Fri, Feb 8, 2013 at 6:10 PM, Will Arroyo <[email protected]> >> >> wrote: >> >> > I know this is an old thread but I want to use your package for >> >> > solaris >> >> > 10. >> >> > Only thing is I want to install it in my home directory not opt/node. >> >> > how >> >> > can this be done? >> >> >> >> You can extract the files out of a package with pkgtrans, the only >> >> bit this will miss is any symbolic or hard links. >> >> >> >> Something like this ought to work: >> >> >> >> bunzip2 TRIBnode-0.8.19.0.pkg.bz2 >> >> pkgtrans TRIBnode-0.8.19.0.pkg . >> >> mv TRIBnode/root/opt/Node . >> >> >> >> you'll need to set LD_LIBRARY_PATH (one day I'll get around >> >> to fixing this because it shouldn't really be necessary) >> >> >> >> env LD_LIBRARY_PATH=Node/lib PATH=Node/bin:$PATH node ... >> >> >> >> and if you want npm to work there are a few more symlinks >> >> >> >> cd Node/lib >> >> ln -s libcurl.so.4.2.0 libcurl.so.4 >> >> ln -s libcurl.so.4.2.0 libcurl.so >> >> cd ../bin >> >> ln -s /usr/sfw/bin/gmake make >> >> ln -s ../lib/node_modules/npm/bin/npm-cli.js* >> >> ln -s /usr/sfw/bin/gtar tar >> >> -- >> -Peter Tribble >> http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
