[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] how to compile XCP source?



Hi,
I run it again with latest prep.sh
and got the error same.
i downloaded manually xen-api-master and renamed it as xen-api.
prep.sh runs with no errors.
then
      cd xen-xapi
  " [root@localhost xen-api]# make srpm
mkdir -p /usr/src/redhat/SOURCES /usr/src/redhat/SPECS /usr/src/redhat/SRPMS
while ! [ -d .git ]; do cd ..; done; \
        git archive --prefix=xapi-0.2/ --format=tar HEAD | bzip2 -z > /usr/src/redhat/SOURCES/xapi-0.2.tar.bz2 # xen-api/Makefile
      
"
not returns from command.






On 03/06/13, Mike McClurg <mike.mcclurg@xxxxxxxxxx> wrote:
On 06/03/13 09:45, murali wrote:
>
>i cant found the xen-api folder created in 7/8 step.
>
>got this error.
>
>exec ./prep.sh
>Cloning into xen-api...
>/root/prep.sh: line 88: cd: xen-api: No such file or directory

Looks like the git clone on line 87 is failing, but I covered this up with too much error handline. Make sure you have the latest prep.sh, and then edit line 87 to read:

git clone ${repo}

Then run it again. You should see what's going wrong now. Write back with the output and we'll get this fixed.

Mike

>
>
>On 03/05/13, *George Shuklin * <george.shuklin@xxxxxxxxx> wrote:
>>05.03.2013 12:18, Mike McClurg пишет:
>>>
>>>>>> xen-device-model-1.6.10-54.7533.i686
>>>>>>          libxenstore.so.3.0 is needed by
>>>>>> xen-device-model-1.6.10-54.7533.i686
>>>>>> ......
>>>>>>
>>>>>> Any ideas? Thanks.
>>>>>
>>>>>
>>>>> First, try re-running it. If that doesn't work, try manually
>>>>> installing the RPMs in the ext-rpms directory (rpm -i ext-rpms/*.rpm).
>>>>> If that doesn't work, were there any other error message prior to the
>>>>> rpm installs failing?
>>>>>
>>>>>
>>>> He trying to install it on clear Centos5, not dom0. There is a set of
>>>> binary packages needed from dom0 to install -devel packages, and all
>>>> them are in source distribution iso's. As soon as I get exact list, I
>>>> think its better to publish them on www (without iso "archiver").
>>>
>>> Yes, I agree. Once you get me the list I'll upload them to that
>>> location and update the script. Thanks George,
>>>
>>>
>>
>>
>> From yum repositories:
>>yum install SDL e4fsprogs-libs gcc rpm-build tetex-latex
>>
>>
>>Here minimal list of packages from binpkg.iso and source-1.iso to
>>satisfy ./prep.sh
>>(list 1)
>>kernel-xen-devel-2.6.32.43-0.4.1.xs1.6.10.734.170748.i686.rpm
>>kernel-kdump-2.6.32.43-0.4.1.xs1.6.10.734.170748.i686.rpm
>>libev-4.04-1.i686.rpm
>>blktap-2.0.90.xs726-xs6.1.0.i686.rpm
>>xen-hypervisor-4.1.3-1.6.10.498.23551.i686.rpm
>>xen-tools-4.1.3-1.6.10.498.23551.i686.rpm
>>
>>Files from isos, should be placed in specified location:
>>
>>(list 2)
>>  mkdir /_javascript_/
>>  mkdir /_javascript_/jquery
>>  mkdir /_javascript_/jquery/treeview
>>
>>jquery-1.1.3.1.pack.js  -> /_javascript_/jquery/jquery-1.1.3.1.pack.js
>>jquery.treeview.zip  -> /_javascript_/jquery/treeview/jquery.treeview.zip
>>
>>
>>Whole <s>installation</s> compilation guide is looks like this:
>>
>>1) Install epel:
>>
>>wget
>>http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
>>rpm -i epel-release-5-4.noarch.rpm
>># current part of prep.sh for epel is somehow broken.
>>
>>2) Install some packages:
>>yum install SDL e4fsprogs-libs gcc rpm-build tetex-latex
>>
>>3) download prep.sh script
>>wget https://raw.github.com/mcclurmc/xcp-sdk/master/prep.sh
>>chmod +x prep.sh
>>
>>4) download or copy from ISOs files from list 1 (above)
>>5) install them.
>>
>>6) create directories and copy files from list 2 (above)
>>
>>7) exec ./prep.sh
>>
>>8) cd xen-api
>>
>>9) exec fix for pyo/pyc files:
>>sed -e /.pyo/d -e /.pyc/d -i xapi.spec
>>#this will be fixed later
>>
>>10) make srpm
>>11) rpm -i /usr/src/redhat/SRPMS/xapi-noarch-0.2-5217.src.rpm
>>12) rpmbuild -bb /usr/src/redhat/SPECS/xapi.spec
>>
>>...and few minutes later fresh and shiny xapi waiting for battle:
>>
>>/usr/src/redhat/RPMS/i386/xapi-tests-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-xenopsd-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-rrd-devel-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-squeezed-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-core-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-datamodel-devel-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-networkd-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-rrdd-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-xenops-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-xe-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-v6d-0.2-5217.i386.rpm
>>/usr/src/redhat/RPMS/i386/xapi-client-devel-0.2-5217.i386.rpm
>>
>>
>>It can compile not only xcp-tampa, but even the tampa-lcm head, which
>>allows to backport.. ... I mean crossport fixes from tampa-lcm to
>>xcp-tampa.
>>
>>I hope Mike will adopt those changes to prep.sh.
>>
>>_______________________________________________
>>Xen-api mailing list
>>Xen-api@xxxxxxxxxxxxx
>>http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>--
>Murali Kalyan
>NIC-Delhi

--
Murali Kalyan
NIC-Delhi
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.