-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Problem building lib on arbian for Java. #152
Comments
It looks like some user access rights are completely messed. You need to try to remove everything, clone TDLib source again and try to compile it from scratch without switching between different users. |
Ok, im trying to. Is taking so much time. Isnt there any kind of "lightweight" version for this? Or cant i compile it from an other machine to make it work on raspberry pi? Update: Update 2: c++: internal compiler error: Killed (program cc1plus) Probabily is something releated to rpi low memory? |
If you have 1GB of RAM better to assemble under another machine. P.S. |
I tryied to compile it again with 2gb of swap and clang. I'm having this error.
Can anyone help me? |
It is a bug in clang. Just delete that code in benchmark/bench_misc.cpp:
|
It worked. |
I'm using raspberry pi with ARMBIAN 5.33 Debian GNU/Linux 8 (jessie) 4.9.80-v7+.
Following the guide for building java, i'm having this issue when running "cmake --build . --target install
" command.
[ 0%] Generate git_commit.h
/bin/sh: 1: ./gen_git_commit_h.sh: Permission denied
CMakeFiles/git_commit.dir/build.make:49: recipe for target 'CMakeFiles/git_commit' failed
make[2]: *** [CMakeFiles/git_commit] Error 126
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/git_commit.dir/all' failed
make[1]: *** [CMakeFiles/git_commit.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
Any help?
The text was updated successfully, but these errors were encountered: