Loading ...
Sorry, an error occurred while loading the content.
 

A How-to compile MultiXTpm in Ubuntu 8.04

Expand Messages
  • Igor Custodio
    Hi all, Here are my first help to the project. A How-to compile MultiXTpm in Ubuntu 8.04 If you want to compile this project using Ubuntu, you can follow this
    Message 1 of 1 , Jun 22 7:15 PM
      Hi all,

      Here are my first help to the project. A How-to compile MultiXTpm in Ubuntu 8.04

       If you want to compile this project using Ubuntu, you can follow this steps:

       1) Create a MultiXTpm base directory:
          mkdir ~/MultiXTpm

       2) Download MultiXTpm in this directory:
          cd ~/MultiXTpm
          wget http://ufpr.dl.sourceforge.net/sourceforge/multixtpm/MultiXTpmAdminSetup-4.0.7b.zip
          /* You can found another mirror and download using your Browser here: http://sourceforge.net/project/showfiles.php?group_id=196021&package_id=231493&release_id=588318*/

       3) Install need packages
          apt-get install gsoap
          apt-get install libssl-dev
          apt-get install tmake
          apt-get install g++
          apt-get install libpam0g-dev

       4) Download GSOAP source and prepare to use it's header files:
          mkdir ~/MultiXTpm/gsoap
          cd ~/MultiXTpm/gsoap
          wget http://ufpr.dl.sourceforge.net/sourceforge/gsoap2/gsoap_2.7.10.tar.gz
          tar -xzvf gsoap_2.7.10.tar.gz

          /* Like step 2, you can found here another mirror: http://sourceforge.net/project/showfiles.php?group_id=52781*/

       5) Unzip MultiXTpm files
          cd ~/MultiXTpm
          unzip MultiXTpmAdminSetup-4.0.7b.zip
         
       6) Prepare the enviroment variables:
          cd ~/MultiXTpm
          cd MultiXTpmApplicationServer
          export MultiXTpm=`pwd`
          export PATH=$PATH:"${MultiXTpm}"/runtime
          export TMAKEPATH="/usr/share/tmake/linux-g++/"
          export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}":"${MultiXTpm}"/runtime
          export CPATH="~/MultiXTpm/gsoap/gsoap-2.7/gsoap:~/MultiXTpm/gsoap/gsoap-2.7/gsoap/extras"

       7) Build the project with LinuxBuildAll.sh
          cd $MultiXTpm
          chmod +x LinuxBuildAll.sh
          ./LinuxBuildAll.sh

       8) Runtime
          8.1) Make runtime if the directory dosen't exist!
            chmod +x MakeRuntime.sh
            ./MakeRuntime.sh

         8.2) If exist:
            cd runtime
            chmod +x MakeAll.sh
            ./MakeAll.sh

       9) Enjoy :)

       Best regards,

       Igor Custodio
    Your message has been successfully submitted and would be delivered to recipients shortly.