LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Cant get BASH to install... (https://www.linuxquestions.org/questions/linux-from-scratch-13/cant-get-bash-to-install-14051/)

Chijtska 02-11-2002 04:38 PM

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?

Chijtska 02-11-2002 05:30 PM

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...

Chijtska 02-11-2002 05:35 PM

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...

unSpawn 02-11-2002 06:05 PM

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?

Chijtska 02-11-2002 08:02 PM

no actually... had no idea i was supposed to do either... so which version of each do i need?

Chijtska 02-14-2002 10:03 AM

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...:(

Chijtska 02-14-2002 10:05 AM

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?

lfslinux 02-14-2002 10:21 AM

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 11:48 PM.