Develop and Download Open Source Software

under construction


How To Build OpenPlatformTrustServices for KNOPPIX.

Boot the KNOPPIX DVD (CD Version is insufficient).

Following instruction is tested by using KNOPPIX Japanese 5.1.1DVD available from http://unit.aist.go.jp/itri/knoppix/

CD Version is insufficient. If you use CD version, you have to install ant package, gcj package and their dependable packages additionally.*1

If you use a persistent KNOPPIX disk image, the size must be larger than 384MB. 512MB is recommended. And in this case, it is better to use /tmp as work space.


Preparing

Download and Install Java Development Kit V6 from http://java.sun.com/javase/downloads/index.jsp

# cd /opt/
# jdk-6u4-linux-i586.bin
# export JAVA_HOME=/opt/jdk1.6.0_04
# export PATH=/opt/jdk1.6.0_04/bin:$PATH

Install TrouSers and tpm-tools from http://sourceforge.net/projects/trousers/

Download jTreemap and Install from http://jaist.dl.sourceforge.net/sourceforge/jtreemap/jtreemap-1.1.0.zip

# cp jtreemap-1.1.0.zip /tmp/
# cd /opt
# unzip /tmp/jtreemap-1.1.0.zip

Build and Install OpenPlatformTrustServices

Download OpenPlatformTrustServices OpenPlatformTrustServices-tools OpenPlatformTrustServices-tcdemo packages from http://sourceforge.jp/projects/openpts.

  1. Copy spec files to /usr/src/rpm/SPECS/
  2. Copy tar files to /usr/src/rpm/SOURCES/ as tar.gz
  3. Build and install OpenPlatformTrustServices and OpenPlatformTrustServices-tools
  4. Build and install OpenPlatformTrustServices-tcdemo
$ tar xzvf OpenPlatformTrustServices-0.1.1.tgz
$ tar xzvf OpenPlatformTrustServices-tools-0.1.1.tgz
$ tar xzvf OpenPlatformTrustServices-tcdemo-0.1.1.tgz

$ cp OpenPlatformTrustServices-0.1.1/dist/OpenPlatformTrustServices.spec /usr/src/rpm/SPECS/
$ cp OpenPlatformTrustServices-tools-0.1.1/dist/OpenPlatformTrustServices* /usr/src/rpm/SPECS/
$ cp OpenPlatformTrustServices-tcdemo-0.1.1/dist/OpenPlatformTrustServices-tcdemo.spec /usr/src/rpm/SPECS/

$ cp OpenPlatformTrustServices-0.1.1.tgz /usr/src/rpm/SOURCES/OpenPlatformTrustServices-0.1.1.tar.gz
$ cp OpenPlatformTrustServices-tools-0.1.1.tgz /usr/src/rpm/SOURCES/OpenPlatformTrustServices-tools-0.1.1.tar.gz
$ cp OpenPlatformTrustServices-tcdemo-0.1.1.tgz /usr/src/rpm/SOURCES/OpenPlatformTrustServices-tcdemo-0.1.1.tar.gz

# cd /usr/src/rpm/SPECS/
# rpmbuild -bb OpenPlatformTrustServices-tools.spec
# rpmbuild -bb OpenPlatformTrustServices.spec

# cd /usr/src/rpm/RPMS/i386/
# alien --to-deb OpenPlatformTrustServices-tools-0.1.1-1.i386.rpm
# dpkg -i openplatformtrustservices-tools_0.1.1-2_i386.deb

# cd /usr/src/rpm/RPMS/noarch/
# alien --to-deb OpenPlatformTrustServices-0.1.1-1.noarch.rpm
# dpkg -i openplatformtrustservices_0.1.1-2_all.deb

# cd /usr/src/rpm/SPECS/
# rpmbuild -bb OpenPlatformTrustServices-tcdemo.spec
# cd /usr/src/rpm/RPMS/i386/
# alien --to-deb OpenPlatformTrustServices-tcdemo-0.1.1-1.i386.rpm
# dpkg -i openplatformtrustservices-tcdemo_0.1.1-2_i386.deb

*1 To use CD version KNOPPIX, install ant package from http://packages.debian.org/etch/ant

dpkg -i --ignore-depends=java-gcj-compat ant_1.6.5-6_all.deb

And also, install gcj package from http://packages.debian.org/etch/gcj (and cpp, gij, gij-4.1, gcj-4.1, gcj-4.1-base, libgcj7-dev, libgcj7-0, libgcj-common, libgcj7-awt, libgcj-bc, libgcj7-jar)



SourceForge.JP is a Japanese version of SourceForge.net. For developments that are not related to Japan, we recommend you to use SourceForge.net.