[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] how to compile XCP source?
06.03.2013 22:25, Mike McClurg ÐÐÑÐÑ: I have done so, except for the javascript changes. Please check out my repo on github (I'm just in the process of checking that I can download all the necessary rpms from xen.org, but it's taking a while and I don't feel like waiting for it to finish before sending this email). Also, please feel free to send me a pull request with any changes you'd like to add (in fact, I really encourage this!). Mike https://github.com/mcclurmc/xcp-sdkThank you! I found two issues now: 1) Something strange with EPEL installation with rpm + direct http link 2) Incorrect handling of errors in the middle of download process. I'll fix them and will send pull request (but kernel-xen-2.6.32.43-0.4.1.xs1.6.10.734.170748.i686.rpm is needed on download.xen.org and in prep.sh file...)Thanks. I've uploaded that file. Pull from my repo before you update prep.sh. If you could work something out for the downloading jquery and exporting the right environment variables, that would be great too. Thanks a lot. Ok, no final stage: build.sh. (https://github.com/mcclurmc/xcp-sdk/pull/3)It set up proper variables for make file, patch installed SRPM (I choose from 'patch xen-api/xapi.spec' and 'patch /usr/src/redhat/SPEC/xapi.spec' - second seems be less invasive), and exec rpmbuild. and some changes to prep.sh. I found why it does not install gcc with 'developer tools'. Default centos shipped with make utility, so checking failed. I add manual installation of gcc and rpm-build, and javascript download. Now all build process is extremely simple: wget ..../prep.sh wget ..../build.sh chmod +x prep.sh build.sh ./prep.sh ./build.sh _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |