How do you create custom Torque RPMs from source?


Issue:

We'd like to create RPMs from (possibly customized) Torque source.

 

Solution:

1. Check out the Torque source (search this KB for instructions, if needed), or download the release tarball from the Download Center.

2. Run configure with the desired flags

3. Run "make" and then "make dist"

4. Run "rpmbuild -ta <file.tar.gz>" on tarball that "make dist" generates (e.g., torque-6.0.1.tar.gz).

5. Locate the RPMs on the machine in the directory indicated at the end of the rpmbuild output. Example:

Wrote: /root/rpmbuild/SRPMS/torque-6.0-1.adaptive.el7.centos.src.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/torque-6.0-1.adaptive.el7.centos.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/torque-server-6.0-1.adaptive.el7.centos.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/torque-devel-6.0-1.adaptive.el7.centos.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/torque-scheduler-6.0-1.adaptive.el7.centos.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/torque-client-6.0-1.adaptive.el7.centos.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/torque-debuginfo-6.0-1.adaptive.el7.centos.x86_64.rpm

If any part of this process results in errors, check with the community on the torqueusers mailing list. Additionally, you can submit a support ticket with Adaptive, please keep in mind that RPM support by Adaptive is relatively new. However, we will every effort to assist with issues arising from attempts to implement and utilize RPMs.

Last update:
2016-06-03 23:39
Author:
Rick McKay
Revision:
1.1
Average rating:0 (0 Votes)

You can comment this FAQ

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags