mipsel gcc-2.95.3-glibc-2.2.5 error: Configure requires bash
John L.Utz III
john@utzweb.net
Sun Dec 21 02:04:00 GMT 2003
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
More information about the crossgcc
mailing list