All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chen, Farrah" <farrah.chen@intel.com>
To: Anthony PERARD <anthony.perard@citrix.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	"Hao, Xudong" <xudong.hao@intel.com>
Subject: Re: Compiling Xen error on RedHat8.0
Date: Mon, 27 May 2019 01:43:10 +0000	[thread overview]
Message-ID: <1B925CC0CD9F3341B32D442251E7E1DC3E299425@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20190524104044.GA11433@perard.uk.xensource.com>

Hi Anthony,

Both " PYTHON=/usr/bin/python2 " and softlink "python-config" to "python2-config" work well, thanks a lot!


Thanks,
Fan



-----Original Message-----
From: Anthony PERARD [mailto:anthony.perard@citrix.com] 
Sent: Friday, May 24, 2019 6:41 PM
To: Chen, Farrah <farrah.chen@intel.com>
Cc: xen-devel@lists.xenproject.org; Hao, Xudong <xudong.hao@intel.com>
Subject: Re: [Xen-devel] Compiling Xen error on RedHat8.0

On Fri, May 24, 2019 at 05:28:50AM +0000, Chen, Farrah wrote:
> Hi,

Hi,

> Do you have any advice on building Xen on RedHat8? Thanks a lot!

If you're building a release of Xen, then you could try setting
PYTHON=/usr/bin/python2 everywhere, that is when starting configure and make, something like:

$ ./configure PYTHON=/usr/bin/python2 ...
$ make PYTHON=/usr/bin/python2 ...

If you are building from the unstable tree, I think we fixed most of those bugs relating to python2/python3.

Is that help?

About the soft link "python" to "python2", you would need a softlink "python-config" to "python2-config" as well and the "checking for PyArg_ParseTuple" is more likely to succeed.

Cheers,

--
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

WARNING: multiple messages have this Message-ID (diff)
From: "Chen, Farrah" <farrah.chen@intel.com>
To: Anthony PERARD <anthony.perard@citrix.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	"Hao, Xudong" <xudong.hao@intel.com>
Subject: Re: [Xen-devel] Compiling Xen error on RedHat8.0
Date: Mon, 27 May 2019 01:43:10 +0000	[thread overview]
Message-ID: <1B925CC0CD9F3341B32D442251E7E1DC3E299425@SHSMSX104.ccr.corp.intel.com> (raw)
Message-ID: <20190527014310.xzmJFlNNuOUQUCxmdk3OeFcUj9l5_exU3iXc8uHoy3I@z> (raw)
In-Reply-To: <20190524104044.GA11433@perard.uk.xensource.com>

Hi Anthony,

Both " PYTHON=/usr/bin/python2 " and softlink "python-config" to "python2-config" work well, thanks a lot!


Thanks,
Fan



-----Original Message-----
From: Anthony PERARD [mailto:anthony.perard@citrix.com] 
Sent: Friday, May 24, 2019 6:41 PM
To: Chen, Farrah <farrah.chen@intel.com>
Cc: xen-devel@lists.xenproject.org; Hao, Xudong <xudong.hao@intel.com>
Subject: Re: [Xen-devel] Compiling Xen error on RedHat8.0

On Fri, May 24, 2019 at 05:28:50AM +0000, Chen, Farrah wrote:
> Hi,

Hi,

> Do you have any advice on building Xen on RedHat8? Thanks a lot!

If you're building a release of Xen, then you could try setting
PYTHON=/usr/bin/python2 everywhere, that is when starting configure and make, something like:

$ ./configure PYTHON=/usr/bin/python2 ...
$ make PYTHON=/usr/bin/python2 ...

If you are building from the unstable tree, I think we fixed most of those bugs relating to python2/python3.

Is that help?

About the soft link "python" to "python2", you would need a softlink "python-config" to "python2-config" as well and the "checking for PyArg_ParseTuple" is more likely to succeed.

Cheers,

--
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-05-27  1:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-24  5:28 Compiling Xen error on RedHat8.0 Chen, Farrah
2019-05-24  5:28 ` [Xen-devel] " Chen, Farrah
2019-05-24  8:15 ` M A Young
2019-05-24  8:15   ` [Xen-devel] " M A Young
2019-05-27  1:27   ` Chen, Farrah
2019-05-27  1:27     ` [Xen-devel] " Chen, Farrah
2019-05-24 10:40 ` Anthony PERARD
2019-05-24 10:40   ` [Xen-devel] " Anthony PERARD
2019-05-27  1:43   ` Chen, Farrah [this message]
2019-05-27  1:43     ` Chen, Farrah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1B925CC0CD9F3341B32D442251E7E1DC3E299425@SHSMSX104.ccr.corp.intel.com \
    --to=farrah.chen@intel.com \
    --cc=anthony.perard@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    --cc=xudong.hao@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.