LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-17-2003, 06:00 AM   #1
cjcuk
Member
 
Registered: Dec 2003
Distribution: Openwall, ~LFS
Posts: 128

Rep: Reputation: 15
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.
 
Old 12-17-2003, 06:03 AM   #2
cjcuk
Member
 
Registered: Dec 2003
Distribution: Openwall, ~LFS
Posts: 128

Original Poster
Rep: Reputation: 15
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.
 
Old 12-17-2003, 07:19 AM   #3
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
We need more informatio such as all the errors you get. Can you copy&paste that?
 
Old 12-17-2003, 08:39 AM   #4
cjcuk
Member
 
Registered: Dec 2003
Distribution: Openwall, ~LFS
Posts: 128

Original Poster
Rep: Reputation: 15
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.
 
Old 12-17-2003, 09:02 AM   #5
cjcuk
Member
 
Registered: Dec 2003
Distribution: Openwall, ~LFS
Posts: 128

Original Poster
Rep: Reputation: 15
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 =).
 
Old 12-17-2003, 09:11 AM   #6
cjcuk
Member
 
Registered: Dec 2003
Distribution: Openwall, ~LFS
Posts: 128

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building 64bit LFS currir55 Linux From Scratch 1 11-15-2005 03:47 PM
Questions about building LFS kornerr Linux From Scratch 9 07-29-2005 08:06 AM
Building Binary LFS Tuvok Linux From Scratch 10 03-20-2005 07:09 PM
Building LFS on a Pocket PC Immolo Linux From Scratch 0 05-21-2004 04:51 AM
Building LFS for Server Iceman Cometh Linux From Scratch 3 03-04-2002 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration