Advertisement
Guest User

Untitled

a guest
Nov 24th, 2015
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. Step:1
  2.  
  3. I checkout the compiled source code onto /raj/trade as
  4.  
  5. #svn co http://160.94.x.x/svn/tradeoff/branches/REL_ORC620/ORC/sa_source
  6.  
  7.  
  8.  
  9.  
  10.  
  11. root@is:~/raj/trade/sa_core# ls
  12.  
  13. autogen.sh components install omprov tools
  14. change_management configure.ac java sa-config.cmake trayicon
  15. cli data javadocs pkg
  16. CMakeLists.txt sm_tm_connsvc Makefile.am presentation
  17. common sm_tm_shrsvc misc solutions
  18.  
  19.  
  20. root@is:~/raj/trade/sa_core# cd ..
  21.  
  22. Step:2
  23.  
  24. Running cmake command:
  25.  
  26.  
  27. root@is:~/raj/trade#cmake -DDO_STAGING=FALSE -G 'Unix Makefiles' -
  28.  
  29. DCMAKE_INSTALL_PREFIX=/tmp/debian/ -DCMAKE_BUILD_TYPE=Release -
  30.  
  31. DBUILD_ARCH=m64 -DRELEASE_MAJOR=6 -DRELEASE_MINOR=2 -DRELEASE_MICRO=0 -
  32.  
  33. DSIGN_JARS=FALSE -DOBFUSCATE_JARS=FALSE -DTKT_NO=1234 -DREV_NO=1234 ../
  34. -- The C compiler identification is GNU 4.8.2
  35. -- The CXX compiler identification is GNU 4.8.2
  36. -- Check for working C compiler: /usr/bin/gcc
  37. -- Check for working C compiler: /usr/bin/gcc -- works
  38. -- Detecting C compiler ABI info
  39. -- Detecting C compiler ABI info - done
  40. -- Check for working CXX compiler: /usr/bin/g++
  41. -- Check for working CXX compiler: /usr/bin/g++ -- works
  42. -- Detecting CXX compiler ABI info
  43. -- Detecting CXX compiler ABI info - done
  44. TKT_NOisdefined,henceBUILDNUMBERissetto1234
  45. REV_NOisdefined,henceREVISIONNUMBERissetto1234
  46. CMAKE_BUILD_TYPE set to Release
  47. DO_STAGING set to default FALSE
  48. SIGN_FILES set to default FALSE
  49. SIGN_JARS set to default FALSE
  50. OBFUSCATE_JARS set to default FALSE
  51. TKT_NO set to 1234
  52. INSTRUMENT_COVERAGE set to default FALSE
  53. -- Configuring done
  54. -- Generating done
  55. -- Build files have been written to: raj/trade/sa_source
  56.  
  57. Then I ran make command. It started building C object data.
  58. Now start the debian packaging method.
  59.  
  60.  
  61. Step:3
  62.  
  63. # dh_make -f ../sa_source.tar.gz -p sas_8.2.0
  64.  
  65. Type of package: single binary, indep binary, multiple binary, library,
  66.  
  67. kernel module, kernel patch?
  68. [s/i/m/l/k/n] m
  69.  
  70. Maintainer name : root
  71. Email-Address : root@unknown
  72. Date : Tue, 24 Nov 2015 21:53:42 +0530
  73. Package Name : sas
  74. Version : 6.2.0
  75. License : blank
  76. Type of Package : Multi-Binary
  77. Hit <enter> to confirm:
  78. You already have a debian/ subdirectory in the source tree.
  79. dh_make will not try to overwrite anything.
  80.  
  81. Now if I run debian/rules clean, it works well.
  82.  
  83. Step:4
  84.  
  85. # debian/rules clean
  86. dh clean
  87. dh_testdir
  88. dh_auto_clean
  89. dh_clean
  90.  
  91. If I run debian/rules build it will try to do what I did in the Step 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement