Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-15-2016, 07:28 AM   #1
Registered: Feb 2015
Posts: 368

Rep: Reputation: Disabled
error compiling Xen Orchestre from source

hi all,

trying to compile XO from source, i have tried to do it on ubuntu 15 and on debian 8

im following this how to -

i get stuck on the part where you cd into the xo-server directory and run the below

npm install && npm run build

this is the error i get -

root@XO:~/xo-server# npm install && npm run build

npm WARN engine trace@2.0.2: wanted: {"node":"^4.0"} (current: {"node":"5.4.1","npm":"3.3.12"})

npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git:// /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-9508ac6e73bc4e2dd3065e6cd9e6f094: Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-9508ac6e73bc4e2dd3065e6cd9e6f094'...

npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git:// /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-9508ac6e73bc4e2dd3065e6cd9e6f094: fatal: unable to connect to

npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git:// /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-9508ac6e73bc4e2dd3065e6cd9e6f094:[0:]: errno=Connection timed out

npm ERR! Linux 3.16.0-4-amd64

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"

npm ERR! node v5.4.1

npm ERR! npm v3.3.12

npm ERR! code 128

npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror git:// /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-9508ac6e73bc4e2dd3065e6cd9e6f094

npm ERR! Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-9508ac6e73bc4e2dd3065e6cd9e6f094'...

npm ERR! fatal: unable to connect to

npm ERR![0:]: errno=Connection timed out

npm ERR!

npm ERR!

npm ERR!

npm ERR! If you need help, you may report this error at:

npm ERR!

npm ERR! Please include the following file with any support request:

npm ERR! /root/xo-server/npm-debug.log


if anyone could help be great


Old 01-16-2016, 09:21 PM   #2
Senior Member
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,779

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Have you tried it again? Both the npm install and npm run build commands work for me, also on Debian 8.

Your error message indicates that you can't connect to That might be a glitch on github or a (temporary?) network problem on your side.
Old 01-18-2016, 05:15 AM   #3
Registered: Feb 2015
Posts: 368

Original Poster
Rep: Reputation: Disabled
cracked it!!!

followed this link from Olivier the main man himself

most of it was straight forward but the bits i highlighted were the steps i got stuck on and resolved

when it came to fetching the code, the link where it says "here" or if you copy/paste the web address are two different versions - - here link -

but i used the command and link in the instructions (below) and it didnt throw any errors, whereas the others did

git clone -b stable

i fetched the code under the user rob and in my home directoey /home/rob

also run the "npm install && npm run build" as the user rob and also when you do the same for xo-web

when it came to starting the xo-server i came into alot of problems but i needed to run it as root and then cd into the directory xo-server is located at

su - root

cd /home/rob/xo-server

npm start


Last edited by robertkwild; 01-18-2016 at 06:08 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling GLIBC from source mahmoodn Ubuntu 1 05-22-2014 06:24 PM
[SOLVED] compiling from source, make error porphyry5 Slackware 7 07-25-2012 03:00 AM
Compiling Easymp3gain from source error neruson Slackware 1 05-17-2011 12:18 AM
Error when compiling Xen kernel with Genkernel shadowers Linux - Kernel 0 01-08-2010 06:46 PM
need help compiling from source - libtool error Feeg Linux - Software 0 07-04-2006 11:16 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration