Hi there! | > [...] According to Mike Thomas' and Derek Elkins' posts, I also | > enabled HAVE_O_BINARY in config.h. | | Huh? I didn't follow this thread very closely, but this sounds like a | bug in GHC's aclocal.m4 (macro FPTOOLS_O_BINARY) which should be | fixed. What does configure say in the line starting with: | | checking whether we can open files in binary mode... [...] > As Sven says, please let us know what configure says.
Here it is: loading cache ./config.cache *** The top of your build tree is: /cygdrive/c/tryx/ghc-5.04.3 checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking build system type... i386-unknown-mingw32 Canonicalised to: i386-unknown-cygwin32 checking for ghc... /cygdrive/c/ghc/ghc-5.04.3/bin/ghc checking version of ghc... 5.04.3 checking for nhc... no checking for nhc98... no checking for hbc... no checking whether #! works in shell scripts... yes checking for perl... /bin/perl checking if your perl works in shell scripts... yes checking for gcc... c:/mingw/bin/gcc checking whether the C compiler (c:/mingw/bin/gcc ) works... yes checking whether the C compiler (c:/mingw/bin/gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether c:/mingw/bin/gcc accepts -g... yes checking whether you have an ok gcc... yes checking how to run the C preprocessor... c:/mingw/bin/gcc -E checking for ok way to do context diffs... diff -C 1 checking for find... /usr/bin/find checking for bison... no checking for byacc... no checking if it is an OK yacc... checking for what... : yacc checking for flex... flex checking for a BSD compatible install... /usr/bin/install -c checking for ar... /usr/bin/ar checking whether ln -s works... yes checking for sed... /usr/bin/sed checking for time... /usr/bin/time checking for gtar... no checking for tar... /usr/bin/tar checking for gzip... /usr/bin/gzip checking for openjade... no checking for jade... no checking for DocBook CATALOG... no Warning: You will not be able to build the documentation. checking for happy... /cygdrive/c/happy/happy-1.13/bin/happy checking for version of happy... 1.13 checking for haddock... no checking for ANSI C header files... yes checking for Files.h... no checking for arpa/inet.h... no checking for assert.h... yes checking for console.h... no checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for float.h... yes checking for ftw.h... no checking for grp.h... no checking for ieee754.h... no checking for inttypes.h... yes checking for limits.h... yes checking for malloc.h... yes checking for memory.h... yes checking for nlist.h... no checking for pascal.h... no checking for pwd.h... no checking for sgtty.h... no checking for siginfo.h... no checking for signal.h... yes checking for stat.h... no checking for stdint.h... yes checking for stdlib.h... yes checking for stddef.h... yes checking for stdarg.h... yes checking for string.h... yes checking for sys/fault.h... no checking for sys/file.h... yes checking for sys/ioctl.h... no checking for sys/limits.h... no checking for sys/mman.h... no checking for sys/param.h... yes checking for sys/procfs.h... no checking for sys/resource.h... no checking for sys/signal.h... no checking for sys/socket.h... no checking for netdb.h... no checking for netinet/in.h... no checking for netinet/tcp.h... no checking for sys/stat.h... yes checking for sys/syscall.h... no checking for sys/time.h... yes checking for sys/timeb.h... yes checking for sys/timers.h... no checking for sys/times.h... no checking for sys/types.h... yes checking for sys/un.h... no checking for sys/utsname.h... no checking for sys/vadvise.h... no checking for sys/wait.h... no checking for termio.h... no checking for termios.h... no checking for time.h... yes checking for types.h... no checking for unistd.h... yes checking for utime.h... no checking for values.h... yes checking for vfork.h... no checking for bfd.h... yes checking for winsock.h... yes checking for pthread.h... no checking for sys/uio.h... no checking for readline/readline.h... no checking for readline/history.h... no checking for dos.h... yes checking for conio.h... yes checking for io.h... yes checking for std.h... no checking for windows.h... yes checking for GL/gl.h... yes checking whether time.h and sys/time.h may both be included... yes checking for dlfcn.h... no checking for dl.h... no checking for alloc.h... no checking for malloc.h... (cached) yes checking for valloc... no checking for regex.h... no checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... no checking for tzname... no checking timezone... yes checking type of timezone... time_t checking altzone... no checking for st_blksize in struct stat... no checking whether c:/mingw/bin/gcc supports long long types... yes checking for msg_accrights in struct msghdr... no checking for msg_control in struct msghdr... no checking size of char... 1 checking size of double... 8 checking size of float... 4 checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of short... 2 checking size of unsigned char... 1 checking size of unsigned int... 4 checking size of unsigned long... 4 checking size of unsigned long long... 8 checking size of unsigned short... 2 checking size of void *... 4 checking alignment of char... 1 checking alignment of double... 8 checking alignment of float... 4 checking alignment of int... 4 checking alignment of long... 4 checking alignment of long long... 8 checking alignment of short... 2 checking alignment of unsigned char... 1 checking alignment of unsigned int... 4 checking alignment of unsigned long... 4 checking alignment of unsigned long long... 8 checking alignment of unsigned short... 2 checking alignment of void *... 4 checking Haskell type for char... Int8 checking Haskell type for signed char... Int8 checking Haskell type for unsigned char... Word8 checking Haskell type for short... Int16 checking Haskell type for unsigned short... Word16 checking Haskell type for int... Int32 checking Haskell type for unsigned int... Word32 checking Haskell type for long... Int32 checking Haskell type for unsigned long... Word32 checking Haskell type for long long... Int64 checking Haskell type for unsigned long long... Word64 checking Haskell type for float... Float checking Haskell type for double... Double checking Haskell type for ptrdiff_t... Int32 checking Haskell type for size_t... Word32 checking Haskell type for wchar_t... Word16 checking Haskell type for sig_atomic_t... Int32 checking Haskell type for clock_t... Int32 checking Haskell type for time_t... Int32 checking Haskell type for dev_t... Word32 checking Haskell type for ino_t... Int16 checking Haskell type for mode_t... Word16 checking Haskell type for off_t... Int32 checking Haskell type for pid_t... Int32 checking Haskell type for gid_t... NotReallyAType checking Haskell type for uid_t... NotReallyAType checking Haskell type for cc_t... NotReallyAType checking Haskell type for speed_t... NotReallyAType checking Haskell type for tcflag_t... NotReallyAType checking Haskell type for nlink_t... NotReallyAType checking Haskell type for ssize_t... NotReallyAType checking whether we can open files in binary mode... no checking return type of signal handlers... void checking for strcasecmp... yes checking for _stricmp... yes checking for stricmp... yes checking for strcmpi... yes checking for strcmp... yes checking for realpath... no checking for _fullpath... yes checking for PBHSetVolSync... no checking for macsystem... no checking for fgetpos... yes checking for fsetpos... yes checking for fseek... yes checking for ftell... yes checking for vsnprintf... yes checking for _vsnprintf... yes checking for snprintf... yes checking for _snprintf... yes checking for popen... yes checking for _popen... yes checking for pclose... yes checking for _pclose... yes checking for access... yes checking for ftime... yes checking for getclock... no checking for getpagesize... yes checking for getrusage... no checking for gettimeofday... no checking for mktime... yes checking for mprotect... yes checking for readlink... no checking for setitimer... no checking for stat... yes checking for lstat... no checking for symlink... no checking for sysconf... no checking for timelocal... no checking for times... no checking for vadvise... no checking for vfork... no checking for localtime_r... no checking for gmtime_r... no checking for readdir_r... no checking for __gmpz_fdiv_qr in -lgmp... yes checking for closedir in -lmingwex... yes checking for GNU regex in libc... no checking for xmalloc in -liberty... yes checking for bfd_init in -lbfd... yes checking for tputs in -lncurses... no checking for tputs in -ltermcap... no checking for tputs in -lcurses... no checking for main in -lm... yes checking for library containing glEnd... no checking for library containing gluNewQuadric... no checking for library containing glXWaitX... no checking for library containing glutMainLoop... no checking OpenGL flags... checking OpenGL libs... -lX11 -lXext -lXmu -lXt -lXi -lm checking for dlopen in -ldl... no checking for dlopen... no checking for RTLD_NEXT from dlfcn.h... no checking for RTLD_LOCAL from dlfcn.h... no checking for function_atan... yes checking for in_addr_t in netinet/in.h... no checking for gtk-config... no checking for gtk12-config... no checking for working alloca.h... no checking for alloca... yes checking for working const... yes checking prototypes... yes checking whether byte ordering is bigendian... no checking for nlist in -lelf... no checking leading underscore in symbol names... yes checking for end of text section marker... etext checking for end of text section marker declaration... etext asm("etext") checking for end of data section marker... end checking for end of data section marker declaration... end checking if code section appears before data... yes checking for ld... /usr/bin/ld checking whether ld understands -x... yes updating cache ./config.cache creating ./config.status creating mk/config.mk creating mk/config.h configuring in ghc running /bin/sh ./configure --build=i386-unknown-mingw32 --with-gcc=c:/mingw/bin/gcc --cach e-file=.././config.cache --srcdir=. loading cache .././config.cache updating cache .././config.cache creating ./config.status creating ghc.spec creating docs/index.html Johannes [EMAIL PROTECTED] _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs