OK, I think you mean Cabal's register. I tried that but I get an error:

$ runhaskell Setup.hs register --gen-pkg-conf=pkg.conf
Package contains no library to register: vintage-basic-1.0...

That's true, there is no library exported by Cabal, just an executable. So
what do I do next? Many of your steps depend on this pkg.conf.

Thanks,
Lyle

On Thu, Mar 5, 2009 at 6:00 PM, Lyle Kopnicky <[email protected]> wrote:

> Hi Magnus,
>
> Thanks for the help. I'm having some trouble with the steps. Especially
> step 5, because it involves a command called register, which I don't have.
> What is that?
>
> - Lyle
>
>
> On Sat, Feb 28, 2009 at 12:22 AM, Magnus Therning <[email protected]>wrote:
>
>> Lyle Kopnicky wrote:
>> > Hi folks,
>> >
>> > I'm trying to build a debian package from cabal for the first time. I'm
>> > following the instructions at
>> >
>> http://www.haskell.org/haskellwiki/Creating_Debian_packages_from_Cabal_package
>> .
>> > I got the following error:
>> >
>> > $ debian/rules update-generated-files
>> > update-debian-haskell-files
>> > update-haskell-control
>> > Failed to find provides of ghc6-doc
>> > exit: ExitFailure 1
>> > make: *** [update-generated-files] Error 1
>> >
>> > Any ideas how I can approach fixing that?
>>
>> I'd recommend starting over, using hlibrary.mk instead.  Here's a
>> shameless plug for my own blog post:
>> http://therning.org/magnus/archives/458
>>
>> Note that step 14 needs to be modified, something I found out myself
>> just a few days ago
>> (http://lists.debian.org/debian-haskell/2009/02/msg00079.html).
>>
>> /M
>>
>> --
>> Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
>> magnus@therning.org          Jabber: magnus@therning.org
>> http://therning.org/magnus         identi.ca|twitter: magthe
>>
>> Haskell is an even 'redder' pill than Lisp or Scheme.
>>     -- PaulPotts
>>
>>
>

Reply via email to