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

Build fails with cython error? #216

Closed SoPat712 closed 3 months ago

SoPat712 commented 1 year ago

image

Tried building libimobiledevice-git on Manjaro, build failed. Realized that libplist-git was causing the problem. I tried to install from source using ./autogen.sh and make, but make keeps failing at the point screenshotted above.

Thanks for your help in advance.

I've tried changing python 3.10.7, 2.7.15, and 3.9.0, none of which have worked.

alediaferia commented 1 year ago

Changing to python3 fixed it for me. It was picking up a python2 bin I have installed too. Make sure you do

$ PYTHON=<path-to-your-python3-bin> ./autogen.sh

and try again.

HMaker commented 1 year ago

I had the same issue, I have ASDF which manages multiple python versions, to fix it I ran

PYTHON=/usr/bin/python3 ./autogen.sh

thanks @alediaferia