LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-11-2002, 04:38 PM   #1
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Rep: Reputation: 30
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?
 
Old 02-11-2002, 05:30 PM   #2
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
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...
 
Old 02-11-2002, 05:35 PM   #3
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
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...
 
Old 02-11-2002, 06:05 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
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?
 
Old 02-11-2002, 08:02 PM   #5
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
no actually... had no idea i was supposed to do either... so which version of each do i need?
 
Old 02-14-2002, 10:03 AM   #6
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
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...
 
Old 02-14-2002, 10:05 AM   #7
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
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?
 
Old 02-14-2002, 10:21 AM   #8
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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.
 
  


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
Bloddy Newbie Question: How to install Bash + top ? fluppi AIX 3 12-16-2005 10:00 AM
suse 9.2 install broken, involves bash dpeirce SUSE / openSUSE 1 04-10-2005 04:32 AM
Cannot run install sh scripts, and bash is FUBAR...what to do? asdfjkl Linux - Software 5 11-20-2004 09:09 PM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 06:42 PM
Install scripts do not run...BASH# no such command tmera Linux - General 1 12-17-2000 02:33 PM

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

All times are GMT -5. The time now is 04:12 PM.

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