WebFaction
Community site: login faq

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

/home/illandril/node/deps/v8/src/platform-linux.cc: In function `void* v8::internal::ThreadEntry(void*)':
/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 31 May '11, 13:22

illandril
312
accept rate: 0%


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

permanent link

answered 31 May '11, 14:56

seanf
12.2k41836
accept rate: 37%

I've opened a ticket. Thanks!

(31 May '11, 15:51) illandril

You're welcome! :)

(31 May '11, 15:55) seanf
Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×34
×15

question asked: 31 May '11, 13:22

question was seen: 3,999 times

last updated: 31 May '11, 15:55

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM