<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Mike,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
To build pam_slurm_adopt, you need the pam-devel package installed on the node you're building Slurm on.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
On RHEL, it's pam-devel, and Debian it's libpam-dev</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Once you have installed that, do ./configure again, and then you should be able to make the pam_slurm_adopt</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Sean<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of Vanhorn, Mike <michael.vanhorn@wright.edu><br>
<b>Sent:</b> Wednesday, 14 July 2021 02:21<br>
<b>To:</b> slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> [EXT] [slurm-users] problem building pam_slurm_adopt</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">External email: Please exercise caution<br>
<br>
<br>
I am trying to build the pam_slurm_adopt module for pam, by following the directions found on
<br>
<br>
<a href="https://slurm.schedmd.com/pam_slurm_adopt.html">https://slurm.schedmd.com/pam_slurm_adopt.html</a><br>
<br>
which says to get into contribs/pam_slurm_adopt/ and do <br>
<br>
make && make install<br>
<br>
However, cd-ing into that directory and running make just gives<br>
<br>
# make <br>
make: Nothing to be done for `all'.<br>
# make install<br>
make[1]: Entering directory `/root/Downloads/slurm-20.11.7/contribs/pam_slurm_adopt'<br>
make[1]: Nothing to be done for `install-data-am'.<br>
make[1]: Leaving directory `/root/Downloads/slurm-20.11.7/contribs/pam_slurm_adopt'<br>
#<br>
<br>
My configure was<br>
<br>
./configure --prefix=/opt/ohpc/pub/slurm/slurm-20.11.7 --with-pmix=/opt/ohpc/pub/slurm/pmix-4.0.0 --sysconfdir=/etc/slurm<br>
<br>
but even if I add "--with-pam", I get the same result with make. <br>
<br>
Can someone point me to what I'm missing?<br>
<br>
---<br>
Mike VanHorn<br>
Senior Computer Systems Administrator<br>
College of Engineering and Computer Science<br>
Wright State University<br>
265 Russ Engineering Center<br>
937-775-5157<br>
michael.vanhorn@wright.edu<br>
<br>
</div>
</span></font></div>
</body>
</html>