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

[Xen-users] Re: how to compile a xen kernel on fedora core 1 - update


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Shahzad Chohan <shahzad.chohan@xxxxxxxxx>
  • Date: Tue, 12 Jul 2005 14:45:10 +0100
  • Delivery-date: Tue, 12 Jul 2005 13:43:57 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Mv22YaxASPvmpOx2NrSfpIwuDQvhBtnygyK1yShvZFbcX9OLT6luMBv2algH40bSdZfHuDAUiwY5GjDsUzHfWq0vkFDzcG83K8ytl+j5CLqGaBJLrfWaRzoP+oysQayABdfni+6PFpZEGaqlrWLlNPnOgOmB9eLcE5a/HmvJGIk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Guys,

I managed to solve the problem below. Just for the record I had to
install pyhton-devel.

A question arose during the compilation. While compiling it downloaded
the 2.6.11 kernel from kernel.org, and compiled it successfully. The
issue I have is that I want a 2.4 kernel both for xen0 and xenU, can
anyone suggest how I can do this?

Thanks
Shaz

On 7/12/05, Shahzad Chohan <shahzad.chohan@xxxxxxxxx> wrote:
> Hi Guys,
> 
> Ignore my message. It was a silly mistake on my part.
> 
> Sorry for the inconvenience.
> 
> However. I do have problem now with compiling it. I get the following
> error when running `make dist`:
> 
> [ -d /root/xen/xen-2.0/dist/install/usr/share/man/man8 ] || \
>         install -d -m0755 /root/xen/xen-2.0/dist/install/usr/share/man/man8
> install -m0755 xentrace xentrace_format /root/xen/xen-2.0/dist/install/usr/bin
> install -m0644 xentrace_format.1
> /root/xen/xen-2.0/dist/install/usr/share/man/man1
> install -m0644 xentrace.8 /root/xen/xen-2.0/dist/install/usr/share/man/man8
> make[2]: Leaving directory `/root/xen/xen-2.0/tools/xentrace'
> make[2]: Entering directory `/root/xen/xen-2.0/tools/python'
> CFLAGS="-m32 -march=i686" python setup.py install
> --home="/root/xen/xen-2.0/dist/install/usr"
> running install
> Traceback (most recent call last):
>   File "setup.py", line 47, in ?
>     ext_modules = [ xc, xu ]
>   File "/usr/lib/python2.2/distutils/core.py", line 138, in setup
>     dist.run_commands()
>   File "/usr/lib/python2.2/distutils/dist.py", line 902, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python2.2/distutils/dist.py", line 921, in run_command
>     cmd_obj.ensure_finalized()
>   File "/usr/lib/python2.2/distutils/cmd.py", line 112, in ensure_finalized
>     self.finalize_options()
>   File "/usr/lib/python2.2/distutils/command/install.py", line 267, in
> finalize_options
>     (prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
>   File "/usr/lib/python2.2/distutils/sysconfig.py", line 417, in 
> get_config_vars
>     func()
>   File "/usr/lib/python2.2/distutils/sysconfig.py", line 322, in _init_posix
>     raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation:
> unable to open /usr/lib/python2.2/config/Makefile (No such file or
> directory)
> make[2]: *** [install] Error 1
> make[2]: Leaving directory `/root/xen/xen-2.0/tools/python'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/root/xen/xen-2.0/tools'
> make: *** [tools] Error 2
> 
> 
> Would anyone know what this is.
> 
> Thanks
> Shaz
> 
> 
> 
> On 7/12/05, Shahzad Chohan <shahzad.chohan@xxxxxxxxx> wrote:
> > Hi
> >
> > I have read the instructions on compiling a kernel, but I'm not 100%
> > sure. All the docs I have read call for me to download the stock
> > kernel from kernel.org. Since I am using fedora, fedora provide a
> > kernel-source package for the 2.4 kernel. If I download and install
> > that it installs the packages in /usr/src/linux-2.4.21-27.0.4.EL.
> >
> > The next point is to put the kernel source (i.e
> > /usr/src/linux-2.4.21-27.0.4.EL) inside my xen-2.0 directory, then do
> > a make menuconfig ARCH=xen.
> >
> > My only question is that right?
> >
> > When I do do this I keep getting:
> >
> > make: *** No rule to make target `menuconfig`.  Stop.
> >
> > Thanks for your help
> > Shaz
> >
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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