CESNET / rousette

An almost-RESTCONF server
https://gerrit.cesnet.cz/q/project:CzechLight/rousette
Apache License 2.0
7 stars 1 forks source link

Can't find PAM #9

Open choppsv1 opened 1 week ago

choppsv1 commented 1 week ago

I'm trying to build on ubuntu 22.04.. and I cannot figure out what libpam package i need to install so that cmake finds the "pam" module. Ubuntu seems to fully support install pam and a libpam0g-dev pacakge so I'm not sure what else to do. I'd really like to not be installing PAM from source.

Any guidance here?

peckato1 commented 1 week ago

Hello,

It seems that libpam0g-dev 1.4.0 in ubuntu 22.04 is missing the pkgconfig (.pc) file, so the CMake can't find the package. I took a look in ubuntu 23.10 and the libpam0g-dev (1.5.2) contains the .pc file so the project should configure correctly on that ubuntu version.

(If this is correct, then the pkgconfig file was not even distributed by libpam before versions 1.5.2.)