Debug python bundling problems.

This commit is contained in:
Karliss 2025-01-17 02:22:14 +02:00
parent 865a73e946
commit 887d42c8cc
2 changed files with 6 additions and 0 deletions

View File

@ -117,6 +117,7 @@ then
locale -a locale -a
export LANG="C.UTF-8" export LANG="C.UTF-8"
export LC_ALL="C.UTF-8" export LC_ALL="C.UTF-8"
echo "python prefix!!!!!!! ($CUTTER_DEPS_PYTHON_PREFIX)"
cmake \ cmake \
-G Ninja \ -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \

View File

@ -7,8 +7,13 @@ if ! [[ $# -eq 2 ]]; then
exit 1 exit 1
fi fi
pwd
ls
python_prefix=$(pkg-config --variable=prefix python3) python_prefix=$(pkg-config --variable=prefix python3)
echo "pprefix $python_prefix"
ls "$python_prefix"
ls "$python_prefix/bin"
python_version=`$python_prefix/bin/python3 --version` python_version=`$python_prefix/bin/python3 --version`
python_version=${python_version##* } python_version=${python_version##* }
python_version=python${python_version%.*} python_version=python${python_version%.*}