I also tried 64bit 4.5.2 GCC shipped with Rtools, the same error > checking types of arguments for accept()... configure: error: could not > determin > e argument types
On Tue, Jan 25, 2011 at 7:03 PM, Xiaobo Gu <guxiaobo1...@gmail.com> wrote: > Hi, > I have successfully built 32bit PostgreSQL 9.0.2 using 32bit GCC 4.5.0 > and MinGW packaged by tdm64-gcc-4.5.1 from > http://tdm-gcc.tdragon.net/download. > > But for 64bit there is only 4.5.1 GCC, which is not stable now, and > the configure script does not pass. > > $ configure --without-zlib > checking build system type... i686-pc-mingw32 > checking host system type... i686-pc-mingw32 > checking which template to use... win32 > checking whether to build with 64-bit integer date/time support... yes > checking whether NLS is wanted... no > checking for default port number... 5432 > checking for block size... 8kB > checking for segment size... 1GB > checking for WAL block size... 8kB > checking for WAL segment size... 16MB > checking for gcc... gcc > checking for C compiler default output file name... a.exe > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... .exe > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking if gcc supports -Wdeclaration-after-statement... yes > checking if gcc supports -Wendif-labels... yes > checking if gcc supports -fno-strict-aliasing... yes > checking if gcc supports -fwrapv... yes > checking whether the C compiler still works... yes > checking how to run the C preprocessor... gcc -E > checking allow thread-safe client libraries... yes > checking whether to build with Tcl... no > checking whether to build Perl modules... no > checking whether to build Python modules... no > checking whether to build with GSSAPI support... no > checking whether to build with Kerberos 5 support... no > checking whether to build with PAM support... no > checking whether to build with LDAP support... no > checking whether to build with Bonjour support... no > checking whether to build with OpenSSL support... no > configure: WARNING: *** Readline does not work on MinGW --- disabling > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ld used by GCC... > d:/amber/devtool/mingw64/x86_64-w64-mingw32/bin/l > d.exe > checking if the linker > (d:/amber/devtool/mingw64/x86_64-w64-mingw32/bin/ld.exe) > is GNU ld... yes > checking for ranlib... ranlib > checking for strip... strip > checking whether it is possible to strip libraries... yes > checking for ar... ar > checking for dlltool... dlltool > checking for dllwrap... dllwrap > checking for windres... windres > checking for tar... /bin/tar > checking whether ln -s works... no, using cp -p > checking for gawk... gawk > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for bison... /bin/bison > configure: using bison (GNU Bison) 2.4.2 > checking for flex... /bin/flex > configure: using flex 2.5.35 > checking for perl... /bin/perl > configure: using perl 5.6.1 > configure: WARNING: > *** The installed version of Perl, /bin/perl, is too old to use with > PostgreSQL. > > *** Perl version 5.8 or later is required, but this is 5.6.1. > configure: WARNING: > *** Without Perl you will not be able to build PostgreSQL from Git. > *** You can obtain Perl from any CPAN mirror site. > *** (If you are using the official distribution of PostgreSQL then you do not > *** need to worry about this, because the Perl output is pre-generated.) > checking for main in -lm... yes > checking for library containing setproctitle... no > checking for library containing dlopen... no > checking for library containing socket... -lwsock32 > checking for library containing shl_load... no > checking for library containing getopt_long... none required > checking for library containing crypt... no > checking for library containing fdatasync... no > checking for library containing gethostbyname_r... no > checking for library containing shmget... no > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking crypt.h usability... no > checking crypt.h presence... no > checking for crypt.h... no > checking dld.h usability... no > checking dld.h presence... no > checking for dld.h... no > checking fp_class.h usability... no > checking fp_class.h presence... no > checking for fp_class.h... no > checking getopt.h usability... yes > checking getopt.h presence... yes > checking for getopt.h... yes > checking ieeefp.h usability... yes > checking ieeefp.h presence... yes > checking for ieeefp.h... yes > checking ifaddrs.h usability... no > checking ifaddrs.h presence... no > checking for ifaddrs.h... no > checking langinfo.h usability... no > checking langinfo.h presence... no > checking for langinfo.h... no > checking poll.h usability... no > checking poll.h presence... no > checking for poll.h... no > checking pwd.h usability... yes > checking pwd.h presence... yes > checking for pwd.h... yes > checking sys/ioctl.h usability... no > checking sys/ioctl.h presence... no > checking for sys/ioctl.h... no > checking sys/ipc.h usability... no > checking sys/ipc.h presence... no > checking for sys/ipc.h... no > checking sys/poll.h usability... no > checking sys/poll.h presence... no > checking for sys/poll.h... no > checking sys/pstat.h usability... no > checking sys/pstat.h presence... no > checking for sys/pstat.h... no > checking sys/resource.h usability... no > checking sys/resource.h presence... no > checking for sys/resource.h... no > checking sys/select.h usability... no > checking sys/select.h presence... no > checking for sys/select.h... no > checking sys/sem.h usability... no > checking sys/sem.h presence... no > checking for sys/sem.h... no > checking sys/shm.h usability... no > checking sys/shm.h presence... no > checking for sys/shm.h... no > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/sockio.h usability... no > checking sys/sockio.h presence... no > checking for sys/sockio.h... no > checking sys/tas.h usability... no > checking sys/tas.h presence... no > checking for sys/tas.h... no > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/un.h usability... no > checking sys/un.h presence... no > checking for sys/un.h... no > checking termios.h usability... no > checking termios.h presence... no > checking for termios.h... no > checking ucred.h usability... no > checking ucred.h presence... no > checking for ucred.h... no > checking utime.h usability... yes > checking utime.h presence... yes > checking for utime.h... yes > checking wchar.h usability... yes > checking wchar.h presence... yes > checking for wchar.h... yes > checking wctype.h usability... yes > checking wctype.h presence... yes > checking for wctype.h... yes > checking kernel/OS.h usability... no > checking kernel/OS.h presence... no > checking for kernel/OS.h... no > checking kernel/image.h usability... no > checking kernel/image.h presence... no > checking for kernel/image.h... no > checking SupportDefs.h usability... no > checking SupportDefs.h presence... no > checking for SupportDefs.h... no > checking for net/if.h... no > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking for netinet/tcp.h... no > checking whether byte ordering is bigendian... no > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking for quiet inline (no complaint if unreferenced)... yes > checking for preprocessor stringizing operator... yes > checking for signed types... yes > checking for working volatile... yes > checking for __func__... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for struct tm.tm_zone... no > checking for tzname... yes > checking for union semun... no > checking for struct sockaddr_un... no > checking for struct sockaddr_storage... yes > checking for struct sockaddr_storage.ss_family... yes > checking for struct sockaddr_storage.__ss_family... no > checking for struct sockaddr_storage.ss_len... no > checking for struct sockaddr_storage.__ss_len... no > checking for struct sockaddr.sa_len... no > checking for struct addrinfo... yes > checking for intptr_t... yes > checking for uintptr_t... yes > checking for long long int... yes > checking for struct cmsgcred... no > checking for struct fcred... no > checking for struct sockcred... no > checking for struct option... yes > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... unknown > checking for _LARGE_FILES value needed for large files... unknown > checking size of off_t... 4 > checking for int timezone... yes > checking types of arguments for accept()... configure: error: could not > determin > e argument types > > dell@dell-PC /d/amber/DevProjects/postgresql-9.0.2 > $ make > You need to run the 'configure' program first. See the file > 'INSTALL' for installation instructions. > make: *** [all] Error 1 > > dell@dell-PC /d/amber/DevProjects/postgresql-9.0.2 > $ > > On Mon, Jan 24, 2011 at 10:17 PM, Andrew Dunstan <and...@dunslane.net> wrote: >> >> Please see this URL, item 6. <http://www.infradead.org/~dwmw2/email.html> >> >> cheers >> >> andrew >> >> > -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers