Russel

| Hopefully soon I will stop making a nuisance of myself :-)

Constructive, and well-characterised bug reports aren't a nuisance, they are a 
help!  Like any open-source project, we're heavily limited on human effort, so 
you may not get responses as quickly as we'd like, but knowing the problems is 
always useful.

I'm ccing cvs-ghc, and Ian in particular.

Simon

| -----Original Message-----
| From: Russel Winder [mailto:[email protected]]
| Sent: 11 May 2009 10:43
| To: Simon Marlow; Simon Peyton-Jones
| Subject: configure issue
|
| Simon, Simon,
|
| Hopefully soon I will stop making a nuisance of myself :-)
|
| I tried reconfiguring and it told me that the development version of GHC
| is an inappropriate bootstrap.  This seems fine so I pointed it at a
| 6.10.1 installation I have but:
|
|         |> ./configure --prefix=/opt/GHC-HEAD --with-ghc=/opt/ghc-6.10.1
|         checking for GHC version date... inferred 6.11.20090509
|         checking build system type... i686-pc-linux-gnu
|         checking host system type... i686-pc-linux-gnu
|         checking target system type... i686-pc-linux-gnu
|         Canonicalised to: i386-unknown-linux
|         checking version of ghc... unknown
|         expr: non-numeric argument
|         ./configure: line 2922: test: =: unary operator expected
|         ./configure: line 2941: test: unknownunknown: integer expression 
expected
|         ./configure: line 2942: test: unknownunknown: integer expression 
expected
|
| This is a bit worrying ?
|
|         checking for nhc... no
|         checking for nhc98... no
|         checking for hbc... no
|         checking for ld... /usr/bin/ld
|         ./configure: line 3346: test: unknown: integer expression expected
|
| As is this.
|
|         checking for path to top of build tree... /home/Checkouts/Darcs/GHC
|         checking whether #! works in shell scripts... yes
|         checking for perl... /usr/bin/perl
|         checking if your perl works in shell scripts... yes
|         checking for python... /usr/bin/python
|         checking for gcc... gcc
|         checking for C compiler default output file name... a.out
|         checking whether the C compiler works... yes
|         checking whether we are cross compiling... no
|         checking for suffix of executables...
|         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 version of gcc... 4.3.3
|         checking for extra options to pass gcc when compiling via C...  
-fwrapv -
| mno-omit-leaf-frame-pointer -fno-toplevel-reorder
|         checking how to run the C preprocessor... gcc -E
|         checking for a working context diff... diff -U 1
|         checking for gfind... no
|         checking for find... /usr/bin/find
|         checking for sort... /usr/bin/sort
|         checking for a BSD-compatible install... /usr/bin/install -c
|         checking for ar... /usr/bin/ar
|         checking whether /usr/bin/ar is GNU ar... yes
|         checking for ar arguments... q
|         checking whether ranlib is needed... no
|         checking whether /usr/bin/ar supports -input... no
|         checking whether ln -s works... yes
|         checking for sed... /bin/sed
|         checking for time... /usr/bin/time
|         checking for gtar... no
|         checking for tar... /bin/tar
|         checking for gpatch... no
|         checking for patch... /usr/bin/patch
|         checking for HsColour... no
|         checking for xmllint... /usr/bin/xmllint
|         checking for DocBook DTD... ok
|         checking for xsltproc... /usr/bin/xsltproc
|         checking for DocBook XSL stylesheet directory...
| /usr/share/xml/docbook/stylesheet/nwalsh
|         checking for fop... /home/users/russel/bin/fop
|         checking for /home/users/russel/bin/fop usability... yes
|         checking for xmltex... no
|         checking for dvips... /usr/bin/dvips
|         configure: WARNING: cannot find an FO => DVI converter, you will not 
be able
| to build DVI documentation
|
| Is dblatex needed?  Can't it be set up so that any LaTeX installation will 
do? (I
| use TeXLive and now dblatex has pulled in TeTex as well :-(
|
| (As far as I am aware TeTeX is not maintained; everyone is using TeXLive.)
|
|         checking for dblatex... no
|         configure: WARNING: cannot find dblatex in your PATH, you will not be 
able
| to build the PDF and PS documentation
|         checking for ghc-pkg matching /opt/ghc-6.10.1... no
|         checking for ghc-pkg... /opt/GHC/bin/ghc-pkg
|
| This is the development build version that I am about to install over 
shouldn't it
| be using the bootstrap install?
|
|         checking for happy... /usr/bin/happy
|         checking for version of happy... 1.17
|         checking for alex... /usr/bin/alex
|         checking for version of alex... 2.2
|         checking for grep that handles long lines and -e... /bin/grep
|         checking for egrep... /bin/grep -E
|         checking for ANSI C header files... yes
|         checking for special C compiler options needed for large files... no
|         checking for _FILE_OFFSET_BITS value needed for large files... 64
|         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 bfd.h usability... no
|         checking bfd.h presence... no
|         checking for bfd.h... no
|         checking ctype.h usability... yes
|         checking ctype.h presence... yes
|         checking for ctype.h... yes
|         checking dirent.h usability... yes
|         checking dirent.h presence... yes
|         checking for dirent.h... yes
|         checking dlfcn.h usability... yes
|         checking dlfcn.h presence... yes
|         checking for dlfcn.h... yes
|         checking errno.h usability... yes
|         checking errno.h presence... yes
|         checking for errno.h... yes
|         checking fcntl.h usability... yes
|         checking fcntl.h presence... yes
|         checking for fcntl.h... yes
|         checking grp.h usability... yes
|         checking grp.h presence... yes
|         checking for grp.h... yes
|         checking limits.h usability... yes
|         checking limits.h presence... yes
|         checking for limits.h... yes
|         checking locale.h usability... yes
|         checking locale.h presence... yes
|         checking for locale.h... yes
|         checking nlist.h usability... no
|         checking nlist.h presence... no
|         checking for nlist.h... no
|         checking pthread.h usability... yes
|         checking pthread.h presence... yes
|         checking for pthread.h... yes
|         checking pwd.h usability... yes
|         checking pwd.h presence... yes
|         checking for pwd.h... yes
|         checking signal.h usability... yes
|         checking signal.h presence... yes
|         checking for signal.h... yes
|         checking sys/mman.h usability... yes
|         checking sys/mman.h presence... yes
|         checking for sys/mman.h... yes
|         checking sys/resource.h usability... yes
|         checking sys/resource.h presence... yes
|         checking for sys/resource.h... yes
|         checking sys/time.h usability... yes
|         checking sys/time.h presence... yes
|         checking for sys/time.h... yes
|         checking sys/timeb.h usability... yes
|         checking sys/timeb.h presence... yes
|         checking for sys/timeb.h... yes
|         checking sys/timers.h usability... no
|         checking sys/timers.h presence... no
|         checking for sys/timers.h... no
|         checking sys/times.h usability... yes
|         checking sys/times.h presence... yes
|         checking for sys/times.h... yes
|         checking sys/utsname.h usability... yes
|         checking sys/utsname.h presence... yes
|         checking for sys/utsname.h... yes
|         checking sys/wait.h usability... yes
|         checking sys/wait.h presence... yes
|         checking for sys/wait.h... yes
|         checking termios.h usability... yes
|         checking termios.h presence... yes
|         checking for termios.h... yes
|         checking time.h usability... yes
|         checking time.h presence... yes
|         checking for time.h... yes
|         checking utime.h usability... yes
|         checking utime.h presence... yes
|         checking for utime.h... yes
|         checking windows.h usability... no
|         checking windows.h presence... no
|         checking for windows.h... no
|         checking winsock.h usability... no
|         checking winsock.h presence... no
|         checking for winsock.h... no
|         checking sched.h usability... yes
|         checking sched.h presence... yes
|         checking for sched.h... yes
|         checking whether time.h and sys/time.h may both be included... yes
|         checking for long long... yes
|         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 for char... yes
|         checking alignment of char... 1
|         checking for double... yes
|         checking alignment of double... 4
|         checking for float... yes
|         checking alignment of float... 4
|         checking for int... yes
|         checking alignment of int... 4
|         checking for long... yes
|         checking alignment of long... 4
|         checking for long long... (cached) yes
|         checking alignment of long long... 4
|         checking for short... yes
|         checking alignment of short... 2
|         checking for unsigned char... yes
|         checking alignment of unsigned char... 1
|         checking for unsigned int... yes
|         checking alignment of unsigned int... 4
|         checking for unsigned long... yes
|         checking alignment of unsigned long... 4
|         checking for unsigned long long... yes
|         checking alignment of unsigned long long... 4
|         checking for unsigned short... yes
|         checking alignment of unsigned short... 2
|         checking for void *... yes
|         checking alignment of void *... 4
|         checking for WinExec... no
|         checking for GetModuleFileName... no
|         checking return type of signal handlers... void
|         checking for getclock... no
|         checking for getrusage... yes
|         checking for gettimeofday... yes
|         checking for setitimer... yes
|         checking for siginterrupt... yes
|         checking for sysconf... yes
|         checking for times... yes
|         checking for ctime_r,... no
|         checking for sched_setaffinity... yes
|         checking whether ctime_r is declared... yes
|         checking for getpagesize... yes
|         checking for __gmpz_fdiv_qr in -lgmp... yes
|         checking for closedir in -lmingwex... no
|         checking for xmalloc in -liberty... no
|         checking for bfd_init in -lbfd... no
|         checking for atan... no
|         checking for atan in -lm... yes
|         checking for dlopen in -ldl... yes
|         checking for working alloca.h... yes
|         checking for alloca... yes
|         checking for pid_t... yes
|         checking vfork.h usability... no
|         checking vfork.h presence... no
|         checking for vfork.h... no
|         checking for fork... yes
|         checking for vfork... yes
|         checking for working fork... yes
|         checking for working vfork... (cached) yes
|         checking for an ANSI C-conforming const... yes
|         checking whether byte ordering is bigendian... no
|         checking whether float word order is big endian... no
|         checking for nlist in -lelf... no
|         checking leading underscore in symbol names... no
|         checking whether ld understands -x... yes
|         checking whether ld is GNU ld... yes
|         checking for .subsections_via_symbols... no
|         checking for GNU non-executable stack support... no
|         checking for clock_gettime in -lrt... yes
|         checking for clock_gettime... yes
|         checking for timer_create... yes
|         checking for timer_settime... yes
|         checking for a working timer_create(CLOCK_REALTIME)... yes
|         checking for printf$LDBLStub... no
|         checking for pkg-config... /usr/bin/pkg-config
|         checking for PAPI_library_init in -lpapi... no
|         checking papi.h usability... no
|         checking papi.h presence... no
|         checking for papi.h... no
|         ./configure: line 22075: test: argument expected
|
| Failures like this are always worrying . . .
|
|         configure: creating ./config.status
|         config.status: creating mk/config.mk
|         config.status: creating mk/project.mk
|         config.status: creating compiler/ghc.cabal
|         config.status: creating ghc/ghc-bin.cabal
|         config.status: creating ghc.spec
|         config.status: creating extra-gcc-opts
|         config.status: creating docs/users_guide/ug-book.xml
|         config.status: creating mk/config.h
|         config.status: mk/config.h is unchanged
|         config.status: executing mk/stamp-h commands
|
|         ----------------------------------------------------------------------
|         Configure completed successfully.
|
|            Building GHC version  : 6.11.20090509
|
|            Build platform        : i386-unknown-linux
|            Host platform         : i386-unknown-linux
|            Target platform       : i386-unknown-linux
|
|            Bootstrapping using   : /opt/ghc-6.10.1
|               which is version   : unknown.unknown
|
|            Using GCC             : gcc
|               which is version   : 4.3.3
|
|            ld       : /usr/bin/ld
|            Happy    : /usr/bin/happy
|            Alex     : /usr/bin/alex
|            Python   : /usr/bin/python
|            Perl     : /usr/bin/perl
|
|            HsColour was not found; documentation will not contain source links
|
|         Building DocBook HTML documentation: YES
|         Building DocBook PS documentation:   NO
|         Building DocBook PDF documentation:  NO
|         Building shared libraries      : NO
|         ----------------------------------------------------------------------
|
|         For a standard build of GHC (fully optimised with profiling), type 
(g)make.
|
|         To make changes to the default build configuration, copy the file
|         mk/build.mk.sample to mk/build.mk, and edit the settings in there.
|
|         For more information on how to configure your GHC build, see
|            http://hackage.haskell.org/trac/ghc/wiki/Building
|
|
| --
| Russel.
| ============================================================
| Dr Russel Winder                 Partner
|
| Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
| 41 Buckmaster Road,     f: +44 8700 516 084    voip:  
sip:[email protected]
| London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: [email protected]

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to