Tiny Core Base > Raspberry Pi
raspberry pi unable to install pygame
Ripley:
Sorry for the delay in a response, life got busy.
I just attempted another run on making the SDL2_Mixer extension, I tried installing the opusfile-dev but found that there is no files avaiable under that name in "Apps downloader" , so i tried installing libopus-dev and libopus instead (assuming that they might suffice as an alternative), then I applied the complier flags (which I finally managed to get right) and a WARNING came up 'unable to find opusfile library...' I came this far so I attempted the code "find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;" but nothing seemed to happen, perhaps my processor is slow and I had to wait longer? I then tried to 'make'. Which raised an error of 'no Make file', or something along that line. I presume the Opusfile is required.
Is there a way to get this working without getting Opusfile from source?
Ripley:
Just attempted to create SDL2_tff-2.0.15 extension (which is different extension from above) but ran into this error during configure
--- Code: (bash) ---Checking wheather build enviroment is sane... configure: error: newly created file is older than distributed files! Check your system clock
--- End code ---
any suggestions on how to proceed or fix error?
tacpilot:
maybe your bios battery is dead ??
* reboot your system into bios .. make sure your date/time is correct..
* reset the time if its wrong..
* if it needed resetting, power off system then boot back into bios
* if time is wrong again, then you likely need a new battery.setting up the system to use NTP is good to keep all systems
inline and eliminate issues with clock drift.
NOTE: failing motherboards can have issue keeping time. I have 2 machines at work
that fail to keep date time even with new batteries .. is a PITA because they require
system cycle every 24 hours and the evironment they are in requires a 2 hour boot time :o
Ripley:
Im pretty sure the Raspberry Pi zero doesn't have a bios battery, I could be wrong though.
but your comment tacpilot, reminded me of something, an option in the "control panel" app, 'date and time'.
I was able to change the date from 1970 to the current date. This fixed the error I was getting.
I now have an error after/during running 'make'.
--- Code: (bash) ---/usr/local/bin/grep: /usr/local/lib/libglib-2.0.21: No such file or directory
/usr/local/bin/sed: can't read /usr/local/lib/libglib-2.0.1a: No such file or dierectory
libtool: link: '/usr/local/lib/libglib-2.0.1a' is not a valid libtool archive
make: ***[Makefile:517: libSDL2_tff.1a] Error 1
--- End code ---
I see that 'libglib' is missing, I'm just curious if I need to download it from source or if there is a more easy fix?
Rich:
Hi Ripley
--- Quote from: Ripley on June 21, 2022, 08:22:29 PM ---Im pretty sure the Raspberry Pi zero doesn't have a bios battery, I could be wrong though. ...
--- End quote ---
You are correct. Pi does not have a BIOS.
/usr/local/lib/libglib-2.0.la was last available in glib2-dev.tcz from TC10:
http://tinycorelinux.net/10.x/armv7/tcz/glib2-dev.tcz.list
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version