TCC Message: (exec.c, 120): can't exec /home/tet/test_sets/TESTROOT/tset/LSB.pam

Printer-friendly version

Hello,

I am facing a problem while running LSB.pam tests on my PPC target board. The board supports montavista linux.

I cross compiled LSB runtime test sources and ran the tests on my target. LSB.fhs, LSB.os tests are running fine but none of the LSB.pam tests are getting started. Below is the message from the journal file.

*** TCC Message: (exec.c, 120): can't exec /home/tet/test_sets/TESTROOT/tset/LSB
.pam/testcases/pam_authenticate/pam_authenticate, reply code = ER_NOENT ***
 

Can anyone help me on this?

Thanks in advance.

kk

TCC Message: (exec.c, 120):
Submitted by stewb on Wed, 10/08/2008 - 15:20.

Does the test binary pam_authenticate/pam_authenticate exist?

Unfortunately building the core tests is somewhat less than straightforward. These days it's really driven by the rpm .spec file, rather than the old tarball/script, with a lot patches/mods to accommodate building with lsbcc. You might consider using a prebuilt ppc rpm (or extract the files from it if you can't use an rpm).

TCC Message: (exec.c, 120):
Submitted by kiku_gi on Wed, 10/15/2008 - 08:25.

Thankyou stewb.

As doubted, the binary itself was not getting created.
These was a linking problem because of a missing pam library

I installed pam-dev-0.76 rpm and it worked fine.

Regards,
kiku_gi

Copyright © 2008 Linux Foundation. All rights reserved.
LSB is a trademark of the Linux Foundation. Linux is a registered trademark of Linus Torvalds