NeoTerrm / NeoTerm

👍 modern terminal emulator for Android
GNU General Public License v3.0
655 stars 85 forks source link

Can't find automake, autoconf, pkg-config pkg please help #69

Open Saikatsaha1996 opened 3 years ago

Martinvlba commented 3 years ago

Going to add these soon.

Martinvlba commented 3 years ago

These packages are now added

Saikatsaha1996 commented 3 years ago

Thank you so much... I want help one more I am compiling one opensource application in my device but I got error with clang... Can you add gcc g++ pkg please?

Martinvlba commented 3 years ago

apt install clang

as g++ and gcc are symlinked to clang

Saikatsaha1996 commented 3 years ago

It's not available in termux can you add please? I am really to much upset for this I am unable to compile...😐😑

Martinvlba commented 3 years ago

I think its better to use proot or chroot env for that still as there is no premade source for gcc (That works with latest termux-*-packages) still.

Saikatsaha1996 commented 3 years ago

Yes I already trying But when I input export LD_LIBRARY_PATH="/system/vendor/lib64:/system/lib64" export CFLAGS="-I$HOME/OpenCL-Headers" export LDFLAGS="-L/system/vendor/lib64" Showing LibOpenCL not found But when I use directly your application or termux showing OpenCL found...

Saikatsaha1996 commented 3 years ago

See with environment OpenCL not found

Screenshot_2021-06-14-14-30-36-464_tech ula

Saikatsaha1996 commented 3 years ago

Can you give me any solution ? Why I am getting lpthread cancel error You have any suggestions or solutions please ?

Martinvlba commented 3 years ago

https://github.com/Lzhiyong/termux-ndk/tree/master/openjdk-build

get real libc.so path

the dlopen function requires a real librt.so path

src/hotspot/os/linux/os_linux.cpp:1312:clock_init()

/system/lib64/libc.so -> /apex/com.android.runtime/lib64/bionic/libc.so

ls -l /system/lib64/libc.so

libc.so -> librt.so

ln -sf /apex/com.android.runtime/lib64/bionic/libc.so /data/data/com.termux/files/usr/lib/librt.so

libc.so -> libpthread.so

ln -sf /apex/com.android.runtime/lib64/bionic/libc.so /data/data/com.termux/files/usr/lib/libpthread.so

Martinvlba commented 3 years ago

maybe this helps ( See libc.so -> libpthread.so )

Saikatsaha1996 commented 3 years ago

Ok thank you for your help I will trying... thank you thank you thank you

Saikatsaha1996 commented 1 year ago

@Martinvlba Hello dear too many PKG unavailable..