You are not logged in.

#1 2015-09-07 21:52:09

mrapp
Member
Registered: 2015-09-07
Posts: 2

Bluetile installation fails

Hello everybody,

I want to test out Bluetile on my Arch machine, but I am running into errors when trying to install it using cabal. I followed the instructions on the Bluetile wiki page. Here is what I did:

First I successfully installed the listed dependencies:

# pacman -S ghc cabal-install gtk2hs-buildtools xmonad-contrib

Then I updated cabal using the following command. It terminated without errors.

# cabal update

Then I tried to install Bluetile, but it failed:

# cabal install bluetile

The output of the install command looked like follows:

Resolving dependencies...
Configuring cairo-0.12.5.3...
Configuring glib-0.12.5.4...
Failed to install glib-0.12.5.4
Build log ( /root/.cabal/logs/glib-0.12.5.4.log ):
Failed to install cairo-0.12.5.3
Build log ( /root/.cabal/logs/cairo-0.12.5.3.log ):
cabal: Error: some packages failed to install:
bluetile-0.6 depends on cairo-0.12.5.3 which failed to install.
cairo-0.12.5.3 failed during the configure step. The exception was:
user error ('/usr/bin/ghc' exited with an error:

/tmp/cairo-0.12.5.3-31264/cairo-0.12.5.3/SetupWrapper.hs:91:17:
Ambiguous occurrence ‘die’
It could refer to either ‘Distribution.Simple.Utils.die’,
imported from ‘Distribution.Simple.Utils’ at
/tmp/cairo-0.12.5.3-31264/cairo-0.12.5.3/SetupWrapper.hs:8:1-32
or ‘System.Exit.die’,
imported from ‘System.Exit’ at
/tmp/cairo-0.12.5.3-31264/cairo-0.12.5.3/SetupWrapper.hs:21:1-18
)
gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
glade-0.12.5.0 depends on cairo-0.12.5.3 which failed to install.
glib-0.12.5.4 failed during the configure step. The exception was:
user error ('/usr/bin/ghc' exited with an error:

/tmp/glib-0.12.5.4-31264/glib-0.12.5.4/SetupWrapper.hs:91:17:
Ambiguous occurrence ‘die’
It could refer to either ‘Distribution.Simple.Utils.die’,
imported from ‘Distribution.Simple.Utils’ at
/tmp/glib-0.12.5.4-31264/glib-0.12.5.4/SetupWrapper.hs:8:1-32
or ‘System.Exit.die’,
imported from ‘System.Exit’ at
/tmp/glib-0.12.5.4-31264/glib-0.12.5.4/SetupWrapper.hs:21:1-18
)
gtk-0.12.5.7 depends on cairo-0.12.5.3 which failed to install.
pango-0.12.5.3 depends on cairo-0.12.5.3 which failed to install.

What I understand is that there were compile errors when building the packages cairo-0.12.5.3 and glib-0.12.5.4. The log files mentioned in the output are empty. This was the first time I tried to install something using cabal. Therefore I don't know where to start to solve this issue. Any help is appreciated.

Thank you in advance

Offline

Board footer

Powered by FluxBB