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
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,
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
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
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
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.
>
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
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
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