[diagrams] Installation question

Sung mapobridge at gmail.com
Mon Aug 20 04:58:47 BST 2012


Hi all,

I am trying to install diagrams and getting the error message below.  Any
help will be appreciated. I am on Ubuntu 12.04 (couldn't install diagrams
on OS X Lion) with the newest HP.

'cabal install gtk2hs-buildtools' went fine.
When 'cabal install diagrams' I get:

Resolving dependencies...
[1 of 2] Compiling SetupWrapper     (
/tmp/pango-0.12.3-4950/pango-0.12.3/SetupWrapper.hs,
/tmp/pango-0.12.3-4950/pango-0.12.3/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main             (
/tmp/pango-0.12.3-4950/pango-0.12.3/Setup.hs,
/tmp/pango-0.12.3-4950/pango-0.12.3/dist/setup/Main.o )
Linking /tmp/pango-0.12.3-4950/pango-0.12.3/dist/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs,
dist/setup-wrapper/Gtk2HsSetup.o
)
[2 of 2] Compiling Main             ( SetupMain.hs,
dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring pango-0.12.3...
setup: The pkg-config package pango version >=1.0 is required but it could
not
be found.
cabal: Error: some packages failed to install:
diagrams-0.5 depends on pango-0.12.3 which failed to install.
diagrams-cairo-0.5.0.1 depends on pango-0.12.3 which failed to install.
gtk-0.12.3 depends on pango-0.12.3 which failed to install.
pango-0.12.3 failed during the configure step. The exception was:
ExitFailure 1


When I try 'sudo apt-get install libpango1.0-0' i get:
'libpango1.0-0 is already the newest version.'

Thanks.

sy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/diagrams/attachments/20120819/e7720240/attachment.htm>


More information about the diagrams mailing list