LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-06-2005, 07:28 AM   #1
mlinuxk
LQ Newbie
 
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18

Rep: Reputation: 0
psmisc configure failure


first failure is on line 2098 of configure file.
configure:2096 $? = 0
configure:2098 gcc -V </dev/null >&5
gcc: '-V' option must have an argument
configure;2101;$? =1
any suggestions?
 
Old 08-09-2005, 01:47 AM   #2
mlinuxk
LQ Newbie
 
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up

I am underwhelmed by the response, but I found the problem. Ncurses is where the problem started. I gleaned that Ncurses was the problem from the config.log. I reinstalled Ncurses and found that Ncurse didn't install the include directory in the proper place and psmisc could not find the terminal header files it needed.
I moved the *.h files to /usr/include and it made. Hoo- Hoo, I didn't have to start all the way over again! You may not be excited about this but I am.

I am sure it was all my fault.
 
Old 08-09-2005, 02:07 PM   #3
mlinuxk
LQ Newbie
 
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up

I am underwhelmed by the response, but I found the problem. Ncurses is where the problem started. I gleaned that Ncurses was the problem from the config.log. I reinstalled Ncurses and found that Ncurse didn't install the include directory in the proper place and psmisc could not find the terminal header files it needed.
I moved the *.h files to /usr/include and it made. Hoo- Hoo, I didn't have to start all the way over again! You may not be excited about this but I am.

I am sure it was all my fault.
 
Old 08-11-2005, 02:53 AM   #4
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
Are you installing LFS? If so, then what book version are you using?
 
Old 08-12-2005, 01:44 AM   #5
mlinuxk
LQ Newbie
 
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18

Original Poster
Rep: Reputation: 0
I am installing version X86-6.1-2 from the lfslivecd.

I reformatted the hard drive after I found that 'info' wasn't working in chapter 7.2 and decided that I had not spent enough time in the manuals during the early builds, so I started over. This is a learning experience, I have learned a great deal already, but there is a lot to learn. Also Vi was kind of wacked, It may have had something to do the editor or keymaps. I wasn't sure, so I shot it in the head.
I am reading the book again, this time reading the references. This will be the third time I have started this project, It is too interesting to be boring.
 
Old 08-12-2005, 01:55 AM   #6
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
Well I tried a LiveCD for LFS-6.0 didn't work. Then, later I tried using slackware as the host system It worked.

Point is LFS LiveCDs don't work use a distro that runs from the hard drive.

Also, you may be able to use some of the packages from the CD provided they aren't corrupted.

Last edited by shotokan; 08-12-2005 at 01:59 AM.
 
Old 08-12-2005, 05:59 AM   #7
mlinuxk
LQ Newbie
 
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18

Original Poster
Rep: Reputation: 0
I appreciate the tip. I used Gentoo first, it went okay. It was easier, but I didn't learn as much as I've learned with LFS. I've never used slackware, just Fedora Core, Suse 9.0, Xandros and Black Box Linux. I'll try again with Slackware if it doesn't work this time. As this is an educational endevour, the more trouble I have, the more I'll learn, right?
Thanks.
 
Old 08-12-2005, 01:06 PM   #8
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
I think your misunderstanding me. Go ahead and install LFS but, do it with a host-system that runs from your harddrive.
(slackware, Fedora...etc , but not the LFS-LiveCD)

Like I was saying earlier
Quote:
I tried a LiveCD for LFS-6.0 didn't work. Then, later I tried using slackware as the host system It worked.
I don't think I followed the directions any different than when I was using the LiveCD.

But if you still want to use the live CD then:
  • It's best if you just give one output.
  • That output should Include where the errors occurred on down
 
Old 08-13-2005, 01:14 AM   #9
mlinuxk
LQ Newbie
 
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks,
I don't understand what you mean. If the source code isn't corrupted, it shouldn't matter what type of file system the program is loaded from. I mean the programs are running in memory. /mnt/lfs is on the hard drive after the first chapter. I didn't understand the last statement......

# It's best if you just give one output.
# That output should Include where the errors occurred on down.


What did you mean by that?


I am thinking part of my problem is when I reboot I am losing my env vars and paths and ln -s's, but again if the distro is buggy, which is what I believe you are saying, then while the general instructions and the source code are good, maybe there is a problem with the clib,binutils or whats running on the CD. It is an interesting problem.
I haven't seen anyone else complain about the distro, but it is a newer version.

Has anyone else had problems with the distro that was solved as suggested?
 
Old 08-13-2005, 02:36 AM   #10
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
Forget, what I said about using a different distro. According to the site it's a stable release (I don't think mine was, sorry).

Quote:
I didn't understand the last statement......

# It's best if you just give one output.
# That output should Include where the errors occurred on down.


What did you mean by that?
  • By "output" I mean what the sceen prints out.
  • By "one" I meant the output from one command.
  • By "where the erros occurred on down" I meant when you post the output, start from where the first error occured, and finnish where the output ended.
Quote:
I am thinking part of my problem is when I reboot I am losing my env vars and paths and ln -s's
What do you do when you reboot?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 08:59 PM
PostScript failure result in printing failure cawwt Linux - General 2 10-01-2004 02:06 PM
sourcecode>./configure>make=failure rumle8905 Linux - Newbie 4 08-29-2004 04:45 AM
Psmisc, pidof - Ch 6.56.2, Sysvinit or not? itsjustme Linux From Scratch 1 07-28-2003 07:57 PM
Enlightenment, configure failure: freetype Dark_Helmet Linux - Software 1 07-23-2003 02:48 AM

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

All times are GMT -5. The time now is 06: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