From: | Pavel Golub <pavel(at)microolap(dot)com> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Cannot compile Pg 9.0.2 with MinGW under Windows |
Date: | 2010-12-24 09:52:53 |
Message-ID: | 521345265.20101224115253@gf.microolap.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gf(dot)microolap(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Nicolas Barbier | 2010-12-24 10:23:50 | Re: proposal : cross-column stats |
Previous Message | J. Roeleveld | 2010-12-24 07:32:44 | Re: pg_dump -X |