On 29/08/12 09:04, Anthropornis Nordenskjoldi wrote:
> Hello, I'm running Ubuntu 12.04 64bit, and when trying to install
> happindicator to try to the indicator example[1] on the Ubuntu App
> Developer site, I get the following output:
>
> $ cabal install happindicator
> Resolving dependencies...
>
> /tmp/happindicator-0.0.4-2272/happindicator-0.0.4/Gtk2HsSetup.hs:25:2:
>       warning: #warning Setup.hs is guessing the version of Cabal. If
> compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal
> version 1.x.0 when building (prefixed by --ghc-option= when using the
> 'cabal' command) [-Wcpp]
> [1 of 2] Compiling Gtk2HsSetup      (
> /tmp/happindicator-0.0.4-2272/happindicator-0.0.4/Gtk2HsSetup.hs,
> /tmp/happindicator-0.0.4-2272/happindicator-0.0.4/dist/setup/Gtk2HsSetup.o )
> [2 of 2] Compiling Main             (
> /tmp/happindicator-0.0.4-2272/happindicator-0.0.4/Setup.hs,
> /tmp/happindicator-0.0.4-2272/happindicator-0.0.4/dist/setup/Main.o )
> Linking
> /tmp/happindicator-0.0.4-2272/happindicator-0.0.4/dist/setup/setup ...
> Configuring happindicator-0.0.4...
> setup: The pkg-config package appindicator-0.1 is required but it could
> not be
> found.
> cabal: Error: some packages failed to install:
> happindicator-0.0.4 failed during the configure step. The exception was:
> ExitFailure 1
>
>
> I wasn't sure if it was looking for an Ubuntu repo package, but the only
> thing I see in the repo with a similar name is gir1.2-appindicator-0.1.
> Is there anything I can do to make this work? Thanks!

I think you probably don't have libappindicator-dev installed, and so 
the pkgconfig check is failing.

It should be in Ubuntu:

andrew@mutate:~$ cat /etc/issue
Ubuntu 12.04.1 LTS \n \l

andrew@mutate:~$ apt-cache show libappindicator-dev
Package: libappindicator-dev
Priority: optional
Section: libdevel
Installed-Size: 155
Maintainer: Ubuntu Desktop Team <ubuntu-desk...@lists.ubuntu.com>
Architecture: amd64
Source: libappindicator
Version: 0.4.92-0ubuntu1
Depends: libdbusmenu-glib-dev (>= 0.1.8), libdbus-glib-1-dev (>= 0.76), 
libappindicator1 (= 0.4.92-0ubuntu1)
Filename: 
pool/main/liba/libappindicator/libappindicator-dev_0.4.92-0ubuntu1_amd64.deb
Size: 11434
MD5sum: 49686a8269e3f8800223fcc145c191c4
SHA1: 6c942a4f9992606b6ea6b139587cbca6526e5966
SHA256: a215b7e4c3b6ab1f5e7ed656b243d12539d5e9dafbf494c4651599b5830b98f2
Description-en: Application Indicators
  A library and indicator to take menus from applications and place them in
  the panel.
  .
  This package contains files that are needed to build applications.
Homepage: https://launchpad.net/libappindicator
Description-md5: 8892169afb7b9bc499e71c9594bafe1b
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 18m

Best wishes,
Andrew


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to