Welcome to the Linux Foundation Forum!

Cross compiling PAM for powerpc: missing /etc/pam.d and pam.conf

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:

  1. export PATH=/path/to/crosscompiler/$PATH
  2. ./configure --prefix=/home/target --host=powerpc-unknown-linux-gnu
  3. make
  4. make install

Thanks a lot.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training