[Angstrom-devel] GCC/Make issue

Stanislav Brabec utx at penguin.cz
Wed Jan 23 14:19:30 CET 2008


Capn_Fish Zaurus wrote:
> I'm not sure if I made this clear earlier, so I'm going to ask again. It
> says "scripts/install-sh: permission denied" I have chmodded it to
> executable. Does this change anything?

Yes, it does. But if you are still compiling libosip2-3.0.3, then you
should never need to chmod scripts/install-sh manually. In the upstream
tarball, the script is correctly marked as executable.

Either your file system still does not support executable files or you
have a corrupted copy of libosip2-3.0.3 sources.

I am curious how you was even able to run configure. You write in your
previous mail, that you used:

configure --prefix=/usr

But it is not intended to work and should fail with:
sh: configure: command not found

> Also, I'm thinking that the compiling
> issue may be related to how the architecture is reported "build" is reported
> as "armv5tel-unknown-linux-gnu" while "host" (which I set with the --host
> flag) is "arm-angstrom-linux-gnueabi."

No. scripts/install-sh is a script and you should get it in the
libosip2-3.0.3 source tarball. It should be executable even if you have
no or totally broken compiler.

> Perhaps that has to do with the issue
> of "cannot execute C compiled programs" I get without the --host flag.
> 
> I also reformatted my  partition  to ext3, so that is not the issue.

It is very probably still the same issue - problems with file
permissions. There may be more sources causing it:
- noexec mount of the file system
- bad suid bit on the directory you unpack to
- bad ulimit
- unpacking on platform/filesystem, which does not support permissions.
- ...

-- 
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus




More information about the Angstrom-distro-devel mailing list