-
-
Notifications
You must be signed in to change notification settings - Fork 464
Open
Labels
Description
Xmake Version
dev
Operating System Version and Architecture
ubuntu22.04
Describe Bug
$ sudo apt install python3.11-dev
$ python3.11 --version
Python 3.11.0rc1
$ xmake f -c -v
checking for platform ... linux
checking for architecture ... x86_64
checking for gcc ... /usr/bin/gcc
checking for nim ... no
checking for nim ... no
checking for git ... /usr/bin/git
checking for gzip ... /usr/bin/gzip
checking for tar ... /usr/bin/tar
/usr/bin/git rev-parse HEAD
checking for xmake::libffi ... libffi 3.4.8
checking for xmake::zlib ... zlib v1.3.1
checking for xmake::openssl ... openssl 1.1.1-w
checking for xmake::ca-certificates ... ca-certificates 20250131
checking for python3 ... /usr/bin/python3
checking for pacman ... no
checking for emerge ... no
checking for brew ... no
checking for pkg-config ... /usr/bin/pkg-config
checking for gcc ... /usr/bin/gcc
checking for the c compiler (cc) ... gcc
checking for /usr/bin/gcc ... ok
checking for flags (-fPIC) ... ok
checking for flags (-fdiagnostics-color=always) ... ok
checking for flags (-Wno-gnu-line-marker -Werror) ... ok
checking for g++ ... /usr/bin/g++
checking for the linker (ld) ... g++
checking for /usr/bin/g++ ... ok
checking for flags (-fPIC) ... ok
/usr/bin/ld: cannot find -lpython: No such file or directory
collect2: error: ld returned 1 exit status
> checking for c links(python)
> checking for c snippet(find_package/python)
checking for python ... no
note: the following packages were not found on your system, try again after installing them:
-> python 3.11.9
Expected Behavior
work.
Project Configuration
add_requires("python 3.11.x", {system = true})
Additional Information and Error Logs
N/A