SableVM on Familiar - Installation Issues

Michael Jones <[email protected]> Tue, 02 Aug 2005 02:34:29 -0400
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
I am having problems with my installation as well. I did not have enough 
space on the /root to install;

OE 2.6 GPE v0.8.2 on Simpad. Clean install. No app or data

root@simpad:/media/cf/packages/usr/lib/sablevm/jre# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                24320     22076      2244  91% /
tmpfs                    31324        44     31280   0% /var
/dev/mtdblock/2           8192       672      7520   8% /home
/dev/hda1               243679     88754    142344  38% /media/cf

I tried the following;

ipkg install -d cf -force-depends sablevm-classpath_1.12-r0_arm.ipk
ipkg install -force-depends libltdl3_1.5.10-r1_arm.ipk
ipkg install -force-depends libffi3_2.0+gcc3.4.1-r0_arm.ipk
ipkg install -force-depends libpopt0_1.7-r1_arm.ipk
ipkg install -force-depends libsablevm_1.12-r0_arm.ipk

copied libsablevm-1.12.so
from
 /mnt/cf/packages/usr/lib
to
 /usr/lib

ipkg install -force-depends sablevm_1.12-r0_arm.ipk
ipkg install -force-depends libart-lgpl-2-2_2.3.16-r2_arm.ipk
ipkg install -force-depends sablevm-classpath-native_1.12-r0_arm.ipk

SVM_CP_DIR=/mnt/cf/packages/usr/share/sablevm-classpath
BOOTCLASSPATH=$SVM_CP_DIR:$SVM_CP_DIR/libclasspath.jar:$SVM_CP_DIR/resources.jar
LD_LIBRARY_PATH=/mnt/cf/packages/usr/lib/sablevm:/mnt/cf/packages/usr/lib
export BOOTCLASSPATH LD_LIBRARY_PATH

Get the following error

root@simpad:/media/cf/packages/usr/share/sablevm-classpath# java 
HelloWorldText
*** Fatal error: Unable to load essential class java/lang/Object.
*** Most probably it was not found on boot classpath:
*** 
/usr/share/sablevm-classpath:/usr/share/sablevm-classpath/libclasspath.jar:/usr/share/sablevm-classpath/resources.jar
sablevm: cannot create vm

same for sablevm HelloWorldText

ipkg Scripts appear to be broken when you try and install portions to 
different locations. Any ideas on how to fix the Symlinks?