Fw: [Mingw-msys] conftest.c: Permission deneid

Stephen Grant Brown sg_brown at mcmedia.com.au
Thu Jan 8 14:42:51 EST 2009


Hi All

I am using Windows XP

Here is part of a conversion I have been having on the mingw-msys list.

I am having the same conftest.c file permission denied while building 
gnucash.

Is it worth while upgrading to gcc to 3.4.5?

Yours Sincerely Stephen Grant Brown

----- Original Message ----- 
From: "Cesar Strauss" <cestrauss at gmail.com>
To: <mingw-msys at lists.sourceforge.net>
Sent: Saturday, December 27, 2008 5:36 AM
Subject: Re: [Mingw-msys] conftest.c: Permission deneid


> 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 at ELSHADAI <mailto:GNUCash at 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
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Mingw-msys mailing list
> Mingw-msys at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-msys
>
> 




More information about the gnucash-devel mailing list