Error in building profiling

Hello, I'm trying to package ghc-paths for debian, and I got to this: $ ./setup configure --enable-library-profiling --disable-library-vanilla Configuring ghc-paths-0.1.0.5... $ ./setup build Preprocessing library ghc-paths-0.1.0.5... Building ghc-paths-0.1.0.5... /usr/bin/ar: creating dist/build/libHSghc-paths-0.1.0.5_p.a /usr/bin/ld: dist/build/GHC/Paths.o: No such file: No such file or directory I thought this could be a problem with this package, but I've tried with mtl, and I got the same result: /usr/bin/ld: dist/build/Control/Monad/Cont.o: No such file: No such file or directory I'm using ghc6 6.10.1+dfsg1-5 and binutils 2.19-1~exp1. Greetings. -- marcot http://marcot.iaaeee.org/

Hi, Em Qui, 2009-02-05 às 20:38 -0200, Marco Túlio Gontijo e Silva escreveu:
I'm trying to package ghc-paths for debian, and I got to this:
$ ./setup configure --enable-library-profiling --disable-library-vanilla Configuring ghc-paths-0.1.0.5... $ ./setup build Preprocessing library ghc-paths-0.1.0.5... Building ghc-paths-0.1.0.5... /usr/bin/ar: creating dist/build/libHSghc-paths-0.1.0.5_p.a /usr/bin/ld: dist/build/GHC/Paths.o: No such file: No such file or directory
I thought this could be a problem with this package, but I've tried with mtl, and I got the same result:
/usr/bin/ld: dist/build/Control/Monad/Cont.o: No such file: No such file or directory
I'm using ghc6 6.10.1+dfsg1-5 and binutils 2.19-1~exp1.
I tried the same with ghc6 6.8.2dfsg1-1 and it worked. Greetings. -- marcot http://marcot.iaaeee.org/

On Fri, 2009-02-06 at 08:28 -0200, Marco Túlio Gontijo e Silva wrote:
$ ./setup configure --enable-library-profiling --disable-library-vanilla
/usr/bin/ld: dist/build/Control/Monad/Cont.o: No such file: No such file or directory
I'm using ghc6 6.10.1+dfsg1-5 and binutils 2.19-1~exp1.
I tried the same with ghc6 6.8.2dfsg1-1 and it worked.
Turns out I broke it in Cabal-1.4. It used to be that --disable-library-vanilla implied --disable-library-for-ghci where as they're now independent. Try the Cabal head branch now. Let me know if that fixes it for you. If it does I'll push it to the Cabal-1.6 branch. Duncan

Em Sex, 2009-02-06 às 22:55 +0000, Duncan Coutts escreveu:
On Fri, 2009-02-06 at 08:28 -0200, Marco Túlio Gontijo e Silva wrote:
$ ./setup configure --enable-library-profiling --disable-library-vanilla
/usr/bin/ld: dist/build/Control/Monad/Cont.o: No such file: No such file or directory
I'm using ghc6 6.10.1+dfsg1-5 and binutils 2.19-1~exp1.
I tried the same with ghc6 6.8.2dfsg1-1 and it worked.
Turns out I broke it in Cabal-1.4. It used to be that --disable-library-vanilla implied --disable-library-for-ghci where as they're now independent.
Try the Cabal head branch now. Let me know if that fixes it for you. If it does I'll push it to the Cabal-1.6 branch.
I tried with the updated cabal and it's working. Thanks. -- marcot http://marcot.iaaeee.org/
participants (2)
-
Duncan Coutts
-
Marco Túlio Gontijo e Silva