Re: new build system build fails on Solaris/x86

2009-01-28 Thread Ian Lynagh
On Thu, Jan 22, 2009 at 07:16:31PM +0100, Karel Gardas wrote: > > cd libffi && patch -p0 < libffi.dllize-3.0.6.patch > Looks like a unified context diff. > Hunk #5 failed at line 344. > Hunk #6 failed at line 165. > Hunk #7 failed at line 33. > 3 out of 7 hunks failed: saving rejects to build/in

Re: new build system build fails on Solaris/x86

2009-01-22 Thread Karel Gardas
Ian Lynagh wrote: > On Wed, Jan 21, 2009 at 09:36:29PM +0100, Karel Gardas wrote: >> cd libffi && /usr/sfw/bin/gtar -zxf libffi*.tar.gz >> mv libffi/libffi*/ libffi/build >> mv: cannot access libffi/libffi*/ >> gmake[1]: *** [libffi/stamp.ffi.configure] Error 2 >> gmake: *** [all] Error 2 > > Aha,

Re: new build system build fails on Solaris/x86

2009-01-21 Thread Karel Gardas
Ian Lynagh wrote: > Can you try the attached patch please? > Your patch solves the problem. Now build fails printing: mkdir includes/dist-derivedconstants mkdir includes/dist-derivedconstants/build /usr/local/ghc-6.8.3/bin/ghc -optc-O -optc-DTABLES_NEXT_TO_CODE -optc-Iincludes -optc-Irts -H32m

Re: new build system build fails on Solaris/x86

2009-01-21 Thread Ian Lynagh
On Wed, Jan 21, 2009 at 05:24:00PM +0100, Christian Maeder wrote: > > > For boot I'm using autoconf-2.62/automake-1.10.1 and GHC 6.8.3 > > so ./boot calls basically autoreconf? Yes, for the root of the tree, and also for any libraries that need it. In the new build system it also creates little

Re: new build system build fails on Solaris/x86

2009-01-21 Thread Christian Maeder
Karel Gardas wrote: > bash ./boot I don't know what ./boot does (since I only compile source distros) > ./configure --prefix=/tmp/ghc-new-build-system-bin > gmake this should work with clean sources in the top-level ghc directory > For boot I'm using autoconf-2.62/automake-1.10.1 and GHC 6.8.3

Re: new build system build fails on Solaris/x86

2009-01-21 Thread Karel Gardas
Christian Maeder wrote: > Karel Gardas wrote: >> Hello, >> >> I need to double check: I'm talking here about new build system. I've >> invoked simple `gmake'. Also your builds is fine since editline seems to >> find readline header file which seems to satisfy it while this is not in >> my case. >

Re: new build system build fails on Solaris/x86

2009-01-21 Thread Karel Gardas
Hello, I need to double check: I'm talking here about new build system. I've invoked simple `gmake'. Also your builds is fine since editline seems to find readline header file which seems to satisfy it while this is not in my case. How have you configure to allow it to find readline? Thanks, Ka

Re: new build system build fails on Solaris/x86

2009-01-21 Thread Christian Maeder
How did you call gmake? editline is not needed for ghc. When building the libraries with the stage1 compiler I get: ... && touch stamp/configure.library.build-profiling-splitting.editline || touch editline/unbuildable Configuring editline-0.2.1.0... checking for gcc... gcc checking for C compiler

new build system build fails on Solaris/x86

2009-01-21 Thread Karel Gardas
Hello, I attempt to test new build system on solaris/x86 platform and after applying patch from here: http://hackage.haskell.org/trac/ghc/ticket/2951 I've been able to boot and configure the tree. On the other hand build alone fails with: checking for unistd.h... yes checking editline/readline.h