login community faq

I'm attempting to install nodejs, and ran into an issue:

1
2
3
4
5
6
7
8
/home/illandril/node/deps/v8/src/platform-linux.cc:587: error: `PR_SET_NAME' was not declared in this scope
/home/illandril/node/deps/v8/src/platform-linux.cc:587: warning: unused variable 'PR_SET_NAME'
scons: *** [obj/release/platform-linux.o] Error 1
scons: building terminated because of errors.
Waf: Leaving directory `/home/illandril/node/build'
Build failed:  -> task failed (err #2): 
    {task: libv8.a SConstruct -> libv8.a}
make: *** [program] Error 1

I did some research on the problem, and it seems the problem is likely because the server I'm on has GCC 3.4.6, and nodejs needs GCC 4.x

Google Groups discussion where I'm getting this information: http://groups.google.com/group/nodejs-dev/browse_thread/thread/33c16f90ac5807b2

That discussion also suggests there might still be a problem after updating GCC with an outdated kernel, since the variable that it is choking on was added in 2.6.9 - the server I'm on is running 2.6.9-89.29.1.ELsmp, which hopefully is new enough, but might be a tad too old.

What's the best way to get these updated?

asked May 31 '11 at 13:22

illandril's gravatar image

illandril
31


You're on our oldest server, and we have no plans to upgrade the kernel nor gcc on that machine. My recommendation is that you move one of our newer machines.

A general guide to moving to a new server is available in our documentation: Migrating Servers

If you'd like to do that. just open a support ticket and we'll add the new machine to your account ASAP. Once you've moved, we can then remove the old machine from your account.

If you don't want to do that, then the alternative is to build your own GCC (and probably many of its dependencies) from source in your home directory. A general guide for building software in your home directory is available in our documentation: Installing Software from Source. (Note that you'll still have to face the possibility that the kernel isn't new enough.)

answered May 31 '11 at 14:56

seanf's gravatar image

seanf ♦♦
55991220

I've opened a ticket. Thanks!

(May 31 '11 at 15:51) illandril illandril's gravatar image

You're welcome! :)

(May 31 '11 at 15:55) seanf ♦♦ seanf's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×19
×5

Asked: May 31 '11 at 13:22

Seen: 982 times

Last updated: May 31 '11 at 15:55

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited