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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-06-2005, 07:28 AM
|
#1
|
LQ Newbie
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18
Rep:
|
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?
|
|
|
08-09-2005, 01:47 AM
|
#2
|
LQ Newbie
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
08-09-2005, 02:07 PM
|
#3
|
LQ Newbie
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
08-11-2005, 02:53 AM
|
#4
|
Member
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204
Rep:
|
Are you installing LFS? If so, then what book version are you using?
|
|
|
08-12-2005, 01:44 AM
|
#5
|
LQ Newbie
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
08-12-2005, 01:55 AM
|
#6
|
Member
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204
Rep:
|
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.
|
|
|
08-12-2005, 05:59 AM
|
#7
|
LQ Newbie
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
08-12-2005, 01:06 PM
|
#8
|
Member
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204
Rep:
|
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
|
|
|
08-13-2005, 01:14 AM
|
#9
|
LQ Newbie
Registered: May 2004
Location: North Carolina
Distribution: Fedora Core 2 1.92 V3
Posts: 18
Original Poster
Rep:
|
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?
|
|
|
08-13-2005, 02:36 AM
|
#10
|
Member
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 06:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|