-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation fails on Termux #349
Comments
It looks like there are a couple of patches at https://github.com/its-pointless/gcc_termux/blob/master/R-patches/rcran-fs-id.cc.patch and https://github.com/its-pointless/gcc_termux/blob/master/R-patches/rcran-fs-Makevars.patch, did you apply those? |
Working on that! Thanks! |
I'm failing in my attempts of applying both patches. Here what I get:
I guess both patches are outdated and shouldn't work as they are without editing and updating them. Please, am I correct? |
I think you could look at what the patches do and then apply the edits manually to the current sources. |
i have compiled r-base 4.1.2 source code in termux for my phone today. how to fix such issue? Thanks.
|
how to use these patches? i have no knowledge about how to run patches. i think it's better update fs for termux. Could you mind take some time update it ? Thanks . |
I don't have termux, does libuv compile on termux? I can consider patches to make fs compile on termux. |
Thanks your support. i run pkg install libuv in termux, show below.
|
Hi! @gaborcsardi, @jimhester, it seems that the change introduced by https://github.com/its-pointless/gcc_termux/blob/master/R-patches/rcran-fs-id.cc.patch is simple and easy to introduce at line 108 of the current version of |
Yeah, please do that. Thanks! |
Done, I think! The message about Here what I get now:
I don't find information about Please, any idea? Thanks! |
pthread is lacking on Termux, see here: r-lib/cli#358 (comment) and the comments below. |
Still working hard to understand where I am lost, I founded this pthread-sigmask.patch |
I'm still lost. I'm afraid that I've no skills enough to understand why you are pointing me to my own comments in a different issue, and you say that In Termux I find:
Please, does it mean that pthread is available on Termux? Also, here what I get when I try to list the symbols available in
However, I'm able to list them for any other installed library. Please, does it make any sense to you? Any further help will be truly appreciated! Thanks! |
Because libpthread is missing some functions on termux, that are provided by libbthread. Maybe this is why |
someone has the right patches, the mentioned before do not work for me? |
compile the libuv-1.44.2 manually should work. Although it is an ugly fix.
rm -rf fs/src/libuv-1.44.2`
cd fs/src
wget https://codeload.github.com/libuv/libuv/tar.gz/refs/tags/v1.44.2
tar vxf v1.44.2
cd libuv-1.44.2
mkdir .libs
cd .libs
cmake ..
make
cp -rf libuv* /data/data/com.termux/files/usr/lib
In the folder the
|
Hi! Installing from source on R 4.1.0 on Termux, I get this error:
Please, any idea? Thanks!
The text was updated successfully, but these errors were encountered: