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

Notices


Reply
  Search this Thread
Old 01-15-2016, 08:28 AM   #1
robertkwild
Member
 
Registered: Feb 2015
Posts: 334

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 -

https://github.com/vatesfr/xo/blob/m...nstallation.md

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://github.com/gulpjs/gulp.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://github.com/gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-9508ac6e73bc4e2dd3065e6cd9e6f094: fatal: unable to connect to github.com:

npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-9508ac6e73bc4e2dd3065e6cd9e6f094: github.com[0: 192.30.252.130]: 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://github.com/gulpjs/gulp.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 github.com:

npm ERR! github.com[0: 192.30.252.130]: 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

root@XO:~/xo-server#

if anyone could help be great

thanks

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

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
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 github.com. That might be a glitch on github or a (temporary?) network problem on your side.
 
Old 01-18-2016, 06:15 AM   #3
robertkwild
Member
 
Registered: Feb 2015
Posts: 334

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

https://xen-orchestra.com/docs/from_the_sources.html

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 -

xo-server-stable.zip - here link

xo-server-next-release.zip - http://github.com/vatesfr/xo-server

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 http://github.com/vatesfr/xo-server

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

rob

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


Reply


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 07:24 PM
[SOLVED] compiling from source, make error porphyry5 Slackware 7 07-25-2012 04:00 AM
Compiling Easymp3gain from source error neruson Slackware 1 05-17-2011 01:18 AM
Error when compiling Xen kernel with Genkernel shadowers Linux - Kernel 0 01-08-2010 07:46 PM
need help compiling from source - libtool error Feeg Linux - Software 0 07-05-2006 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:07 AM.

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