actually I also got a core file. ... when I am running "runghc Setup.lhs ....." and get a core file when I run "gdb" on the core file in this situation what Linux executable should I specify with the core file? ghc? Also when building ghc how to do I specify to keep symbol table for debugging? Is it -g just like C??<br>
<br>Vasili<br><br><div class="gmail_quote">On Tue, May 27, 2008 at 4:47 PM, Galchin, Vasili <<a href="mailto:vigalchin@gmail.com">vigalchin@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
when I do a "clean" followed by "configure" then dist is empty<br><font color="#888888"><br>vasili</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Tue, May 27, 2008 at 4:37 PM, Thomas Hartman <<a href="mailto:tphyahoo@gmail.com" target="_blank">tphyahoo@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">maybe try<br>
<br>
runghc Setup.hs clean<br>
<br>
or fresh darcs checkout and try build again from scratch. it's helped<br>
me in the past.<br>
<br>
thomas.<br>
<br>
<br>
Am 26. Mai 2008 21:32 schrieb Galchin, Vasili <<a href="mailto:vigalchin@gmail.com" target="_blank">vigalchin@gmail.com</a>>:<br>
<div><div></div><div>> Hello,<br>
><br>
> One of my test cases will not build. I am running:<br>
><br>
> vigalchin@ubuntu:~$ ghc -v<br>
> Glasgow Haskell Compiler, Version 6.8.2, for Haskell 98, stage 2 booted by<br>
> GHC version 6.8.2<br>
> Using package config file: /usr/local/lib/ghc-6.8.2/package.conf<br>
> wired-in package base mapped to base-3.0.1.0<br>
> wired-in package rts mapped to rts-1.0<br>
> wired-in package haskell98 mapped to haskell98-1.0.1.0<br>
> wired-in package template-haskell mapped to template-haskell-2.2.0.0<br>
> wired-in package ndp not found.<br>
> Hsc static flags: -static<br>
> *** Deleting temp files:<br>
> Deleting:<br>
> *** Deleting temp dirs:<br>
> Deleting:<br>
> ghc-6.8.2: no input files<br>
> Usage: For basic information, try the `--help' option.<br>
> vigalchin@ubuntu:~$<br>
><br>
> Here is the build:<br>
><br>
> vigalchin@ubuntu:~/FTP/Haskell/unix-2.2.0.0/tests/mlock$ runhaskell<br>
> Setup.lhs configure --prefix=$HOME<br>
> Configuring mlock-1.0...<br>
> vigalchin@ubuntu:~/FTP/Haskell/unix-2.2.0.0/tests/mlock$ runhaskell<br>
> Setup.lhs build<br>
> Preprocessing executables for mlock-1.0...<br>
> Building mlock-1.0...<br>
> vigalchin@ubuntu:~/FTP/Haskell/unix-2.2.0.0/tests/mlock$ runhaskell<br>
> Setup.lhs install<br>
> Installing: /home/vigalchin/bin<br>
> Setup.lhs: dist/build/mlock/mlock: copyFile: does not exist (No such file or<br>
> directory)<br>
><br>
> The install step fails. I guess "copyFile" is used to copy the executable to<br>
> the install directory??<br>
><br>
> Regards, vasili<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
><br>
</blockquote></div><br>
</div></div></blockquote></div><br>