Sample Header Ad - 728x90

Cross-compile Linux-PAM: both pam.d and pam.conf are missing

0 votes
1 answer
586 views
I am trying to cross-compile Linux-PAM from a Ubuntu host machine to powerpc architecture (running linux kernel 2.6.34). First, I run ./configure command, giving the --host path to the cross compiler and --prefix path to a local directory called "target" as options to the configure command; after that, I run make and make install. The make install command ends apparently without any error. At the end of the install process few files and directories are created in my "target" folder, but the /etc/pam.d is missing: I would have expected to find that folder, containing the PAM modules. A pam.conf file is missing too. Am I doing something wrong? Or maybe the lack of both /etc/pam.d and pam.conf is an expected behavior? these are the commands I tried to cross-compile: export PATH=/path/to/crosscompiler/$PATH ./configure --prefix=/home/target --host=powerpc-unknown-linux-gnu make make install Thanks a lot.
Asked by user15061000 (43 rep)
Jan 27, 2021, 01:59 PM
Last activity: Feb 23, 2021, 08:57 AM