WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: how to compile a xen kernel on fedora core 1 - update
From: Shahzad Chohan <shahzad.chohan@xxxxxxxxx>
Date: Tue, 12 Jul 2005 13:05:24 +0100
Delivery-date: Tue, 12 Jul 2005 12:04:59 +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=GFTIDR+aR+OJ4lt47PRM5e8FSbNshajrGepTgmuuh7VB6xRZ08J8TtuZK7fcmIfoDh4rRHjKapM2C1y7csXIgTB8ZNVmkr9DIVTGBWdyyk7ZXkyX8G7Ak8QnbVX4o2BSk8R9o9VhVH8H8DFbtKWIKFolM8EppknNA0rTTnSFt+M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <36967cc9050712045549bab56d@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <36967cc9050712045549bab56d@xxxxxxxxxxxxxx>
Reply-to: Shahzad Chohan <shahzad.chohan@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>