Re: conftest.c: Permission deneid

Cesar Strauss <[email protected]>
Newsgroups gmane.comp.gnu.mingw.msys
Message-ID <[email protected]>
Cesar Strauss wrote:
> Stephen Grant Brown wrote:
>> Here are the last few lines of a configure command
>>  
>> checking for build system executable suffix... ../gmp-4.2.2/configure: 
>> conftest.c: Permission denied
>> configure: error: Cannot determine executable suffix
>>  
>> GNUCash@ELSHADAI <mailto:GNUCash@ELSHADAI> 
>> ~/src/MSYS_Supp_Tools/gmp-4.2.2-MSYS/make
>> Here are the last few lines of  config.log
>>  
> 
> These last few lines of config.log were not sufficient. Please compress 
> the whole file and send it to me.
> 

Thanks for sending me the config.log file.

The log starts well:

[...]

configure:6824: checking for C compiler default output file name
configure:6827: gcc -m32 -O2 -fomit-frame-pointer -mtune=k6 -march=k6
-mno-cygwin   conftest.c  >&5
configure:6830: $? = 0
configure:6876: result: a.exe
configure:6881: checking whether the C compiler works
configure:6887: ./a.exe
configure:6890: $? = 0
configure:6907: result: yes

[...]

Then, something strange happens:

configure:7666: gcc -c -m32 -O2 -fomit-frame-pointer -mtune=k6 -march=k6
-mno-cygwin  conftest.c >&5
gcc.exe: conftest.c: No such file or directory
gcc.exe: no input files
configure:7672: $? = 1
configure: failed program was:
[no output]

[...]

More strangeness follows later:

configure:7855: checking for build system executable suffix
configure:7869: gcc conftest.c -o conftest.exe
gcc.exe: conftest.c: Permission denied
gcc.exe: no input files
configure:7872: $? = 1
configure:7869: gcc conftest.c -o conftest,ff8
gcc.exe: conftest.c: Permission denied
gcc.exe: no input files
configure:7872: $? = 1
configure:7869: gcc conftest.c -o conftest
gcc.exe: conftest.c: Permission denied
gcc.exe: no input files
configure:7872: $? = 1
configure:7882: error: Cannot determine executable suffix

 From the top of the log, I see:
uname -m = i686
uname -r = 1.0.10(0.46/3/2)
uname -s = MINGW32_NT-5.1
uname -v = 2004-03-15 07:17

Could you try it with MSYS 1.0.11? Perhaps there is a race condition
that was solved between 1.0.10 and 1.0.11.

To install it, download the file

File Name:
msysCORE-1.0.11-20080826.tar.gz
Download Page:
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24963

Also, I see:
configure:6785: checking for C compiler version
configure:6788: gcc --version </dev/null >&5
gcc.exe (GCC) 3.4.2 (mingw-special)

Could you try upgrading to the latest gcc (3.4.5)?

Finally, from the very beginning:

It was created by GNU MP configure 4.2.2, which was
generated by GNU Autoconf 2.59.  Invocation command line was

   $ ../gmp-4.2.2/configure

Could you try the latest gmp (4.2.4)?
Also, I recommend adding "--enable-shared --disable-static" to the 
configure call.

Regards,
Cesar


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.