Re: Cannot compile Pg 9.0.2 with MinGW under Windows - Mailing list pgsql-hackers

From Pavel Golub
Subject Re: Cannot compile Pg 9.0.2 with MinGW under Windows
Date
Msg-id 521345265.20101224115253@gf.microolap.com
Whole thread Raw
In response to Re: Cannot compile Pg 9.0.2 with MinGW under Windows  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Thanks, Andrew. I'll check my environment one more time.


You wrote:



AD> On 12/23/2010 07:11 AM, Pavel Golub wrote:
>> Hello, Pgsql-bugs.
>>
>> Tried to use MinGw under windows to build client libraries at least.
>> However failed on "./configure --withou-zlib" stage.
>>
>> Please find attached log file, stdout and stderr outputs.
>>
>> The main problem here I suppose is
>> "configure: WARNING:<someheader>.h: present but cannot be compiled"
>>
>> Please five me advice on this.
>> Thanks in advance


AD> Your gcc doesn't look like others we have:

AD> You have:

AD>     gcc (GCC) 3.4.4 (msys special)
AD>     Copyright (C) 2004 Free Software Foundation, Inc.
AD>     This is free software; see the source for copying conditions. There
AD>     is NO
AD>     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
AD>     PURPOSE.

AD>     configure:3252: $? = 0
AD>     configure:3259: gcc -v >&5
AD>     Reading specs from /usr/lib/gcc/i686-pc-msys/3.4.4/specs
AD>     Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure
AD>     --prefix=/usr --sysconfdir=/etc --localstatedir=/var
AD>     --infodir=/share/info --mandir=/share/man --libexecdir=/lib
AD>     --enable-languages=c,c++ --disable-nls --enable-threads=posix
AD>     --enable-sjlj-exceptions --enable-hash-synchronization
AD>     --enable-libstdcxx-debug --with-newlib
AD>     Thread model: posix



AD> Buildfarm narwhal has:

AD>     gcc.exe (GCC) 3.4.2 (mingw-special)
AD>     Copyright (C) 2004 Free Software Foundation, Inc.
AD>     This is free software; see the source for copying conditions. There is NO
AD>     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AD>     configure:3252: $? = 0
AD>     configure:3259: gcc -v>&5
AD>     Reading specs from c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/specs
AD>     Configured with: ../gcc/configure --with-gcc --with-gnu-ld
AD> --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw
AD> --enable-threads --disable-nls
AD> --enable-languages=c,c++,f77,ada,objc,java
AD> --disable-win32-registry --disable-shared --enable-sjlj-exceptions
AD> --enable-libgcj --disable-java-awt --without-x
AD> --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter
AD> --enable-hash-synchronization --enable-libstdcxx-debug
AD>     Thread model: win32
AD>     gcc version 3.4.2 (mingw-special)





AD> Buildfarm frogmouth has:

AD>     gcc.exe (GCC) 4.5.0
AD>     Copyright (C) 2010 Free Software Foundation, Inc.
AD>     This is free software; see the source for copying conditions. There is NO
AD>     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AD>     configure:3252: $? = 0
AD>     configure:3259: gcc -v>&5
AD>     Using built-in specs.
AD>     COLLECT_GCC=c:\mingw\bin\gcc.exe
AD>    
AD> COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe
AD>     Target: mingw32
AD>     Configured with: ../gcc-4.5.0/configure
AD> --enable-languages=c,c++,ada,fortran,objc,obj-c++
AD> --disable-sjlj-exceptions --with-dwarf2 --enable-shared
AD> --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug
AD> --enable-version-specific-runtime-libs --disable-werror --build=mingw32 --prefix=/mingw
AD>     Thread model: win32


AD>     gcc version 4.5.0 (GCC)




AD> cheers

AD> andrew



-- 
With best wishes,Pavel                          mailto:pavel@gf.microolap.com



pgsql-hackers by date:

Previous
From: "J. Roeleveld"
Date:
Subject: Re: pg_dump -X
Next
From: Nicolas Barbier
Date:
Subject: Re: proposal : cross-column stats