Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download PBS source from github.
  2. cd to pbspro/
  3. Install the packages listed in debian/control file.
    1. apt-get install debhelper build-essential autotools-dev gcc automake autoconf comerr-dev libhwloc-dev libx11-dev x11proto-core-dev libxt-dev libedit-dev libical-dev libncurses-dev perl libpq-dev libpython2.7-minimal:amd64 libpython2.7-dev tcl-dev tk-dev swig dpkg-dev libexpat-dev libssl-dev zlib1g-dev:amd64 libxt-dev:amd64 libxext-dev libxft-dev dh-make debhelper devscripts fakeroot xutils lintian

  4. run ./autogen.sh
  5. run ./configure
  6. run make dist (Step 5 can be skipped, as this step will internally run the configure script).
  7. Step 6 will create pbspro-<version>.tar.gz
  8. Copy the pbspro-<version>.tar.gz to a two-level directory, e.g. ../build/build/
  9. Extract the pbspro-<version>.tar.gz
  10. cd to pbspro-<version> directory.
  11. run dh_make
    1. As debian/ directory is already present, we need to run dh_make --createorig -m
    2. This will create files required by build/packaging machinery in the parent directory.
  12. run dpkg-buildpackage -rfakeroot -uc -us
  13. Step 12 will create the .deb files in the parent directory.

...