1 |
Bo Ørsted Andresen wrote: |
2 |
> If you look at the configure script you will see that it's is testing if you |
3 |
> are on a sparc64. The test shows you aren't which appears to be unrelated to |
4 |
> your problem. Line 153 which appears to be failing is this: |
5 |
> |
6 |
> echo "ARCH=${TARGET_ARCH/i?86/i386}" >> make_include |
7 |
> |
8 |
> which is supposed to substitute i686 with i386 in your case and store it in |
9 |
> make_include as "ARCH=i386". I have no clue why that would fail. The only |
10 |
> thing that I can think of is to remerge your shell (probably |
11 |
> app-shells/bash). If noone else has a clue and that doesn't help I guess your |
12 |
> best option is to file a bug with the info you've posted now... |
13 |
Thanks for your help, and while it might not have been obvious to you |
14 |
(or anyone else reading along)... everything that was confusing before |
15 |
is clear now... to me at least. While I can see what is wrong, it isn't |
16 |
100% clear if it constitutes a bug or not. |
17 |
|
18 |
The problem is that the configure script starts '#!/bin/sh' - but goes |
19 |
on to depend upon Bash specific features... specifically substitution. |
20 |
I expect this would not be a problem for most users where /bin/sh is a |
21 |
sym-link to /bin/bash.... but, for me, /bin/sh was a sym-link to |
22 |
/bin/ash... and, for that shell, line 151 is invalid. What is less |
23 |
clear is whether or not, in a Gentoo context, it is 'correct' to have |
24 |
/bin/sh being Borne-like but not Bash-like. By preference I'd prefer |
25 |
/bin/sh to be the minimal shell that will execute Borne-shell scripts... |
26 |
but I recognise the Linux-world normality of /bin/sh actually being bash. |
27 |
|
28 |
As at-least a temporary fix I replaced my /bin/sh->/bin/ash with a |
29 |
/bin/sh->/bin/bash... and everything now emerges smoothly... From a |
30 |
prissy perspective I'd have hoped that the configure script would |
31 |
specify that it needed bash functionality by demanding evaluation by |
32 |
bash instead of whatever /bin/sh happens to be... |
33 |
|
34 |
Thanks again, |
35 |
|
36 |
Steve |
37 |
|
38 |
|
39 |
|
40 |
-- |
41 |
gentoo-user@g.o mailing list |