libimobiledevice / libplist

A library to handle Apple Property List format in binary or XML
https://libimobiledevice.org
GNU Lesser General Public License v2.1
528 stars 304 forks source link

Building fails with python 3.12 due to removed Distutils package #259

Closed iGom closed 2 months ago

iGom commented 2 months ago

Distutils package was removed in python version 3.12, as it was already was deprecated in Python 3.10 by PEP 632 “Deprecate distutils module”, so building is faling

checking for a version of Python >= '2.1.0'... yes
checking for the distutils Python package... no
configure: error: cannot import Python module "distutils".
Please check your Python installation. The error was:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'distutils'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: libplist-git-exit status 4