TuryRx / Banana-pi-m2-zero-GPIO

gpio pin configuration and use project on Bananapi m2 zero board
38 stars 8 forks source link

Old package names? #15

Open FruchtZerg opened 1 year ago

FruchtZerg commented 1 year ago

Hi, I just tried to install your awesome project :) I really love it. I just found a minor issue during the quick installation. The python-dev and libsdl-dev packages don't install automaticly python should now probably be python-dev-is-python3 and libsdl-dev probably libsdl1.2-dev.

I installed python3, libsdl, unrar and pip3 manually then most of the installation worked without any problems. Maybe those were caused by my manually installations: RPi.GPIO_BP/setup.py

I am running: Ubuntu Jammy Server (from your github link ;) ) on a Banana pi zero m2

TuryRx commented 1 year ago

Thank you for letting me know my friend I am very glad that you like my project and yes I have had many problems with python dependencies but I have tried to focus on all the versions that I have compiled of ubuntu in fact in a new version I plan to use automatic detection of distribution because as is the current script works without problems in focal ubuntu but in jammy it still has certain errors but I will take into account your options to change the installation script in the later version thanks friend.

FruchtZerg commented 1 year ago

Okay thanks a lot also gcc hates multiple definition so running the setup.py with sudo CFLAGS="-fcommon" python ./setup.py install works. Otherwise it will fail with gcc 11. ;) Took quiet some time to find that problem