[LLVMdev] Compiling "vmkit" on Ubuntu_x64 - Error: missing argument to --bindir

Kumar Sukhani kumarsukhani at gmail.com
Fri Jul 19 06:47:10 PDT 2013


Hi Harris Bakiras,
Thanks for reply. It working now.
Actually I wanted to try vmkit VM to run jruby codes.

vmkit is able to run Java program, but when I try to run JRuby code then I
get following error -

root at komal:/home/komal/Desktop/GSOC/programs# jruby hello.rb
>
> Platform.java:39:in `getPackageName': java.lang.NullPointerException
>
> from ConstantSet.java:84:in `getEnumClass'
>
> from ConstantSet.java:60:in `getConstantSet'
>
> from ConstantResolver.java:181:in `getConstants'
>
> from ConstantResolver.java:102:in `getConstant'
>
> from ConstantResolver.java:146:in `intValue'
>
> from OpenFlags.java:28:in `value'
>
> from RubyFile.java:254:in `createFileClass'
>
> from Ruby.java:1273:in `initCore'
>
> from Ruby.java:1101:in `bootstrap'
>
> from Ruby.java:1079:in `init'
>
> from Ruby.java:179:in `newInstance'
>
> from Main.java:217:in `run'
>
> from Main.java:128:in `run'
>
> from Main.java:97:in `main'
>
>
Can you tell me what will be the issue ?
Vmkit doesn't work with OpenJDK ?

On Fri, Jul 19, 2013 at 6:52 PM, Harris BAKIRAS <h.bakiras at gmail.com> wrote:

>  Hi Kumar,
>
> There is an error on your configuration line, you should provide the path
> to llvm-config binary instead of configure file.
> Assuming that you compiled llvm in release mode, the llvm-config binary is
> located in :
>
>     YOUR_PATH_TO_LLVM/Release+Asserts/bin/llvm-config
>
> Try to change the -with-llvm-config-path option and it will compile.
>
> Harris Bakiras
>
> On 07/19/2013 02:36 PM, Kumar Sukhani wrote:
>
> To compile vmkit on Ubuntu 12.04 64-bit machine, I followed the steps
> giving here <http://vmkit.llvm.org/get_started.html>[1].
> but when I run ./configure I am getting following error-
>
>   root at komal:/home/komal/Desktop/GSOC/vmkit/vmkit# ./configure
>>> -with-llvm-config-path=../llvm-3.3.src/configure
>>> --with-gnu-classpath-glibj=/usr/local/classpath/share/classpath/glibj.zip
>>> --with-gnu-classpath-libs=/usr/local/classpath/lib/classpath
>>
>> checking build system type... x86_64-unknown-linux-gnu
>>
>> checking host system type... x86_64-unknown-linux-gnu
>>
>> checking target system type... x86_64-unknown-linux-gnu
>>
>> checking type of operating system we're going to host on... Linux
>>
>> configure: error: missing argument to --bindir
>>
>> configure: error: Cannot find  (or not executable)
>>
>>
>  I tried searching it online but didn't got any similar issue.
>
>  [1] http://vmkit.llvm.org/get_started.html
>
>  --
> Kumar Sukhani
> +919579650250
>
>
> _______________________________________________
> LLVM Developers mailing listLLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>


-- 
Kumar Sukhani
+919579650250
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130719/36718694/attachment.html>


More information about the llvm-dev mailing list