LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Building Screen-4.0.2 (and others...) on LFS (https://www.linuxquestions.org/questions/linux-from-scratch-13/building-screen-4-0-2-and-others-on-lfs-126595/)

cjcuk 12-17-2003 06:00 AM

Building Screen-4.0.2 (and others...) on LFS
 
Hi, I have recently completed installing my LFS (version 5.0) and decided to add a few programs to it. However, when I downloaded GNU Screen < gnu/software/screen/ (I cannot post an URL due to my post count) > and tried to configure it, the configure script appears unable to find certain required library functions. It finds the header files that these functions appear in, and other programs that use these functions have been able to compile successfully without any changes. Does anybody have any idea what may cause this?

Thank you for your help. I tried the LFS irc, but nobody seemed interested.

cjcuk 12-17-2003 06:03 AM

Sorry, forgot to add - I have tried other versions of Screen and they all encounter the same problem, but I am unable to replicate it with other software.

lfslinux 12-17-2003 07:19 AM

We need more informatio such as all the errors you get. Can you copy&paste that?

cjcuk 12-17-2003 08:39 AM

I have fixed the problem now, so I do not need any help. I have listed what the problem was and how I solved here though, in case anybody has similar issues.

As a note, I installed PAM and recompiled Shadow from the BLFS book.

Basically, as Screen was configuring itself it appears to have attempted to test out some of the shadow libraries. However, even with --enable-pam, it does not appear to link in pam at this point. This causes ld to fail to resolve the pam references within shadow, and the whole program to die. All I needed to do was LDFLAGS="-lpam" while configuring it. It now works fine.

cjcuk 12-17-2003 09:02 AM

Quote:

Originally posted by lfslinux
We need more informatio such as all the errors you get. Can you copy&paste that?
Just like to take the opportunity to thank you for creating this system. It is my first experience with Linux, and it has been very pleasing so far =).

cjcuk 12-17-2003 09:11 AM

Re: Building Screen-4.0.2 (and others...) on LFS
 
Quote:

Originally posted by cjcuk
I tried the LFS irc, but nobody seemed interested.
Just thought I would correct this as well, last night no-one seemed interested. Today the room was very willing to help, but unfortunately could not see what was causing the problem =(... though several users compiled screen on their systems purely to check if they had similar problems for me.


All times are GMT -5. The time now is 09:29 AM.