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??
Vasili On Tue, May 27, 2008 at 4:47 PM, Galchin, Vasili <[EMAIL PROTECTED]> wrote: > when I do a "clean" followed by "configure" then dist is empty > > vasili > > > On Tue, May 27, 2008 at 4:37 PM, Thomas Hartman <[EMAIL PROTECTED]> > wrote: > >> maybe try >> >> runghc Setup.hs clean >> >> or fresh darcs checkout and try build again from scratch. it's helped >> me in the past. >> >> thomas. >> >> >> Am 26. Mai 2008 21:32 schrieb Galchin, Vasili <[EMAIL PROTECTED]>: >> > Hello, >> > >> > One of my test cases will not build. I am running: >> > >> > [EMAIL PROTECTED]:~$ ghc -v >> > Glasgow Haskell Compiler, Version 6.8.2, for Haskell 98, stage 2 booted >> by >> > GHC version 6.8.2 >> > Using package config file: /usr/local/lib/ghc-6.8.2/package.conf >> > wired-in package base mapped to base-3.0.1.0 >> > wired-in package rts mapped to rts-1.0 >> > wired-in package haskell98 mapped to haskell98-1.0.1.0 >> > wired-in package template-haskell mapped to template-haskell-2.2.0.0 >> > wired-in package ndp not found. >> > Hsc static flags: -static >> > *** Deleting temp files: >> > Deleting: >> > *** Deleting temp dirs: >> > Deleting: >> > ghc-6.8.2: no input files >> > Usage: For basic information, try the `--help' option. >> > [EMAIL PROTECTED]:~$ >> > >> > Here is the build: >> > >> > [EMAIL PROTECTED]:~/FTP/Haskell/unix-2.2.0.0/tests/mlock$ runhaskell >> > Setup.lhs configure --prefix=$HOME >> > Configuring mlock-1.0... >> > [EMAIL PROTECTED]:~/FTP/Haskell/unix-2.2.0.0/tests/mlock$ runhaskell >> > Setup.lhs build >> > Preprocessing executables for mlock-1.0... >> > Building mlock-1.0... >> > [EMAIL PROTECTED]:~/FTP/Haskell/unix-2.2.0.0/tests/mlock$ runhaskell >> > Setup.lhs install >> > Installing: /home/vigalchin/bin >> > Setup.lhs: dist/build/mlock/mlock: copyFile: does not exist (No such >> file or >> > directory) >> > >> > The install step fails. I guess "copyFile" is used to copy the >> executable to >> > the install directory?? >> > >> > Regards, vasili >> > >> > >> > >> > >> > _______________________________________________ >> > Haskell-Cafe mailing list >> > Haskell-Cafe@haskell.org >> > http://www.haskell.org/mailman/listinfo/haskell-cafe >> > >> > >> > >
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe