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 |
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. |
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 |
All times are GMT -5. The time now is 05:57 AM. |