qemu-devel
[Top][All Lists]
Advanced

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

Re: Error detecting linker while compiling qemu-system-ppc on macOS


From: Howard Spoelstra
Subject: Re: Error detecting linker while compiling qemu-system-ppc on macOS
Date: Mon, 6 Nov 2023 12:36:20 +0100

Hello,

macOS seems to use '/Library/Frameworks/Python.framework/Versions/3.11/bin/python3'
hsp@MacOSVentura qemu-ppc % ./configure --target-list=ppc-softmmu
Using './build' as the directory for build output
python determined to be '/Library/Frameworks/Python.framework/Versions/3.11/bin/python3'
python version: Python 3.11.0

I had both python 3.11 and 3.12 installed through brew. I now removed 3.11.
When building with --python=/usr/local/Cellar/python@3.12/3.12.0/bin/python3.12 I get: hsp@MacOSVentura qemu-ppc % ./configure --target-list=ppc-softmmu --python=/usr/local/Cellar/python@3.12/3.12.0/bin/python3.12
Using './build' as the directory for build output
python determined to be '/usr/local/Cellar/python@3.12/3.12.0/bin/python3.12'
python version: Python 3.12.0

And configure succeeds.

On Mon, 6 Nov 2023, Howard Spoelstra wrote:
Hi all,

I'm getting a error while compiling on macOS (Intel). It seems linker
detection is passed an unknown argument "--version", whereas "-v" works OK?
See log below.
See also 
https://lists.nongnu.org/archive/html/qemu-devel/2023-10/msg10375.html
and the tickets listed in there. It should work with meson 1.2.x according 
to Rene's ticket to Meson and you can install that from homebrew but it 
seems it's not picked up. Why is it using 
/Users/hsp/src/qemu-ppc/build/pyvenv/bin/python3.11 ? How many pythons do 
you8 have on macOS? What does which python tell you and does it work 
better when you add --python=/path/to/python/that/homebrew/meson/uses ?
Regards,
BALATON Zoltan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]