Tiny Core Base > Raspberry Pi
raspberry pi unable to install pygame
Ripley:
Okay, Pygame is pretty essential, so I think I'll attempt building them from source.
I'm not too familiar with this process, and even what location to put these files into... could you either walk me through it or direct me to a link in which I could follow some steps?
thank you so much
polikuo:
The wiki is dead again :P
For SDL, you can PM juanito to ask him if he could update that to 2.0.20 or if it's OK for you to take over
You can follow the instructions here
http://tinycorelinux.net/13.x/armv7/tcz/src/sdl2/
I guess SDL_ttf and SDL_mixer should be similar
In general, when building extensions, I would do
* getting the source code
* configure with correct compiler flags, set prefix to /usr/local
* make
* make DESTDIR=/tmp/packing-stuff install
* strip debug info from ELF binaries
* split into several packages if needed
* create a startup script if needed
* set the ownership to root.root (startup script to root.staff)
* pack up the extension with squashfs.tcz
* use submitqc.tcz to check if I've missed something
* mail the e-mail
Juanito:
Ref: "SDL : found 2.0.16" - does sdl2 need updating for pygame to work?
Juanito:
--- Quote from: Ripley on March 28, 2022, 01:28:43 PM ---could you either walk me through it or direct me to a link in which I could follow some steps?
--- End quote ---
Most python apps follow this general format:
http://www.tinycorelinux.net/12.x/armv7/tcz/src/python3.6-cryptography/compile_cryptography
..then you package the extension from /tmp/pkg
polikuo:
--- Quote from: Juanito on March 29, 2022, 01:02:43 AM ---Ref: "SDL : found 2.0.16" - does sdl2 need updating for pygame to work?
--- End quote ---
Hi juanito
I believe the current one is fine, but pygame need SDL_ttf and SDL_mixer.
It's unclear whether these modules would work with older SDL or not.
Plus, there are two more dependencies required.
I've tried to bypass those, but couldn't.
--- Quote ---portmidi.h libportmidi.so
porttime.h libporttime.so
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version