Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
NodeJS
(view source)
Revision as of 15:18, 18 October 2014
378 bytes added
,
15:18, 18 October 2014
Add recompile commands and dependency list
Line 28:
Line 28:
===Updating===
===Updating===
+
NodeJS should be recompiled if the package itself or any of its dependencies is updated.
+
+
NodeJS 1.7 dependencies include:
+
* openssl-devel
+
* v8-devel
+
* zlib-devel
+
+
The commands below will identify the latest release of nodejs, then download, recompile, and install:
RELEASE=$(curl -s http://nodejs.org/download/ |grep Current\ version |awk -F"[><]" '{print $5}')
RELEASE=$(curl -s http://nodejs.org/download/ |grep Current\ version |awk -F"[><]" '{print $5}')
cd /var/git/node
cd /var/git/node
git reset --hard
git reset --hard
git pull origin $RELEASE-release
git pull origin $RELEASE-release
+
#
+
# recompile and install
+
#
+
export PYTHON=/usr/local/bin/python2.7
+
$PYTHON ./configure
+
make
+
make install
= For SME 9 =
= For SME 9 =
Mmccarn
Administrators
688
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version