[Pkg-haskell-maintainers] apt-get install and cabal install

Semen Trygubenko semen at trygub.com
Thu Aug 30 10:46:00 UTC 2012


Hi Debian Haskell Group,

Most of the haskell packages that I required are now
packaged for Ubuntu 12.04 and I was using apt to get
them. However, some packages were not packaged so I
installed them on top using cabal.

Is there a document that describes the interaction of
packages available through cabal and packages available
through apt?

I have ran into a situation where I need to get the latest
package because it contains a bug fix, and I am unable to
produce a combination of apt and cabal installations that
works.

Depending on what combination of cabal and apt
installations I specify I am either able to install
happstack-server 7.0.4 or I run into the following error:


Loading package text-0.11.1.13 ... 

GHCi runtime linker: fatal error: I found a duplicate definition for symbol
   _hs_text_decode_utf8
whilst processing object file
   /usr/lib/haskell-packages/ghc/lib/text-0.11.1.13/ghc-7.4.1/HStext-0.11.1.13.o
This could be caused by:
   * Loading two different object files which export the same symbol
   * Specifying the same object file twice on the GHCi command line
   * An incorrect `package.conf' entry, causing some object to be
     loaded twice.
GHCi cannot safely continue in this situation.  Exiting now.  Sorry.

cabal: Error: some packages failed to install:
happstack-server-7.0.4 failed during the building phase. The exception was:
ExitFailure 1


Could you pleas ehelp?

Many thanks,
Sem

-- 
Семен Тригубенко
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20120830/5f65fd3a/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list