when you call configure, just do ./configure --prefix=$HOME/node so that
make install would put it somewhere else.  If you want to make things easy
for yourself, you can just install nvm and it would essentially do that for
you.


On Thu, Jun 28, 2012 at 4:46 AM, Dan S <[email protected]> wrote:

> If I can't do:
>
> "sudo make install"
>
> because I lack the privilidges... how can I build it just for myself (and
> is that possible)?
>
>
> On Wednesday, June 27, 2012 7:16:28 PM UTC-4, Ben Noordhuis wrote:
>
>> On Wed, Jun 27, 2012 at 9:05 PM, Dan S wrote:
>> > I'm getting problems very similar the first one reported in:
>> >
>> > http://comments.gmane.org/**gmane.comp.lang.javascript.**nodejs/42890<http://comments.gmane.org/gmane.comp.lang.javascript.nodejs/42890>
>> >
>> > So I tried to adapt the solution to my shell (I'm putting ">" in to
>> indicate
>> > lines I input) but I still get the same problem.  Any clues would be
>> nice.
>> >
>> >> setenv PYTHON /devel/infr/python/bin/python
>> >> $PYTHON ./configure
>> > { 'target_defaults': { 'cflags': [],
>> >                        'default_configuration': 'Release',
>> >                        'defines': [],
>> >                        'include_dirs': [],
>> >                        'libraries': []},
>> >   'variables': { 'host_arch': 'ia32',
>> >                  'node_install_npm': 'true',
>> >                  'node_install_waf': 'true',
>> >                  'node_prefix': '',
>> >                  'node_shared_openssl': 'false',
>> >                  'node_shared_v8': 'false',
>> >                  'node_shared_zlib': 'false',
>> >                  'node_use_dtrace': 'false',
>> >                  'node_use_etw': 'false',
>> >                  'node_use_openssl': 'true',
>> >                  'strict_aliasing': 'true',
>> >                  'target_arch': 'ia32',
>> >                  'v8_use_snapshot': 'true'}}
>> > creating  ./config.gypi
>> > creating  ./config.mk
>> > Traceback (most recent call last):
>> >   File "tools/gyp_node", line 11, in ?
>> >     import gyp
>> >   File "./tools/gyp/pylib/gyp/__init_**_.py", line 8, in ?
>> >     import gyp.input
>> >   File "./tools/gyp/pylib/gyp/input.**py", line 14, in ?
>> >     import gyp.common
>> >   File "./tools/gyp/pylib/gyp/common.**py", line 373
>> >     with open(source_path) as source_file:
>> >             ^
>> > SyntaxError: invalid syntax
>>
>> I've landed a fix in [1] that should address that. It's in the v0.8
>> branch of the git repo.
>>
>> [1] 
>> https://github.com/joyent/**node/commit/d5f13f6<https://github.com/joyent/node/commit/d5f13f6>
>>
>  --
> 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
>

-- 
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

Reply via email to