LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   XEN installation failing with hg command not found (https://www.linuxquestions.org/questions/linux-server-73/xen-installation-failing-with-hg-command-not-found-721323/)

priyophan 04-24-2009 12:06 AM

XEN installation failing with hg command not found
 
Hi all,
i am trying to install xen 3.x in my system running RHEL5 2.6.18-8.el5 but keep on failing when i run make with xen 3.x .Error message is
select-repository: Searching `.:..' for linux-2.6.18-xen.hg
select-repository: Ignoring `.'
buildconfigs/select-repository: line 35: hg: command not found
select-repository: Unable to determine Xen repository parent.
make[3]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1
make[3]: Leaving directory `/xen-3.2.0'
make[2]: *** [linux-2.6-xen-install] Error 2
make[2]: Leaving directory `/xen-3.2.0'
make[1]: *** [install-kernels] Error 1
make[1]: Leaving directory `/xen-3.2.0'
make: *** [world] Error 2

Tried downloading http://www.selenic.com/mercurial/wik...BinaryPackages

but can't get anything .

Can anyone tell me where i can get this hg command

sleddog 04-25-2009 01:59 PM

At http://www.selenic.com/mercurial/wik...BinaryPackages follow the link for "Linux (.rpm)" and you'll see this:

Quote:

CentOS release 5 (final) - yum install mercurial from rpmforge repository, latest stable (1.0)
(CentOS 5 and RHEL 5 packages are interchangeable.)

So first you need to setup to access the rpmforge repository. Instructions are here:

https://rpmrepo.org/RPMforge/Using

Once you've installed the 'rpmforge-release-xxx' rpm, you can access the rpmforge repository with yum. So you then can do:

Code:

[root@server:~]yum install mercurial
Which should give you the required 'hg'.

If you don't want packages/updates coming from rpmforge in the future, you can simply disable that repository. Edit /etc/yum.repos.d/rpmforge.repo with a text editor, and set

Code:

enabled = 0
Hope this helps.


All times are GMT -5. The time now is 04:37 AM.