Permission denied on a.out in ./configure

Marc Glisse marc.glisse at inria.fr
Thu Sep 18 18:41:02 UTC 2014


On Thu, 18 Sep 2014, Clayton Daley wrote:

> Good morning,
>
> I'm trying to install gmp on a DreamHost shared server. Various posts on
> the internet suggest this should be possible. When I run "sh ./configure"
> or "sh ./configure --prefix=/come/******/php5" (where *s are my username),
> I get:
>
> configure: error: could not find a working compiler
>
>
> The issue doesn't seem to be the compiler itself as "a.out" appears to be
> created, but has a permissions issue (from config.log):
>
> configure:5625: checking compiler gcc -O2 -pedantic -fomit-frame-pointer
> -m64
> Test compile:
> configure:5639: gcc -O2 -pedantic -fomit-frame-pointer -m64  conftest.c >&5
> configure:5642: $? = 0
> configure:5647: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
> ./configure: line 5648: ./a.out: Permission denied
> ./configure: line 5648: ./b.out: No such file or directory
> ./configure: line 5648: ./a.exe: No such file or directory
> ./configure: line 5648: ./a_out.exe: No such file or directory
> ./configure: line 5648: ./conftest: No such file or directory
> configure:5650: $? = 127
> failed program was:
>
> int main () { return 0; }

Restrictive umask maybe? In any case this has nothing to do with gmp, so 
you would need to ask elsewhere.

-- 
Marc Glisse


More information about the gmp-discuss mailing list