Project

General

Profile

29-Jul-2010 novatest01 log

29-Jul-2010, HM

Here are the steps to cross compile XmlRpc++ for UPS/UPD on novatest01, very similar to Kurt's notes:

  • Downloaded xmlrpc++0.7.tar.gz from http://sourceforge.net/projects/xmlrpcpp/files.
  • log into the products account
  • 'cd /nova/ups/xmlrpcpp'
  • 'mkdir v0_7p1 && cd v0_7p1'
  • 'tar --gunzip -xvf <downloadDir>/xmlrpc++0.7.tar.gz'
  • 'mv xmlrpc++0.7 Linux64bit+2.6-2.5'
  • 'tar --gunzip -xvf <downloadDir>/xmlrpc++0.7.tar.gz'
  • 'mv xmlrpc++0.7 LinuxPPC'
  • patch as needed:
    'cvs co XmlRpc/cxx/test/Validator.cc'
    'cp XmlRpc/cxx/test/Validator.cc Linux64bit+2.6-2.5/test/Validator.cpp'
    'cp XmlRpc/cxx/test/Validator.cc LinuxPPC/test/Validator.cpp'
    'cvs co XmlRpc/cxx/src/XmlRpc.h'
    'cp XmlRpc/cxx/src/XmlRpc.h Linux64bit+2.6-2.5/src/XmlRpc.h'
    'cp XmlRpc/cxx/src/XmlRpc.h LinuxPPC/src/XmlRpc.h'
    'rm -rf XmlRpc'
  • 'cd Linux64bit+2.6-2.5'
  • 'gmake'
  • 'mkdir include && cd include && ln -s ../src XmlRpc && cd ..'
  • 'mkdir ups && cp ../../v0_7/LinuxPPC/ups/xmlrpcpp.table ups/'
  • modify ups/xmlrpcpp.table if needed (not needed)
  • 'ups declare -c -z /nova/ups -f Linux64bit+2.6-2.5 -r /nova/ups/xmlrpcpp/v0_7p1/Linux64bit+2.6-2.5 -m xmlrpcpp.table xmlrpcpp v0_7p1'
  • 'cd ../LinuxPPC'
  • 'setup nova_crosscompiler v4_1_0-2_3_6 -q full:powerpc-603'
  • 'gmake'
  • 'mkdir include && cd include && ln -s ../src XmlRpc && cd ..'
  • 'mkdir ups && cp ../../v0_7/LinuxPPC/ups/xmlrpcpp.table ups/'
  • modify ups/xmlrpcpp.table if needed (not needed)
  • 'ups declare -c -z /nova/ups -f LinuxPPC-GCC -r /nova/ups/xmlrpcpp/v0_7p1/LinuxPPC -m xmlrpcpp.table xmlrpcpp v0_7p1'