new cabal-get working for paolo

Isaac Jones ijones at syntaxpolice.org
Tue Jul 25 17:24:43 EDT 2006


Hey guys, let's use the mailing list :)

Paolo, have you pushed this?  Or sent it to cabal-devel?

Great work.  So what Paolo is saying is that the simple versin of
cabal-get is ready, we just have to get the new very-simple version of
cabal-put working and installed on hackage.

There are pleanty of tweaks to do, though they may not be reflected in
the ticket system.  Alson, if you want to hack, please grab the latest
cabal sources and see what we've done.  Look at lately-modified
tickets on the wiki to get some context.

peace,

  isaac

Paolo Martini <paolo at nemail.it> writes:

> Hello!
>
> Let the log there speak for itself.
>
> $ cabal-install -c etc-cabal-install/ install helloWorld2
> configure: searching for ghc in path.
> configure: found ghc at /usr/local/bin/ghc
> "/usr/local/bin/ghc" --version >tmp839
> configure: looking for package tool: ghc-pkg near compiler in /usr/
> local/bin/ghc
> configure: found package tool in /usr/local/bin/ghc-pkg
> Using config dir: etc-cabal-install/
> configure: Reading installed packages...
> "/usr/local/bin/ghc-pkg" --global list >tmp839
> Downloading 'helloWorld2-1.1'
> Building 'helloWorld2-1.1'
>   Configuring...
> Executing: '/usr/local/bin/runhaskell Setup.lhs configure'
> Setup.lhs: Warning: No license-file field.
> Configuring helloWorld2-1.1...
> configure: Dependency base-any: using base-1.0
> configure: Using install prefix: /usr/local
> configure: Binaries installed in: /usr/local/bin
> configure: Libraries installed in: /usr/local/lib/helloWorld2-1.1/
> ghc-6.5.20060608
> configure: Private binaries installed in: /usr/local/libexec
> configure: Data files installed in: /usr/local/share/helloWorld2-1.1
> configure: Using compiler: /usr/local/bin/ghc
> configure: Compiler flavor: GHC
> configure: Compiler version: 6.5.20060608
> configure: Using package tool: /usr/local/bin/ghc-pkg
> configure: Using ar found on system at: /usr/bin/ar
> configure: No haddock found
> configure: No pfesetup found
> configure: Using ranlib found on system at: /usr/bin/ranlib
> configure: Using runghc found on system at: /usr/local/bin/runghc
> configure: No runhugs found
> configure: Using happy: /usr/local/bin/happy
> configure: Using alex: /usr/local/bin/alex
> configure: Using hsc2hs: /usr/local/bin/hsc2hs
> configure: No c2hs found
> configure: No cpphs found
> configure: No greencard found
>   Building...
> Executing: '/usr/local/bin/runhaskell Setup.lhs build'
> Preprocessing executables for helloWorld2-1.1...
> Building helloWorld2-1.1...
> Chasing modules from: Hello.hs
> [1 of 1] Compiling Main             ( Hello.hs, dist/build/hello-
> haskell-world/hello-haskell-world-tmp/Main.o )
> Linking dist/build/hello-haskell-world/hello-haskell-world ...
>   Installing...
> Executing: '/usr/local/bin/runhaskell Setup.lhs install'
> Installing: /usr/local/lib/helloWorld2-1.1/ghc-6.5.20060608 & /usr/
> local/bin helloWorld2-1.1...
>   Done.
>
> $ hello-haskell-world
> Hello, Haskell World!
>
> ...it was an easy fix the one of the extensions, Isaac!
>
> I am getting the `put' program now.
>
>  - Paolo


More information about the cabal-devel mailing list