Re: Problem compiling sablevm-1.1.9 on Debian

"Grzegorz B. Prokopski" <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.general
Organization SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-ID <[email protected]>
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:
> 
> Passion% ./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

Hope this helps,

			Grzegorz B. Prokopski

-- 
Grzegorz B. Prokopski           <[email protected]>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.