Re: cannot run /bin/sh ./config.sub?
On Tuesday 08 November 2005 17:00, Tom wrote:
> Hey all,
>
> Lately I've been getting the error mentioned in the subject when I try
> to compile stuff. I've never had something similar before. Googling it
> suggests silly stuff such as /bin/sh not being there; a search on this
> list doesn't bring up anything, either.
>
You don't really state if /bin/sh is actually present. What's the output of
"ls -l /bin/sh"? If it's a symbolic link, what's the output of an "ls -l"
on its target? I.e.:
jguerin@jguerin:~$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Jul 7 09:20 /bin/sh -> bash
jguerin@jguerin:~$ ls -l /bin/bash
-rwxr-xr-x 1 root root 667340 May 25 06:59 /bin/bash
> There's nothing modified from defaults, as far as the auto-stuff is
> concerned.
>
> /etc/alternatives/automake: symbolic link to `/usr/bin/automake-1.4'
> /etc/alternatives/aclocal: symbolic link to `/usr/bin/aclocal-1.4'
>
> Just as an example, I tried to rebuild E17 a couple of minutes ago; it
> ended like:
>
> [00:53 tom ~/Bin/src/e17/libs/eet] ./autogen.sh --prefix=/home/tom/Bin
> Running aclocal...
> Running autoheader...
> Running autoconf...
> Running libtoolize...
> Running automake...
> configure: error: cannot run /bin/sh ./config.sub
>
> Sorry if I provide way too little information. I wouldn't know what else
> to mention...
>
> Cheers, and thanks for any help,
> Tom
>
It seems to me that part of the autotools is trying to run the /bin/sh
program, and it's not present. If that's not the case, then
does ./config.sub exist, and is it properly she-bang'ed?
Justin Guerin
Reply to: