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.
|
 |
02-11-2002, 04:38 PM
|
#1
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Rep:
|
Cant get BASH to install...
when i run:
[root@chijtska bash-2.05a]# ./configure --enable-static-link --prefix=$LFS/usr \ --bindir=$LFS/bin --with-curses &&
> make &&
> make install &&
> cd $LFS/bin &&
> ln -sf bash sh
configure: error: invalid variable name: --bindir
this is what i have been getting? what can i do to fix this?
|
|
|
02-11-2002, 05:30 PM
|
#2
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Original Poster
Rep:
|
finally got to ./configure but wont make:
/tmp/ccEhVmAF.s:343: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccEhVmAF.s:343: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccEhVmAF.s:343: Error: Rest of line ignored. First ignored character is `,'.
this is what i get during make and make install...
|
|
|
02-11-2002, 05:35 PM
|
#3
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Original Poster
Rep:
|
trying to do binutils i kinda get similar results:
/tmp/ccQz4MVY.s: Assembler messages:
/tmp/ccQz4MVY.s:424: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccQz4MVY.s:424: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccQz4MVY.s:424: Error: Rest of line ignored. First ignored character is `,'.
make[1]: *** [choose-temp.o] Error 1
make[1]: Leaving directory `/usr/src/sources/lfs-packages-3.2-rc1/binutils-2.11.2/libiberty'
make: *** [all-libiberty] Error 2
maybe a pattern...
|
|
|
02-11-2002, 06:05 PM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,417
|
the version of your binutils package doesnt match up with your compiler version. did you upgrade either one of the packages and forgot to u/g the other?
|
|
|
02-11-2002, 08:02 PM
|
#5
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Original Poster
Rep:
|
no actually... had no idea i was supposed to do either... so which version of each do i need?
|
|
|
02-14-2002, 10:03 AM
|
#6
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Original Poster
Rep:
|
now bzip2 wont work...
/tmp/ccmSD5af.s:2636: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmSD5af.s:2636: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmSD5af.s:2636: Error: Rest of line ignored. First ignored character is `,'.
make: *** [blocksort.o] Error 1
man i just dont get it... 
|
|
|
02-14-2002, 10:05 AM
|
#7
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Original Poster
Rep:
|
why is it that the same version of bzip2 and gcc are running on my host mandrake machine yet it wont do this on $LFS?
they are the same exact version numbers... why will it compile one day and the other it wont?
|
|
|
02-14-2002, 10:21 AM
|
#8
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by Chijtska
why is it that the same version of bzip2 and gcc are running on my host mandrake machine yet it wont do this on $LFS?
they are the same exact version numbers... why will it compile one day and the other it wont?
|
I don't have much time right now to write long postings here. I have never seen your errors before, so I'm doubting it's a problem with the packages, but rather something is really wrong with your distribution.
Perhaps at one point you installed something in chapter 5 and perhaps $LFS wasn't set but you did type it like that (instead of replacing $LFS iwth the /mnt/lfs string it's supposed to be). This could have overwritten files on your Mandrake distribution which now causes your problems.
That's just one of many, many possibilities.
All I can is that there are a lot of seasoned LFS'
ers onthe lfs-support mailinglist. Why don't you subscribe to it so we can help you there with much greater efficiency.
If you don't want to, you may want to look into reinstalling your distribution.
|
|
|
All times are GMT -5. The time now is 04:12 PM.
|
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
|
|