* edk2-libc Python Build issue
@ 2022-04-06 18:45 M.T.
2022-04-07 14:58 ` [edk2-devel] " Michael D Kinney
0 siblings, 1 reply; 3+ messages in thread
From: M.T. @ 2022-04-06 18:45 UTC (permalink / raw)
To: devel
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] edk2-libc Python Build issue
2022-04-06 18:45 edk2-libc Python Build issue M.T.
@ 2022-04-07 14:58 ` Michael D Kinney
2023-10-22 16:26 ` Jayaprakash, N
0 siblings, 1 reply; 3+ messages in thread
From: Michael D Kinney @ 2022-04-07 14:58 UTC (permalink / raw)
To: devel@edk2.groups.io, xzavierpower@gmail.com, Kinney, Michael D,
Jayaprakash, N
[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]
Hi,
Yes. This is a known issue.
https://bugzilla.tianocore.org/show_bug.cgi?id=3779
If you are interested, we could use the help fixing this issue.
Thanks,
Mike
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of M.T.
Sent: Wednesday, April 6, 2022 11:46 AM
To: devel@edk2.groups.io
Subject: [edk2-devel] edk2-libc Python Build issue
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: 42347 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-22 16:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-06 18:45 edk2-libc Python Build issue M.T.
2022-04-07 14:58 ` [edk2-devel] " Michael D Kinney
2023-10-22 16:26 ` Jayaprakash, N
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox