Help setting up Sablevm
"Kyle S" <[email protected]> Sun, 20 Mar 2005 20:22:11 -0800
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
I am attempting to get Savblevm to work on my amd Open64 box. But am having no luck installing libffi.
I am using libffi-sablevm-3765. After spending hours looking through configure I ended up adding one line (denoted by the plus marks):
TARGETDIR="unknown"
case "$host" in
i*86-*-linux*) TARGET=X86; TARGETDIR=x86;;
i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;;
...
x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;;
++x86_64-*-openbsd*) TARGET=X86_64; TARGETDIR=x86;; #edited by juri 20MAR2005
sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
Running './configure && make && make install' seemed to work fine. But when I tried to install sablevm-1.11.1 I had no luck. All I got was:
...
checking for ffi_prep_cif in -lffi... no
***ERROR: libffi is missing
I read somewhere to try this file and compiliing with
gcc -o test -lffi test.c.
#include <ffi.h>
int main()
{
ffi_cif cif;
ffi_type *args[1];
ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, &ffi_type_uint, args);
return 0;
}
I get:
/usr/bin/ld: cannot find -lffi
collect2: ld returned 1 exit status
If you need me to send some lines from config.log or do any test. Please let me know. Thank you for your help.
Kyle
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm