Re: [nodejs] Re: errors when using node-gyp to build

2012-09-11 Thread Frank
One example is:

/path/to/node /path/to/node-gyp.js --proxy=http://proxyhost.domain.com:8000 
clean configure build

I had to look at the source of node-gyp.js

-Frank


On Monday, April 23, 2012 5:28:25 PM UTC-5, Nathan Rajlich wrote:

 If you're behing a corporate proxy, then will have to set the PROXY 
 environment variable, or set the --proxy switch to your the address of your 
 proxy server.

 On Mon, Apr 23, 2012 at 2:13 PM, Ryan Cole ry...@rycole.com javascript:
  wrote:

 According to the node-gyp read me file, node-gyp will download required 
 files. It looks to me like that download is failing for you.

 Ryan


 On Monday, April 23, 2012 12:45:22 PM UTC-5, SteveCronin wrote:

 Can someone help me figure out what is going on with this invocation of 
 node-gyp?
 Where do I go for more information?

 node-gyp@0.4.1  /usr/local/lib/node_modules/**node-gyp

 hsd-test-iMac-1073:XYZApp admin$ node --version
 v0.6.15
 hsd-test-iMac-1073:XYZApp admin$ which node
 /usr/local/bin/node

 hsd-test-iMac-1073:XYZApp admin$ sudo node-gyp -v configure build
 Password:
 info it worked if it ends with ok 
 verb command 'configure' [] 
 verb `which` succeeded for `python` '/usr/bin/python' 
 verb no --target version specified, falling back to host node version 
 'v0.6.15' 
 verb command 'install' [ 'v0.6.15' ] 
 verb input version string 'v0.6.15' 
 verb installing legacy version? true 
 verb installing version '0.6.15' 
 verb --ensure was passed, so won't reinstall if already installed 
 verb version not already installed, continuing with install '0.6.15' 
 verb created: '/Users/admin/.node-gyp/0.6.**15' 
 info downloading: 
 http://nodejs.org/dist/v0.6.**15/node-v0.6.15.tar.gzhttp://nodejs.org/dist/v0.6.15/node-v0.6.15.tar.gz
  
 verb got an error, rolling back install 
 verb command 'remove' [ '0.6.15' ] 
 verb using node-gyp dir '/Users/admin/.node-gyp' 
 verb removing development files for version '0.6.15' 
 ERR! Error: connect ETIMEDOUT
at errnoException (net.js:670:11)
at Object.afterConnect [as oncomplete] (net.js:661:19)
 ERR! not ok
 hsd-test-iMac-1073:XYZApp admin$ 

  -- 
 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 nod...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 nodejs+un...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/nodejs?hl=en?hl=en




-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en


[nodejs] Re: errors when using node-gyp to build

2012-04-23 Thread mscdex
On Apr 23, 1:45 pm, SteveCronin steve.d.cro...@gmail.com wrote:
 Can someone help me figure out what is going on with this invocation of
 node-gyp?
 Where do I go for more information?

What are you trying to build with node-gyp? Why is sudo needed?

-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en


Re: [nodejs] Re: errors when using node-gyp to build

2012-04-23 Thread Nathan Rajlich
If you're behing a corporate proxy, then will have to set the PROXY
environment variable, or set the --proxy switch to your the address of your
proxy server.

On Mon, Apr 23, 2012 at 2:13 PM, Ryan Cole r...@rycole.com wrote:

 According to the node-gyp read me file, node-gyp will download required
 files. It looks to me like that download is failing for you.

 Ryan


 On Monday, April 23, 2012 12:45:22 PM UTC-5, SteveCronin wrote:

 Can someone help me figure out what is going on with this invocation of
 node-gyp?
 Where do I go for more information?

 node-gyp@0.4.1  /usr/local/lib/node_modules/**node-gyp

 hsd-test-iMac-1073:XYZApp admin$ node --version
 v0.6.15
 hsd-test-iMac-1073:XYZApp admin$ which node
 /usr/local/bin/node

 hsd-test-iMac-1073:XYZApp admin$ sudo node-gyp -v configure build
 Password:
 info it worked if it ends with ok
 verb command 'configure' []
 verb `which` succeeded for `python` '/usr/bin/python'
 verb no --target version specified, falling back to host node version
 'v0.6.15'
 verb command 'install' [ 'v0.6.15' ]
 verb input version string 'v0.6.15'
 verb installing legacy version? true
 verb installing version '0.6.15'
 verb --ensure was passed, so won't reinstall if already installed
 verb version not already installed, continuing with install '0.6.15'
 verb created: '/Users/admin/.node-gyp/0.6.**15'
 info downloading: 
 http://nodejs.org/dist/v0.6.**15/node-v0.6.15.tar.gzhttp://nodejs.org/dist/v0.6.15/node-v0.6.15.tar.gz

 verb got an error, rolling back install
 verb command 'remove' [ '0.6.15' ]
 verb using node-gyp dir '/Users/admin/.node-gyp'
 verb removing development files for version '0.6.15'
 ERR! Error: connect ETIMEDOUT
at errnoException (net.js:670:11)
at Object.afterConnect [as oncomplete] (net.js:661:19)
 ERR! not ok
 hsd-test-iMac-1073:XYZApp admin$

  --
 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 nodejs@googlegroups.com
 To unsubscribe from this group, send email to
 nodejs+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/nodejs?hl=en?hl=en


-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en