-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
x86-64 binary installer does not work on RHEL-6 generation OSes #660
Comments
Tested with 0.1.2rc2 with same results. |
This is a KI. We will expand the number of supported platform for binary release in the future but we cannot work on it right now. |
Fair enough, but the level of c++ used in the code seems to make it impossible to compile on a RHEL6 system that has only the standard, venerable, compiler packages installed (see other issue) |
We should fix the C++ issue on the specific bugs. If we don't, then we will probably not be able to provide any binary release for those platform anyway :) |
Even in CentOS it has the same issue. Hence we are not able to upgrade to bazel beta release. We are stuck with pre-beta version that we compiled and checked into the code base. We are using bazel heavily to compile Heron, our new streaming system at Twitter. |
You are not able to build from source neither? |
@damienmg - I have not tried from building the source. If anybody has tried successfully, I am willing to give it a go! |
Tried to compile from source for the release 0.1.1. My environment uses gcc/g++ 4.8.2 and Java 8. gcc -o /tmp/bazel.DoG14492/namespace-sandbox -std=c99 src/main/tools/namespace-sandbox.c src/main/tools/process-tools.c -lm |
Arf we shouldn't build the namespace sandbox on system that does not support it. Commenting the part https://github.com/bazelbuild/bazel/blob/master/scripts/bootstrap/compile.sh#L334 here for compiling the dummy one should workaround that. |
I got further down and I am getting the following memory errors while compiling bazel INFO: From Building src/main/java/libshell.jar (17 files): |
try to add |
Thanks @damienmg for the suggestion. I was able to successfully compile it. After compilation, I would like to install it some where - similar to bazel-install for darwin and linux. Does it just involve only copying third_party/ tools/ to base_workspace directory and output/bazel to a bin directory? Or it has more steps? |
you can build the installer by |
thanks @damienmg. when i try to build the installer, i get the following errors (even though I have set the bazelrc with build --jobs 100 as you recommended for compilation) INFO: Found 1 target... |
oh sorry continue to use your bazelrc with: |
looks like the issue remains - /output/bazel --bazelrc=$BAZELRC build scripts/packages:install.sh |
|
thanks @damienmg - that worked. let me try the installation now. |
The entire compilation worked very well in centos 6 but with centos 5 I got the following errors Compiling JNI libraries... |
I guess it is missing some include with older compiler, what is the version of gcc? |
Taking a closer look at the file unix_jni.cc, it uses some unix utilities that are available in centos 6, however there is a default implementation for it but the #ifdef __linux is too generic I believe - assumes a lot about the underlying OS. |
i have the same problem.
|
@kramasamy . I encounter the same problem(The utime utilities , such as 'UTIME_NOW' etc, are not found) on redhat5. Do you have some suggest for this problem. Thank you. |
Closing since long obsolete, please file new issue if you discover problems |
The perennial LIBC ABI incompatibility:
The text was updated successfully, but these errors were encountered: