[Haskell-cafe] ghc-6.12 can't works with Cabal-1.8.0.4?
Andy Stewart
lazycat.manatee at gmail.com
Mon Jul 12 23:44:31 EDT 2010
Hi all,
I upload package http://hackage.haskell.org/package/poppler-0.11.1
I can compile it on my box, but it build failure at hackage with below error:
------------------------------> error start <------------------------------
*** setup configure
Reading installed packages...
/usr/local/bin/ghc-pkg dump --global
/usr/local/bin/ghc-pkg dump --user
/usr/local/bin/ghc --print-libdir
Creating setup (and its parents)
/usr/local/bin/ghc -package Cabal-1.8.0.4 --make Setup.hs -o setup/setup -odir setup -hidir setup
<command line>: cannot satisfy -package Cabal-1.8.0.4
(use -v for more information)
*** Trying again with preferred-versions
*** setup configure
Reading installed packages...
/usr/local/bin/ghc-pkg dump --global
/usr/local/bin/ghc-pkg dump --user
/usr/local/bin/ghc --print-libdir
Creating setup (and its parents)
/usr/local/bin/ghc -package Cabal-1.8.0.4 --make Setup.hs -o setup/setup -odir setup -hidir setup
<command line>: cannot satisfy -package Cabal-1.8.0.4
(use -v for more information)
------------------------------> error end <------------------------------
My poppler.cabal is
------------------------------> poppler.cabal start <------------------------------
Name: poppler
Version: 0.11.1
License: GPL-2
License-file: COPYING
Copyright: (c) 2001-2010 The Gtk2Hs Team
Author: Andy Stewart
Maintainer: gtk2hs-users at sourceforge.net
Build-Type: Custom
Cabal-Version: >= 1.6
Stability: stable
homepage: http://www.haskell.org/gtk2hs/
bug-reports: http://hackage.haskell.org/trac/gtk2hs/
Synopsis: Binding to the Poppler.
Description: Poppler is a fork of the xpdf PDF viewer, to provide PDF rendering functionality as a shared
library, to centralize the maintenance effort.
And move to forward in a number of areas that don't fit within the goals of xpdf.
Category: Graphics
Tested-With: GHC == 6.12.3
Extra-Source-Files: Gtk2HsSetup.hs
hierarchy.list
template-hsc-gtk2hs.h
x-Types-File: Graphics/UI/Gtk/Poppler/Types.chs
x-Types-ModName: Graphics.UI.Gtk.Poppler.Types
x-Types-Import: System.Glib.GObject
x-Types-Lib: poppler
x-Types-Prefix: poppler
x-Types-Tag: poppler
x-Types-Hierarchy: hierarchy.list
Data-Dir: demo
Data-Files: PdfViewer.hs
Makefile
Source-Repository head
type: darcs
location: http://patch-tag.com/r/AndyStewart/poppler
Library
build-depends: base >= 4 && < 5, array, containers, haskell98, mtl, bytestring,
glib >= 0.11 && < 0.12,
cairo >= 0.11 && < 0.12,
gtk >= 0.11 && < 0.12
build-tools: gtk2hsC2hs, gtk2hsHookGenerator, gtk2hsTypeGen
exposed-modules:
Graphics.UI.Gtk.Poppler.Action
Graphics.UI.Gtk.Poppler.Attachment
Graphics.UI.Gtk.Poppler.Document
Graphics.UI.Gtk.Poppler.FormField
Graphics.UI.Gtk.Poppler.Layer
Graphics.UI.Gtk.Poppler.Page
Graphics.UI.Gtk.Poppler.Poppler
other-modules:
Graphics.UI.Gtk.Poppler.Enums
Graphics.UI.Gtk.Poppler.Structs
Graphics.UI.Gtk.Poppler.Types
extensions: ForeignFunctionInterface
include-dirs: .
x-c2hs-Header: glib/poppler.h
pkgconfig-depends: poppler-glib >= 0.12.4, gobject-2.0, glib-2.0, cairo >= 1.2.0, gdk-2.0, gdk-pixbuf-2.0, pango
------------------------------> poppler.cabal end <------------------------------
Something is wrong?
Thanks,
-- Andy
More information about the Haskell-Cafe
mailing list