Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Step:1
- I checkout the compiled source code onto /raj/trade as
- #svn co http://160.94.x.x/svn/tradeoff/branches/REL_ORC620/ORC/sa_source
- root@is:~/raj/trade/sa_core# ls
- autogen.sh components install omprov tools
- change_management configure.ac java sa-config.cmake trayicon
- cli data javadocs pkg
- CMakeLists.txt sm_tm_connsvc Makefile.am presentation
- common sm_tm_shrsvc misc solutions
- root@is:~/raj/trade/sa_core# cd ..
- Step:2
- Running cmake command:
- root@is:~/raj/trade#cmake -DDO_STAGING=FALSE -G 'Unix Makefiles' -
- DCMAKE_INSTALL_PREFIX=/tmp/debian/ -DCMAKE_BUILD_TYPE=Release -
- DBUILD_ARCH=m64 -DRELEASE_MAJOR=6 -DRELEASE_MINOR=2 -DRELEASE_MICRO=0 -
- DSIGN_JARS=FALSE -DOBFUSCATE_JARS=FALSE -DTKT_NO=1234 -DREV_NO=1234 ../
- -- The C compiler identification is GNU 4.8.2
- -- The CXX compiler identification is GNU 4.8.2
- -- Check for working C compiler: /usr/bin/gcc
- -- Check for working C compiler: /usr/bin/gcc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/g++
- -- Check for working CXX compiler: /usr/bin/g++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- TKT_NOisdefined,henceBUILDNUMBERissetto1234
- REV_NOisdefined,henceREVISIONNUMBERissetto1234
- CMAKE_BUILD_TYPE set to Release
- DO_STAGING set to default FALSE
- SIGN_FILES set to default FALSE
- SIGN_JARS set to default FALSE
- OBFUSCATE_JARS set to default FALSE
- TKT_NO set to 1234
- INSTRUMENT_COVERAGE set to default FALSE
- -- Configuring done
- -- Generating done
- -- Build files have been written to: raj/trade/sa_source
- Then I ran make command. It started building C object data.
- Now start the debian packaging method.
- Step:3
- # dh_make -f ../sa_source.tar.gz -p sas_8.2.0
- Type of package: single binary, indep binary, multiple binary, library,
- kernel module, kernel patch?
- [s/i/m/l/k/n] m
- Maintainer name : root
- Email-Address : root@unknown
- Date : Tue, 24 Nov 2015 21:53:42 +0530
- Package Name : sas
- Version : 6.2.0
- License : blank
- Type of Package : Multi-Binary
- Hit <enter> to confirm:
- You already have a debian/ subdirectory in the source tree.
- dh_make will not try to overwrite anything.
- Now if I run debian/rules clean, it works well.
- Step:4
- # debian/rules clean
- dh clean
- dh_testdir
- dh_auto_clean
- dh_clean
- 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