Hello, Try this:
1) debian/rules clean 2) grep -rHs Pacakge * Note that 'Pacakge' is misspelled -- that is a typo from my sample Package.cabal. You should only have the HaXml.cabal file in your source tree now -- so I am not sure why that typo is appear in the output for dh_haskell. Perhaps it is because you had a cached file somewhere. If you still don't have it working. Please tar up what you have and email it to just me off the list. Thanks. j. At Sat, 19 Aug 2006 21:28:54 +0200, Johan Tibell wrote: > > [1 <text/plain; ISO-8859-1 (7bit)>] > 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 > > > > > > > [2 control <application/octet-stream (base64)>] > > [3 HaXml.cabal <application/octet-stream (base64)>] > _______________________________________________ debian-haskell mailing list [email protected] http://urchin.earth.li/mailman/listinfo/debian-haskell

