Yes that works, thank you very much Isaac.
-- 
Jorge.

On 25/06/2012, at 17:58, Isaac Schlueter wrote:

> Aha, the issue is that ~ is not being expanded in the shebang step.
> If you do this, it will work:
> 
> ./configure --prefix=$HOME/JAVASCRIPT/binarios
> 
> We can fix this for 0.8.1 :)
> 
> On Mon, Jun 25, 2012 at 8:56 AM, Isaac Schlueter <[email protected]> wrote:
>> Yep.  That's a bug.  Please post an issue.
>> https://github.com/joyent/node/issues
>> 
>> It seems to work fine if you install without a --prefix, but of
>> course, then it goes to /usr/local, which may not be what you want.
>> 
>> On Mon, Jun 25, 2012 at 8:46 AM, Jorge <[email protected]> wrote:
>>> Help me please:
>>> 
>>> $ ./configure --prefix=~/JAVASCRIPT/binarios/
>>> $ make -j 3 install
>>> 
>>> is giving me this:
>>> 
>>> ...
>>> shebang #!~/JAVASCRIPT/binarios/bin/node 
>>> ~/JAVASCRIPT/binarios/lib/node_modules/npm/bin/npm-cli.js
>>> 
>>> fs.js:338
>>>  return binding.open(pathModule._makeLong(path), stringToFlags(flags), 
>>> mode);
>>>                 ^
>>> Error: ENOENT, no such file or directory 
>>> '~/JAVASCRIPT/binarios/lib/node_modules/npm/bin/npm-cli.js'
>>>    at Object.fs.openSync (fs.js:338:18)
>>>    at Object.fs.readFileSync (fs.js:182:15)
>>>    at shebang (/Users/jorge/JAVASCRIPT/node-v0.8.0/tools/installer.js:53:20)
>>>    at run (/Users/jorge/JAVASCRIPT/node-v0.8.0/tools/installer.js:77:10)
>>>    at /Users/jorge/JAVASCRIPT/node-v0.8.0/tools/installer.js:85:7
>>>    at ChildProcess.exithandler (child_process.js:534:7)
>>>    at ChildProcess.EventEmitter.emit (events.js:91:17)
>>>    at maybeClose (child_process.js:634:16)
>>>    at Process._handle.onexit (child_process.js:676:5)
>>> make: *** [install] Error 1
>>> 
>>> in a Mac with OSX 10.6.8.
>>> --
>>> Jorge.

Reply via email to