Problems with Cabal

Marco Túlio Gontijo e Silva malebria at riseup.net
Mon Jan 29 10:49:51 EST 2007


Hello,

I'm having some problems with cabal. I don't know if here is the better
place to ask, in http://www.haskell.org/cabal/ sais to ask here.

There are two things. One of them is simpler, and it's in haskell-cafe.
Shouldn't include-dirs: . be default?

The other is about setup clean. It's leaving some things behind. The
dist directory is not removed, and is kept empty. Other files that are
not removed are the c2hs generated files .h and .chi. Is this a bug?

marcot at quindinho:~/codigo/haskell/haskellgpc/haskellgpc$ find | grep -v
_darcs
.
./AUTHORS
./Algebra
./Algebra/Geometric
./Algebra/Geometric/Gpc.chs
./COPYING
./README
./Setup.hs
./ToDo
./haskellgpc.cabal
./send.sh
marcot at quindinho:~/codigo/haskell/haskellgpc/haskellgpc$ ./Setup.hs
configure
Configuring HaskellGPC-0.0.1...
configure: /usr/bin/ghc-pkg
configure: Dependency base-any: using base-2.0
configure: Using install prefix: /usr/local
configure: Binaries installed in: /usr/local/bin
configure: Libraries installed
in: /usr/local/lib/HaskellGPC-0.0.1/ghc-6.6
configure: Private binaries installed in: /usr/local/libexec
configure: Data files installed in: /usr/local/share/HaskellGPC-0.0.1
configure: Using compiler: /usr/bin/ghc
configure: Compiler flavor: GHC
configure: Compiler version: 6.6
configure: Using package tool: /usr/bin/ghc-pkg
configure: Using ar found on system at: /usr/bin/ar
configure: Using haddock found on system at: /usr/bin/haddock
configure: No pfesetup found
configure: Using ranlib found on system at: /usr/bin/ranlib
configure: Using runghc found on system at: /usr/bin/runghc
configure: No runhugs found
configure: No happy found
configure: No alex found
configure: Using hsc2hs: /usr/bin/hsc2hs
configure: Using c2hs: /usr/bin/c2hs
configure: No cpphs found
configure: No greencard found
marcot at quindinho:~/codigo/haskell/haskellgpc/haskellgpc$ ./Setup.hs
build
Preprocessing library HaskellGPC-0.0.1...
Building HaskellGPC-0.0.1...
[1 of 1] Compiling Algebra.Geometric.Gpc ( Algebra/Geometric/Gpc.hs,
dist/build/Algebra/Geometric/Gpc.o )
/usr/bin/ar: creating dist/build/libHSHaskellGPC-0.0.1.a
marcot at quindinho:~/codigo/haskell/haskellgpc/haskellgpc$ ./Setup.hs
clean
cleaning...
marcot at quindinho:~/codigo/haskell/haskellgpc/haskellgpc$ find | grep -v
_darcs
.
./AUTHORS
./Algebra
./Algebra/Geometric
./Algebra/Geometric/Gpc.chi
./Algebra/Geometric/Gpc.chs
./Algebra/Geometric/Gpc.h
./COPYING
./README
./Setup.hs
./ToDo
./dist
./haskellgpc.cabal
./send.sh
marcot at quindinho:~/codigo/haskell/haskellgpc/haskellgpc$

Thanks.

-- 
malebria
Marco Túlio Gontijo e Silva
Correio (MSN): malebria at riseup.net
Jabber (GTalk): malebria at jabber.org
Ekiga: malebria at ekiga.net
IRC:
    malebria at irc.freenode.net
    malebria at irc.oftc.org
Skype: marcotmarcot
Telefone: 33346720
Celular: 98116720
Endereço:
    Rua Paula Cândido, 257/201
    Gutierrez 30430-260
    Belo Horizonte/MG Brasil



More information about the Libraries mailing list