[mir-coders] mir + kaffe
grok at no-log.org
grok at no-log.org
Tue Aug 9 10:55:07 PDT 2005
Hi,
I just installed mir on a clean, freshly installed, debian (testing),
without the sun sdk. Mir seems to work fine with kaffe. I didn't test
extensivelly... just made sure it was up and running.
Here's a raw description of how I got it working (fairly
straightforward).
Cheers,
Grok.
***************************************************
*** install postgres
***************************************************
sudo apt-get install postgresql
change first three lines in /etc/postgresql/pg_hba.conf :
(password instead of "ident sameuser")
# Database administrative login by UNIX sockets
local all postgres password
#
# All other connections by UNIX sockets
local all all password
#
# All IPv4 connections from localhost
host all all 127.0.0.1 255.255.255.255 password
sudo /etc/init.d/postgresql restart
sudo su postgres
psql template1
alter user postgres with password 'xxxxxxx';
***************************************************
*** install tomcat
***************************************************
you have to have "contrib" in your apt sources
sudo apt-get install jikes-kaffe tomcat4 tomcat4-admin tomcat4-webapps
sudo /etc/init.d/tomcat4 restart
- check tomcat logs in /var/lib/tomcat4/logs for errors
xxx problem because of missing webaps, or missing apache?
***************************************************
*** install ant
***************************************************
sudo apt-get install ant
***************************************************
*** mir
***************************************************
cd /usr/lib/kaffe/pthreads/lib
for i in ../jre/lib/*.jar; do sudo ln -s $i .;done
cvs -d :pserver:anonymous at cvs.codecoop.org:/cvsroot/mir co -r MIR_1_1 mir
cd mir
export TOMCAT_HOME=/usr/share/tomcat4
rm source/mir/media/image/JAIImageProcessor.java
rm source/tool/ImageTool.java
ant
cd /var/lib/tomcat4/webapps
sudo ln -s /home/XXXX/mir/bin/mir .
cd ....bin/mir/WEB-INF/etc
cp config.properties-dist config.properties
edit config.properties
./createmirdb.sh Mir postgres mir szde
sudo /etc/init.d/tomcat4 restart
More information about the mir-coders
mailing list