This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mipsel gcc-2.95.3-glibc-2.2.5 error: Configure requires bash


Nice work Roman!

At Sat, 20 Dec 2003 23:36:01 +0000,
Roman Duka <rduka@mail.ru> wrote:
> 
> i know what the problem is, look at your error message:
> 
> sh scripts/Configure -d arch/mips/config.in
>  >>>Configure requires bash
>  >>>gmake: *** [oldconfig] Error 1
> 
> it uses command "sh" to execute script called "Configure" which is 
> located under directory "scripts"
> so what we need to do is check out that script and see what it does:
> 
> athlon1000:~/boot/linux-2.4.20 # cat scripts/Configure | grep "requires 
> bash"
> [ -z "$BASH" ] && { echo "Configure requires bash" 1>&2; exit 1; }
> athlon1000:~/boot/linux-2.4.20 #
> 
> so as you can see grep found a line in that script which tests for BASH 
> environment variable, and if it's set to zero, it outputs and error 
> mesage, saying "Configure requires bash"
> so my guess is running "export BASH=/usr/local/bin/bash" just before you 
> run your crosstool scripts, should fix the problem, give it a try :-)

that fixed it! tnx!

can anyone offer any guesses about why i was able to build x86 but not mipsel?
same tool chain, same src..... weird...

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]