Ubuntu LTS 12.04 & pwrsrc 4.8.6-3
If you are going to build 4.8.6-3 from source and need a web interface, you need to replace GeDyn.java (./pwrsrc_4.8.6-3/java/jpwr/jop/src/GeDyn.java) with GeDyn.java because of a bug.
- Install Ubuntu Desktop 12.04-3 with user pwrp and password pwrp
- Install the next packages
sudo apt-get -y install openssh-server gcc g++ make flex libgtk2.0-dev libdb5.1-dev libdb5.1++-dev libasound2-dev doxygen libmysql++-dev libusb-dev libusb-1.0-0-dev xfonts-100dpi xfonts-75dpi libantlr-dev antlr apache2 sqlite sqlite3 --no-install-recommends cd ~ wget http://sourceforge.net/projects/proview/files/proview/proview_4.8.6-3/pwrsrc_4.8.6-3.2.tar.gz tar zxvf pwrsrc_4.8.6-3.2.tar.gz
- get GeDyn.java (bug)
cd ~/pwrsrc_4.8.6-3/java/jpwr/jop/src/ rm GeDyn.java wget http://maba.dk/GeDyn.java
- Java
cd /usr/local sudo wget http://maba.dk/jdk-7u40-linux-i586.tar.gz sudo tar zxvf jdk-7u40-linux-i586.tar.gz sudo chown -R root:root jdk1.7.0_40 sudo ln -sf jdk1.7.0_40 jdk cd /etc wget http://maba.dk/proview.cnf cd ~ wget http://maba.dk/bashrc-4.8.6-3 mv bashrc-4.8.6-3 .bashrc source .bashrc cd ~/pwrsrc_4.8.6-3 make;make;make