Closed outzhu closed 2 years ago
Can you provide the output from cat /etc/os-release
and autoconf --version
?
cat /etc/os-release
NAME="Ubuntu" VERSION="20.04.2 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.2 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal
autoconf --version
autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
Can you check and see if pkg-config
is installed?
Reference(s):
it's not, should I also get pkgconf?
it's not, should I also get pkgconf?
I don't think it will hurt. Try running this command, https://github.com/aad-for-linux/pam_aad/blob/master/docker/ubuntu/Dockerfile#L9 (all the way down to uuid-dev
).
nope, still same error.
nope, still same error.
How about we try this, https://unix.stackexchange.com/a/18680/247886
sudo apt-get -y install autoconf automake libtool cmake autoconf-archive build-essential
this solves autoconf issues.
./bootstrap.sh
./configure --with-pam-dir=/lib/x86_64-linux-gnu/security/
success but the make output returns
CC pam_aad_la-pam_aad.lo
pam_aad.c:2:10: fatal error: jansson.h: No such file or directory
2 | #include <jansson.h>
| ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:479: pam_aad_la-pam_aad.lo] Error 1
success but the make output returns
CC pam_aad_la-pam_aad.lo pam_aad.c:2:10: fatal error: jansson.h: No such file or directory 2 | #include <jansson.h> | ^~~~~~~~~~~ compilation terminated. make: *** [Makefile:479: pam_aad_la-pam_aad.lo] Error 1
We need to ensure Jansson is installed, https://github.com/aad-for-linux/pam_aad/blob/master/docker/ubuntu/Dockerfile#L18
@outzhu were you able to build using the docker images?
I can confirm the docker image builds are working per our GitHub Actions: https://github.com/aad-for-linux/pam_aad/actions/runs/3049338989
from using ./bootstrap.sh