node.js on Debian

Node.js and Debian

node.js logo
If u have errors about openssl after type ./configure comand

check node/build/configure.log messages
check u install pkg-config (aptitude install pkg-config)

after this i have error like this:

Checking for openssl
pkg-config --errors-to-stdout --print-errors --cflags --libs openssl
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
not found

debian:/var/lib/mlocate# locate openssl.pc
locate: unexcept EOF `/var/lib/mlocate/mlocate.db'
debian:/var/lib/mlocate# updatedb
gdebian:/var/lib/mlocate# locate openssl.pc

if return is empty, install:
debian:/var/lib/mlocate# aptitude install libssl-dev

be sure u are root and make on nix partition because i had problem on my shared partition with compile node.js

After that  u can configure and install node.js