Re: Problem compiling sablevm-1.1.9 on Debian
Sebastien <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Grzegorz B. Prokopski wrote:
>On Fri, 2005-28-01 at 09:09 -0500, Sebastien wrote:
>
>
>>I want to compile and install sablevm on my new Debian installation and
>>I'm having some problems in the first step of the installation of
>>sablevm-1.1.9.tar.gz (./configure). Here is the output I get when I do
>>./configure:
>>
>>$ ./configure
>>
>>
>[...]
>
>
>>checking for ffi_prep_cif in -lffi... no
>>***ERROR: libffi is missing
>>
>>But this librairy is in fact installed:
>>
>>
>[...]
>
>
>>I don't understand why the error appears, the libffi is installed.
>>Previous to doing ./configure I installed with the apt-get install
>>command all the libraries specified in the INSTALL file (libffi2-dev,
>>libtool, libltdl3-dev, libpopt-dev, zlib1g-dev). I compiled sablevm
>>before on an other machine and didn't get this problem, could anyone
>>help ? or have any idea why this is occuring ?
>>
>>
>
>Weird, indeed.
>
>First try 'apt-get build-dep sablevm sablevm-classlib' (as root) to
>install all dependencies. Then, try compiling again, and if it doesn't
>help - show us last ~50 lines of config.log left by configure.
>
>Also make sure you have ffi header files installed, ie:
>$ ls -al /usr/include/*ffi*
>-rw-r--r-- 1 root root 2314 2004-12-19 12:11 /usr/include/fficonfig.h
>-rw-r--r-- 1 root root 14629 2004-12-19 12:11 /usr/include/ffi.h
>
> Grzegorz B. Prokopski
>
>
Didn't change anything.
I first checked the header files and they seem ok.
$ ls -al /usr/include/*ffi*
-rw-r--r-- 1 root root 2.3K 2005-01-08 09:48 /usr/include/fficonfig.h
-rw-r--r-- 1 root root 15K 2005-01-08 09:48 /usr/include/ffi.h
-rw-r--r-- 1 root root 3.6K 2005-01-08 09:48 /usr/include/ffi_mips.h
Then I did.
# apt-get build-dep sablevm sablevm-classlib
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
build-essential libxmuu-dev libxp-dev libxpm-dev libxtrap-dev pm-dev
xlibs-dev
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 998kB of archives.
[...]
And then tried: ./configure which stopped on the same error:
$ ./configure
[...]
checking for ffi_prep_cif in -lffi... no
***ERROR: libffi is missing
Here are the last 50 lignes of the config.log:
[...]
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define HAVE_DLFCN_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define NDEBUG 1
#define PACKAGE "sablevm"
#define PACKAGE_BUGREPORT "http://www.sablevm.org/"
#define PACKAGE_NAME "sablevm"
#define PACKAGE_STRING "sablevm 1.1.9"
#define PACKAGE_TARNAME "sablevm"
#define PACKAGE_VERSION "1.1.9"
#define STDC_HEADERS 1
#define VERSION "1.1.9"
#define _POSIX_C_SOURCE 199506L
#define _REENTRANT 1
#define _SABLEVM_BIDIRECTIONAL_OBJECT_LAYOUT 1
#define _SABLEVM_COPY_GC 1
#define _SABLEVM_INLINED_THREADED_INTERPRETER 1
#define _SABLEVM_PACKAGE_NAME "sablevm"
#define _SABLEVM_PACKAGE_VERSION "1.1.9"
#define _SABLEVM_REAL_LIFE_BROKENNESS 1
#define _XOPEN_SOURCE 500
#define svm_static static
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;
configure: exit 1
I don't know what else I could try to fix this.