I noticed libtga is unavailable in termux while working on pov-ray. Then I tried to compile it from source as guided here. But it threw bunch of errors. Is it possible to package it for aarch64?
Some additional links about libtga
Then I tried to compile it from source as guided here.
@Ranjan-Bagri You didn't follow guide. At least you missed one step.
Your lib compiled with guide from Wiki (aarch64):
libtga.tar.gz
@xeffyr Thanks for your quick response.
Can you please tell me how to install the compiled version?
@Ranjan-Bagri Since this is a tar archive, unpack it in this way (package tar needed):
tar zxf libtga.tar.gz --strip-component=1 -C /
Unfortunately I'm still getting error.( while tar is installed)
tar: data/data: Cannot utime: Permission denied
tar: data/data: Cannot change mode to rwx------: Permission denied
tar: data: Cannot utime: Permission denied
tar: data: Cannot change mode to rwx------: Permission denied
tar: Exiting with failure status due to previous errors
@Ranjan-Bagri Use *.deb files then (don't forget to gunzip before installing with dpkg):
libtga_1.0.1_aarch64.deb.gz
libtga-dev_1.0.1_aarch64.deb.gz
Thanks again. That works.
Since this package is small and rarely used (I can't find it in debian and archlinux official repos) so it probably won't be added to the Termux unless here will be a package that requires it.
Most helpful comment
Since this package is small and rarely used (I can't find it in debian and archlinux official repos) so it probably won't be added to the Termux unless here will be a package that requires it.