Ubuntu LTS 12.04 & pwrsrc 4.8.4-1.2

From Proview Wiki
Revision as of 04:09, 22 August 2013 by Marc (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Proview on LTS 12.04

Standard Ubuntu 12.04 (x86) installation

user:pwrp password:pwrp


sudo apt-get -y install openssh-server gcc g++ make flex-old 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

Install JDK

sudo -s

cd /usr/local

wget maba.dk/jdk-7u4-linux-i586.tar.gz

tar zxvf jdk-7u4-linux-i586.tar.gz

chown root:root /usr/local/jdk1.7.0_04

ln -sf jdk1.7.0_04 jdk

exit

cd ~

echo "export jdk=/usr/local/jdk" >> .bashrc

echo "export PATH=$PATH:$jdk/bin" >> .bashrc

source .bashrc


Install antlr (version 2.7.7)

sudo apt-get install libantlr-dev

Build Proview

mkdir /usr/local/pwrp

chown pwrp:pwrp /usr/local/pwrp

cd /etc

wget maba.dk/proview.cnf

exit

Download Proview [http://sourceforge.net/projects/proview/files/proview/proview_4.8.4-1/pwrsrc_4.8.4-1.2.tar.gz/download ] in /home/pwrp

cd ~

tar zxvf pwrsrc_4.8.4-1.2.tar.gz

echo "export pwre_host_exe=~/pwrsrc_4.8.4-1/rls/os_linux/hw_x86/exp/exe" >> .bashrc

echo "export pwre_env_db=~/pwre_env_db" >> .bashrc

echo "export pwre_bin=~/pwrsrc_4.8.4-1/src/tools/pwre/src/os_linux" >> .bashrc

echo "export pwre_dir_symbols="$pwre_bin/dir_symbols.mk"" >> .bashrc

echo "source $pwre_bin/pwre_function" >> .bashrc

echo "export pwre_kroot=~/pwrsrc_4.8.4-1/src" >> .bashrc

source .bashrc

pwre add V484x86


Copy/Past the Directory settings otherwise press ENTER

    Source root [...] ? /home/pwrp/pwrsrc_4.8.4-1/src
    Import root [] ? "
    Build root [...] ? /home/pwrp/pwrsrc_4.8.4-1/rls
    Build type [dbg] ?
    OS [linux] ?"
    Hardware [x86] ?
    Description  ?
 

pwre init V484x86

pwre create_all_modules

pwre configure

pwre build_all_modules (if error....., run again)


Make ubuntu packages:

pwre build tools/pkg ubu

cd ~/pwrsrc_4.8.4-1/rls/os_linux/hw_x86/bld/pkg

sudo dpkg -i pwr48_4.8.4-1_i386.deb

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox