Re: (Tentative) SableVM 1.1.8 Released

PJ Cabrera <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
**> PJ Cabrera wrote:
 > > pjcabrera@ubuntu:~/projects> /opt/sablevm/java-sablevm --version

On Thu, 30 Dec 2004 09:56:29 -0500, Etienne Gagnon wrote:
 >
 > I guess you meant: /opt/sablevm/bin/java-sablevm ?

Yeah, the directory was actually /opt/sablevm-1.1.8/bin, but I edited 
the console log and screwed it up.
 
 > This seems to indicate that you have the wrong "java.lang.Class" class.
 >
 > 1- Are you sure you passed and identical "--prefix" option to
 > "./configure" of sablevm and sablevm-classpath?

I checked my .bash_history, and I did use the same --prefix in the 
./configure step. Here is the relevant portion, unedited. :-)

cd projects
tar xzpvf ../downloads/libffi-2.1.tar.gz
tar xzpvf ../downloads/sablevm-1.1.8.tar.gz
tar xzpvf ../downloads/sablemv-classpath-1.1.8.tar.gz
ls
mkdir builddir
cd builddir
../libffi-2.1/configure --prefix=/opt/libffi-2.1
make all && make install
ls /opt
cd ../sablevm-1.1.8
export CFLAGS=-I/opt/libffi-2.1/include
export LDFLAGS=-L/opt/libffi-2.1/lib
./configure --prefix=/opt/sablevm-1.1.8
make all && make install
ls /opt
cd ../sablevm-classpath-1.1.8
./configure --prefix=/opt/sablevm-1.1.8
make all && make install


I  retried the build and it worked this time. This time I installed 
libffi to /usr, unset CFLAGS and LDFLAGS, and for both sablevm and 
sablevm-cp, used

./configure --prefix=/opt/sablevm-1.1.8 && make install

Do you think the original problem was caused by the unusual location for 
libffi? I had used that technique successfully with sablevm 1.1.6, so I 
assumed it would work with 1.1.8 too.

 > Have fun!
 >
 > Etienne

Thanks! Happy New Year!

PJ Cabrera
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.