Termux-packages: Package request: libtga

Created on 17 Sep 2018  路  7Comments  路  Source: termux/termux-packages

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

http://tgalib.sourceforge.net

https://github.com/madebr/libtga

package request

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.

All 7 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bkdwt picture bkdwt  路  3Comments

bbtdev picture bbtdev  路  3Comments

ILadis picture ILadis  路  3Comments

StephanBeer picture StephanBeer  路  3Comments

Zuccace picture Zuccace  路  3Comments