[slurm-users] problem building pam_slurm_adopt

Vanhorn, Mike michael.vanhorn at wright.edu
Wed Jul 14 13:04:37 UTC 2021


I was missing pam-devel. 

Thank you!

---
Mike VanHorn
Senior Computer Systems Administrator
College of Engineering and Computer Science
Wright State University
265 Russ Engineering Center
937-775-5157
michael.vanhorn at wright.edu

On 7/14/21, 6:44 AM, "slurm-users on behalf of Ole Holm Nielsen" <slurm-users-bounces at lists.schedmd.com on behalf of Ole.H.Nielsen at fysik.dtu.dk> wrote:

    For CentOS, the list of all prerequisites for building Slurm is here:
    https://urldefense.com/v3/__https://wiki.fysik.dtu.dk/niflheim/Slurm_installation*install-prerequisites__;Iw!!On18fmf1aQ!nRcJ6MH-wGtwudJA_Wp-AC1-EOnKo1DwjTpijRPFuJz6Y1SYaFMMwEzE8_Ire126QCtpMkI$ 

    /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://urldefense.com/v3/__https://slurm.schedmd.com/pam_slurm_adopt.html__;!!On18fmf1aQ!nRcJ6MH-wGtwudJA_Wp-AC1-EOnKo1DwjTpijRPFuJz6Y1SYaFMMwEzE8_Ire126S5Iwpyk$  
    > <https://urldefense.com/v3/__https://slurm.schedmd.com/pam_slurm_adopt.html__;!!On18fmf1aQ!nRcJ6MH-wGtwudJA_Wp-AC1-EOnKo1DwjTpijRPFuJz6Y1SYaFMMwEzE8_Ire126S5Iwpyk$ >
    > 
    > 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