-
Notifications
You must be signed in to change notification settings - Fork 1
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
Compiling jar with aura fails #15
Comments
when trying to compile the 'llvm' native build, using the provided 'build.sh', I get the following error:
Perhaps it is related? |
I built this a few hours ago on centos
Only thing I can think of is for some reason libclang/CMakeLists.txt file doesn't exit
Can you see it there? |
yeah looks like it's there:
What patch & cmake version do you use? |
cmake 2.8.11 on centos |
Doing some googling looks like there is/was a bug with 'patch' not following symm links -- could be related to that |
A quick first investigation also makes me suspect that to be the problem. |
any patch version > 2.7.3 fails (so that means 2.7.4 & 2.7.5). Since 2.7.4 patch refuses to follow symlinks of directories. I advice including it in the wiki :) |
using 2.7.3 seems to fix the original issue. however I do seem to get an error pretty far on during compilation. (not compatible libxml2 found). Are you willing to provide the info (dependencies) required to build the aura/robovm llvm to the wiki as well? |
I've added a list of deps I've identified here: https://github.com/ashleyj/aura/wiki/Compiling-Aura |
I was able to fix the libxml2 issue by installing a multilib compatible variant (32 & 64bit x86 ABI). Maybe other distro do this by default (I had to explicitly tell gentoo to enable 32 bit ABI for libxml2). I did not need to install anything specifically to make the compilation succeed so I can not comment if the dependency list is complete or not. |
Trying to compile an existing java jar with aura fails with error (I used the instructions in the wiki):
Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library for linux-x86_64 not found
at aura.llvm.NativeLibrary.load(NativeLibrary.java:72)
at aura.llvm.binding.LLVMJNI.(LLVMJNI.java:804)
at aura.llvm.binding.LLVM.getLlvmHostTriple(LLVM.java:3103)
at aura.llvm.Target.(Target.java:36)
at aura.compiler.config.OS.getDefaultOS(OS.java:55)
at aura.compiler.target.ConsoleTarget.init(ConsoleTarget.java:93)
at aura.compiler.config.Config.build(Config.java:811)
at aura.compiler.config.ConfigBuilder.build(ConfigBuilder.java:402)
at aura.compiler.AppCompiler.main(AppCompiler.java:410)
The text was updated successfully, but these errors were encountered: