Hi,

I'm sure it might as well be an error on my part. :)

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.4.1

haskell-devscripts 0.5.11

Cheers,

Johan

On 8/19/06, Jeremy Shaw <[EMAIL PROTECTED]> wrote:
Hello!

There must be an error in my instructions :)

Can you send me a copy of:

        debian/control
        HaXml.cabal

Also, which versions of:

 haskell-devscripts
 ghc6

do you have installed. Thanks!

The part that is dying is:

>         sed 
"s%#GHCVER#%ghc-6.4.1%;s%#PKGLIBDIR#%/usr/lib/haskell-packages/ghc6/lib/HaXml
> Pacakge-1.13.1
> 1.0%"

That line ought to look more like:

>         sed 
"s%#GHCVER#%ghc-6.4.1%;s%#PKGLIBDIR#%/usr/lib/haskell-packages/ghc6/lib/HaXml-1.13.1%"

I suspect it is off because something is funny in the .cabal or
debian/control file.

Thanks!
j.

At Sat, 19 Aug 2006 15:01:48 +0200,
Johan Tibell wrote:
>
> Alright, followed the instructions. However when running dh_haskell
> (on HaXmL) I got:
>
> $ dh_haskell -v
> Generating meta-information...
>         grep -s -v '^haskell:Depends='
> debian/libghc6-haxml-dev.substvars >
> debian/libghc6-haxml-dev.substvars.new || true
>         mv debian/libghc6-haxml-dev.substvars.new
> debian/libghc6-haxml-dev.substvars
>         (grep -s -v haskell:Depends
> debian/libghc6-haxml-dev.substvars; echo "haskell:Depends=ghc6 (>=
> 6.4.1)") > debian/libghc6-haxml-dev.substvars.new
>         mv debian/libghc6-haxml-dev.substvars.new
> debian/libghc6-haxml-dev.substvars
>         (grep -s -v haskell:Depends
> debian/libghc6-haxml-dev.substvars; echo "haskell:Depends=ghc6 (>=
> 6.4.1), ghc6 (<< 6.4.1-999)") > debian/libghc6-haxml-dev.substvars.new
>         mv debian/libghc6-haxml-dev.substvars.new
> debian/libghc6-haxml-dev.substvars
> ghc-6.4.1 /usr/lib/haskell-packages/ghc6/lib/HaXml
> Pacakge-1.13.1
> 1.0 HaXml
> Pacakge 1.13.1
> 1.0
>         echo "# Automatically added by dh_haskell_prep">>
> debian/libghc6-haxml-dev.postinst.debhelper
>         sed 
"s%#GHCVER#%ghc-6.4.1%;s%#PKGLIBDIR#%/usr/lib/haskell-packages/ghc6/lib/HaXml
> Pacakge-1.13.1
> 1.0%" /usr/share/debhelper/autoscripts/postinst-ghc >>
> debian/libghc6-haxml-dev.postinst.debhelper
> sed: -e expression #1, char 76: unterminated `s' command
> dh_haskell_prep: command returned error code
>
>
> On 8/18/06, Jeremy Shaw <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I would use:
> >
> > darcs get http://www.n-heptane.com/nhlab/repos/cabalDebianTemplate/
> >
> > as a starting point. Once you are familiar with the framework, you
> > should be able to debianize a package in a minute or two since you do
> > not have to put good Descriptions in debian/control. I think writing
> > the Descriptions is the longest step.
> >
> > j.
> >
> > ps. It should be possible to automate the template instantiation,
> > making it even faster, but this is not done yet.
> >
> >
> > At Fri, 18 Aug 2006 15:30:19 +0200,
> > Johan Tibell wrote:
> > >
> > > Hi,
> > >
> > > I would like to build deb packages of some libraries and maybe also
> > > GHC 6.5 for personal use (so I can uninstall the stuff easily later).
> > > What would the steps be?
> > >
> > > Thanks in advance,
> > >
> > > Johan Tibell
> > >
> > > _______________________________________________
> > > debian-haskell mailing list
> > > [email protected]
> > > http://urchin.earth.li/mailman/listinfo/debian-haskell
> >

Attachment: control
Description: Binary data

Attachment: HaXml.cabal
Description: Binary data

_______________________________________________
debian-haskell mailing list
[email protected]
http://urchin.earth.li/mailman/listinfo/debian-haskell

Reply via email to