
On Tue, 2008-05-27 at 15:33 -0700, Thomas Hartman wrote:
I think dist gets populated when you do build.
Actually we also stash the configuration in ./dist/setup-config so that gets created at configure time. Galchin's problem is that something goes wrong during the configure and so nothing gets created in dist. From the log it looks like ghc or ld are failing during one of the early tests we do when configuring ghc. To make debugging this kind of thing a bit less mysterious in future Cabal now logs in greater detail what happens when it calls external programs (when invoked at the highest verbosity level). Duncan
2008/5/27 Galchin, Vasili
: when I do a "clean" followed by "configure" then dist is empty
vasili
On Tue, May 27, 2008 at 4:37 PM, Thomas Hartman
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
: Hello,
One of my test cases will not build. I am running:
vigalchin@ubuntu:~$ 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. vigalchin@ubuntu:~$
Here is the build:
vigalchin@ubuntu:~/FTP/Haskell/unix-2.2.0.0/tests/mlock$ runhaskell Setup.lhs configure --prefix=$HOME Configuring mlock-1.0... vigalchin@ubuntu:~/FTP/Haskell/unix-2.2.0.0/tests/mlock$ runhaskell Setup.lhs build Preprocessing executables for mlock-1.0... Building mlock-1.0... vigalchin@ubuntu:~/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