installing ghc without already having ghc

2005-04-07 Thread Jessica Brennan [staff]
I am trying to install ghc-6.4 on netbsd20. I read through the install instructions, however they say you need a working copy of ghc already. "10.2. Porting GHC to a new architecture" looks to be the section I want to be in for installing ghc, however the very next thing it says you need is: 1

Re: installing ghc without already having ghc

2005-04-08 Thread Tim Smith
On 2005 Apr 07, Jessica Brennan [staff] <[EMAIL PROTECTED]> wrote: > I am trying to install ghc-6.4 on netbsd20. I read through the install > instructions, however they say you need a working copy of ghc already. I'd probably look here first: ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/lang/

Re: installing ghc without already having ghc

2005-04-08 Thread Jessica Brennan [staff]
On Fri, 8 Apr 2005, Tim Smith wrote: On 2005 Apr 07, Jessica Brennan [staff] <[EMAIL PROTECTED]> wrote: I am trying to install ghc-6.4 on netbsd20. I read through the install instructions, however they say you need a working copy of ghc already. I'd probably look here first: ftp://ftp.netbsd.org/pu

RE: installing ghc without already having ghc

2005-04-11 Thread Simon Marlow
On 08 April 2005 17:20, Jessica Brennan wrote: > On Fri, 8 Apr 2005, Tim Smith wrote: > >> On 2005 Apr 07, Jessica Brennan [staff] <[EMAIL PROTECTED]> wrote: >>> I am trying to install ghc-6.4 on netbsd20. I read through the >>> install instructions, however they say you need a working copy of >>

RE: installing ghc without already having ghc

2005-04-11 Thread Jessica Brennan [staff]
Anything we can help with? I was able to get a binary for netbsd20 working. However with building it I get a few errors. So I tried doing the cross compiling an unregistered version, but I get the same errors in the same spot. -

RE: installing ghc without already having ghc

2005-04-11 Thread Simon Marlow
On 11 April 2005 16:25, Jessica Brennan [staff] wrote: >> Anything we can help with? > > I was able to get a binary for netbsd20 working. However with > building it I get a few errors. So I tried doing the cross compiling > an unregistered version, but I get the same errors in the same spot. > >

RE: installing ghc without already having ghc

2005-04-11 Thread Jessica Brennan [staff]
Which step of the bootstrap is this? It looks like the configure script has failed to detect the version of GHC installed on your system. cd H/ghc && make boot && make in section 10.2.1 of the build guide. Actually I just double checked and I don't get those lines of the error when doing cross-co

RE: installing ghc without already having ghc

2005-04-12 Thread Simon Marlow
On 11 April 2005 16:44, Jessica Brennan wrote: > cd H/ghc && make boot && make > in section 10.2.1 of the build guide. > > Actually I just double checked and I don't get those lines of the > error when doing cross-compiling. > Sorry grabbed the first set of errors I saw. It is the same minus > th

RE: installing ghc without already having ghc

2005-04-20 Thread Jessica Brennan [staff]
Ok, the instructions have a slight mistake, we shouldn't be using the -fasm flag to build stage 1. I'm not sure how that crept in, sorry. Just remove -fasm from GhcStage1HcOpts in mk/build.mk, that should fix it. By the way, I'm guessing you're on a Sparc box, is that right? If so, others have re

RE: installing ghc without already having ghc

2005-04-21 Thread Simon Marlow
On 20 April 2005 15:13, Jessica Brennan wrote: > ghc-6.4-host/libraries/readline > NetBSD-2.0 0 # gmake boot > > > ==fptools== gmake boot -r; > in /devel/build/NetBSD/ghc/ghc-6.4-host/libraries/readline > -

Re: installing ghc without already having ghc

2005-04-21 Thread Tim Smith
On 2005 Apr 21, Simon Marlow <[EMAIL PROTECTED]> wrote: > > Readline.hsc: In function `main': > > Readline.hsc:677: error: `UNDO_DELETE' undeclared (first use in this > > function) > > Readline.hsc:677: error: (Each undeclared identifier is reported only > > once Readline.hsc:677: error: for each f

Re: installing ghc without already having ghc

2005-04-22 Thread Jessica Brennan [staff]
On Fri, 22 Apr 2005, Tim Smith wrote: On 2005 Apr 21, Simon Marlow <[EMAIL PROTECTED]> wrote: Readline.hsc: In function `main': Readline.hsc:677: error: `UNDO_DELETE' undeclared (first use in this function) Readline.hsc:677: error: (Each undeclared identifier is reported only once Readline.hsc:677:

RE: installing ghc without already having ghc

2005-05-03 Thread Jessica Brennan [staff]
I was able to fix my previous errors by adding -I/usr/local/bin. However I am getting more errors later in the build. In stage 2 of the cross compiling build I am getting errors at this phase: $ cd H/ghc/lib $ make clean $ make -k UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files' --

RE: installing ghc without already having ghc

2005-05-03 Thread Jessica Brennan [staff]
On Tue, 3 May 2005, Jessica Brennan [staff] wrote: I was able to fix my previous errors by adding -I/usr/local/bin. However I am getting more errors later in the build. Sorry just for clerification it isn't -I/usr/local/bin it should be -I/usr/local/include. Just incase anyone has the same proble

RE: installing ghc without already having ghc

2005-05-04 Thread Simon Marlow
On 03 May 2005 18:55, Jessica Brennan [staff] wrote: > I was able to fix my previous errors by adding -I/usr/local/bin. > However I am getting more errors later in the build. > > In stage 2 of the cross compiling build I am getting errors at this > phase: $ cd H/ghc/lib > $ make clean > $ make -k

RE: installing ghc without already having ghc

2005-05-04 Thread Jessica Brennan [staff]
On Wed, 4 May 2005, Simon Marlow wrote: On 03 May 2005 18:55, Jessica Brennan [staff] wrote: I was able to fix my previous errors by adding -I/usr/local/bin. However I am getting more errors later in the build. In stage 2 of the cross compiling build I am getting errors at this phase: $ cd H/ghc/li

RE: installing ghc without already having ghc

2005-05-05 Thread Jessica Brennan [staff]
Thank you for all the help, I was able to get my own copy of ghc built. -Jessica On Wed, 4 May 2005, Simon Marlow wrote: On 03 May 2005 18:55, Jessica Brennan [staff] wrote: I was able to fix my previous errors by adding -I/usr/local/bin. However I am getting more errors later in the build. In stag