public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "M.T." <xzavierpower@gmail.com>
To: devel@edk2.groups.io
Subject: edk2-libc Python Build issue
Date: Wed, 6 Apr 2022 14:45:47 -0400	[thread overview]
Message-ID: <CAEsd5Rv6PqBse4_taTFeDUTMQer4E4Gy-zjeC=Ucz=v6-jLN5w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

Hello

I am trying to build the Python environment for UEFI as per Py368ReadMe.txt.
I am doing this on Ubuntu 20.04.4 LTS with GCC5 for X64, all instructions
seem to be meant for windows and MSFT.
I was able to build everything else and verify that it works, so I don't
see why this should be an issue, but I am running into several issues.

Initial error is missing Python.h.
The path to AppPkg/Applications/Python/Python-3.6.8/Include seems to be
missing from the build command, I was able to fix that by modifying
Python368.inf and under BuildOptions, adding:
GCC:*_*_*_CC_FLAGS =
-I$(WORKSPACE)/AppPkg/Applications/Python/Python-3.6.8/Include
However this then results in other errors such as unused functions - fixed
with -Wno-unused-functions added to the same line above, and then finally
redfinitions.

Is the build process of Python 3.6.8 documented anywhere that might help me
out, or if someone could point me in the right direction, that would be
greatly appreciated.

Thank you
xp

[-- Attachment #2: Type: text/html, Size: 1179 bytes --]

             reply	other threads:[~2022-04-06 18:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-06 18:45 M.T. [this message]
2022-04-07 14:58 ` [edk2-devel] edk2-libc Python Build issue Michael D Kinney
2023-10-22 16:26   ` Jayaprakash, N

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-list 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='CAEsd5Rv6PqBse4_taTFeDUTMQer4E4Gy-zjeC=Ucz=v6-jLN5w@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox