Permission denied on a.out in ./configure
Clayton Daley
clayton.daley at gmail.com
Thu Sep 18 19:22:18 UTC 2014
FYI... I checked umask and that did't fix it.
I would also argue that gmp is responsible (at least partly) since
configure *does* actually find a working compiler, but believes otherwise
(because it doesn't have execute permissions). It still may be right to
raise an error instead of continuing the install (e.g. if configure or make
actually needs execute privileges to files), but that's something I had to
ask here to confirm.
Clayton Daley
clayton.daley at gmail.com
513.505.1236
On Thu, Sep 18, 2014 at 2:41 PM, Marc Glisse <marc.glisse at inria.fr> wrote:
> 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