[slurm-users] problem building pam_slurm_adopt

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Wed Jul 14 10:43:34 UTC 2021


For CentOS, the list of all prerequisites for building Slurm is here:
https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#install-prerequisites

/Ole

On 7/14/21 11:51 AM, Sean Crosby wrote:
> Hi Mike,
> 
> To build pam_slurm_adopt, you need the pam-devel package installed on the 
> node you're building Slurm on.
> 
> On RHEL, it's pam-devel, and Debian it's libpam-dev
> 
> Once you have installed that, do ./configure again, and then you should be 
> able to make the pam_slurm_adopt
> 
> Sean
> --------------------------------------------------------------------------
> *From:* slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of 
> Vanhorn, Mike <michael.vanhorn at wright.edu>
> *Sent:* Wednesday, 14 July 2021 02:21
> *To:* slurm-users at lists.schedmd.com <slurm-users at lists.schedmd.com>
> *Subject:* [EXT] [slurm-users] problem building pam_slurm_adopt
> External email: Please exercise caution
> 
> 
> I am trying to build the pam_slurm_adopt module for pam, by following the 
> directions found on
> 
> https://slurm.schedmd.com/pam_slurm_adopt.html 
> <https://slurm.schedmd.com/pam_slurm_adopt.html>
> 
> which says to get into contribs/pam_slurm_adopt/ and do
> 
> make && make install
> 
> However, cd-ing into that directory and running make just gives
> 
> # make
> make: Nothing to be done for `all'.
> # make install
> make[1]: Entering directory 
> `/root/Downloads/slurm-20.11.7/contribs/pam_slurm_adopt'
> make[1]: Nothing to be done for `install-data-am'.
> make[1]: Leaving directory 
> `/root/Downloads/slurm-20.11.7/contribs/pam_slurm_adopt'
> #
> 
> My configure was
> 
> ./configure --prefix=/opt/ohpc/pub/slurm/slurm-20.11.7 
> --with-pmix=/opt/ohpc/pub/slurm/pmix-4.0.0 --sysconfdir=/etc/slurm
> 
> but even if I add "--with-pam", I get the same result with make.
> 
> Can someone point me to what I'm missing?



More information about the slurm-users mailing list