Compiling BFAgent
![]()
Hi, I need to build a bfagent for p linux. So I'm trying to build it from src. I'm running into an issue:
(when running configure script) checking for pam_start in -lpam... no checking whether PAM functions are really there or not... no checking for pam_start in -lpam... (cached) no then it throws an error message ending with this: configure: error: You did not specify --without-pam, and PAM was not found. My system has pam libraries installed under /lib and (sub dirs). PAM works on the system and is in use by several other programs. I'm curious where to begin with this. I wasn't finding much on google. The src/README file referenced an "Agent Whitepaper". Anyone know where I can get this? Thanks |
3 answers
![]() Hi, I need to build a bfagent for p linux. So I'm trying to build it from src. I'm running into an issue: Hi Matt, The error you're getting indicates there was a compilation error. You should have a file named config.log in the directory where you ran the configure script. It should contain information about the compile failure. For example, on my computer the config.log shows this when it doesn't have some necessary pam files.
One thing to verify is that you have pam-devel package installed on your system because the development libraries are necessary to compile a new program to use it. You might post some of your config.log with the pam compile information, if these suggestions don't work for you. bju |
![]()
bju,
Thanks for the response. You were correct, it was an issue with certain packages not being installed in my environment. I just wasn't sure which ones I needed. After some email exchanges with support, I learned that I needed these: "pam-devel" (required for pam support) "pcre-devel" (recommended) "openssl-devel" (recommended) After I had these installed, the configure script worked and I was able to build the agent. |
![]() bju, Hi, It's great that you've got it working, and thanks for posting the resolution! bju |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.