Config error..PreludeBuiltin...is this still in the build?

Hi all, I just built a fresh yhc/yhi (after only adding one line to Primitive.hs) and everything seemed fine. I then copied my inst folder to c:\yhcinstall\. When I run "yhc hello.hs" however I get the following: $ yhc hello.hs Error: File not found, PreludeBuiltin Reason: imported from Prelude Looked in: c:\Documents and Settings\Alexis\Desktop\2007\NXHaskell\current\BCKernel\ c:\yhcinstall\lib\yhc\packages\haskell98\1.0 c:\yhcinstall\lib\yhc\packages\yhc-base\1.0 I'm not sure if this is a bug in the config or is caused by copying. I do have a PreludeBuiltin in my C:/YHC_BASE/version220807/yhc/src/packages/yhc-base-1.0/PreludeBuiltin.hi file:///C:/YHC_BASE/version220807/yhc/src/packages/yhc-base-1.0/PreludeBuilt... I'll see if copying it over helps....nope...copying it seems to cause yhc loop until stack overflow. $ yhc hello.hs Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize' to increase it. Cheers, -- </Alexis>

Oh I also noticed that when I do the following I get a sort of ambiguous
message instead of the usage call.
$ yhc
yhc.exe: Prelude.head: empty list
On 8/22/07, Alexis Morris
Hi all,
I just built a fresh yhc/yhi (after only adding one line to Primitive.hs) and everything seemed fine. I then copied my inst folder to c:\yhcinstall\. When I run "yhc hello.hs" however I get the following:
$ yhc hello.hs Error: File not found, PreludeBuiltin Reason: imported from Prelude Looked in: c:\Documents and Settings\Alexis\Desktop\2007\NXHaskell\current\BCKernel\ c:\yhcinstall\lib\yhc\packages\haskell98\1.0 c:\yhcinstall\lib\yhc\packages\yhc-base\1.0
I'm not sure if this is a bug in the config or is caused by copying. I do have a PreludeBuiltin in my C:/YHC_BASE/version220807/yhc/src/packages/yhc-base-1.0/PreludeBuiltin.hi
I'll see if copying it over helps....nope...copying it seems to cause yhc loop until stack overflow.
$ yhc hello.hs Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize' to increase it.
Cheers, -- </Alexis>
-- </Alexis>

Ok...this is a spacing issue in the path string...it compiles fine if there
are no spaces in the path (also I removed the copied yhcinstall folder and
just point to the yhc\inst\).
On 8/22/07, Alexis Morris
Hi all,
I just built a fresh yhc/yhi (after only adding one line to Primitive.hs) and everything seemed fine. I then copied my inst folder to c:\yhcinstall\. When I run "yhc hello.hs" however I get the following:
$ yhc hello.hs Error: File not found, PreludeBuiltin Reason: imported from Prelude Looked in: c:\Documents and Settings\Alexis\Desktop\2007\NXHaskell\current\BCKernel\ c:\yhcinstall\lib\yhc\packages\haskell98\1.0 c:\yhcinstall\lib\yhc\packages\yhc-base\1.0
I'm not sure if this is a bug in the config or is caused by copying. I do have a PreludeBuiltin in my C:/YHC_BASE/version220807/yhc/src/packages/yhc-base-1.0/PreludeBuiltin.hi
I'll see if copying it over helps....nope...copying it seems to cause yhc loop until stack overflow.
$ yhc hello.hs Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize' to increase it.
Cheers, -- </Alexis>
-- </Alexis>

Hmm that's very curious there is no way any code you write should be pulling in PreludeBuiltin only the Prelude imports it IIRC. What's the contents of hello.hs? Tom Alexis Morris wrote:
Hi all,
I just built a fresh yhc/yhi (after only adding one line to Primitive.hs) and everything seemed fine. I then copied my inst folder to c:\yhcinstall\. When I run "yhc hello.hs" however I get the following:
$ yhc hello.hs Error: File not found, PreludeBuiltin Reason: imported from Prelude Looked in: c:\Documents and Settings\Alexis\Desktop\2007\NXHaskell\current\BCKernel\ c:\yhcinstall\lib\yhc\packages\haskell98\1.0 c:\yhcinstall\lib\yhc\packages\yhc-base\1.0
I'm not sure if this is a bug in the config or is caused by copying. I do have a PreludeBuiltin in my C:/YHC_BASE/version220807/yhc/src/packages/yhc-base-1.0/PreludeBuiltin.hi file:///C:/YHC_BASE/version220807/yhc/src/packages/yhc-base-1.0/PreludeBuilt... I'll see if copying it over helps....nope...copying it seems to cause yhc loop until stack overflow.
$ yhc hello.hs Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize' to increase it.
Cheers, -- </Alexis>
------------------------------------------------------------------------
_______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc
participants (2)
-
Alexis Morris
-
Tom Shackell