RMagick install problem

12

Não consigo instalar o RMagick devido ao seguinte problema de dependência depois de tentar sudo apt-get install libmagick9-dev ( necessário de acordo com isso ) no Ubuntu 10.0.4:

Note, selecting libmagickwand-dev instead of libmagick9-dev Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies:
    libmagickwand-dev:
        Depends: libmagickwand2 (= 7:6.5.7.8-1ubuntu1.1) but it is not going to be installed
        Depends: libmagickcore2-extra (= 7:6.5.7.8-1ubuntu1.1) but it is not going to be installed
        Depends: libmagickcore-dev (= 7:6.5.7.8-1ubuntu1.1) but it is not going to be installed

Tentando instalar o apt-get libmagickwand2, eu entendi:

> The following packages have unmet dependencies:   libmagickwand2:
> Depends: libice6 (>= 1:1.0.0) but it is not installable
>                   Depends: libjpeg62 but it is not installable
>                   Depends: libmagickcore2 (>= 7:6.5.7.8) but it is not going to be installed
>                   Depends: libsm6 but it is not installable
>                   Depends: libtiff4 but it is not going to be installed
>                   Depends: libxt6 but it is not installable
    
por mahemoff 13.03.2012 / 11:38

3 respostas

17

Isso funciona:

sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev

de acordo com o comentário de dalibor-filus abaixo.

[ Resposta original - Ok, parece que resolvi isso com apt-get install imagemagick libmagickwand-dev , então libmagick9-dev não foi necessário. ]

    
por mahemoff 13.03.2012 / 11:53
0

Eu tive esse problema no Ubuntu 11.10, e a solução da @mahemoff não funcionou para mim. No final, eu desinstalei tudo do ImageMagick e compilei a versão mais recente do ImageMagick a partir do código-fonte, e depois o rmagick foi instalado bem.

    
por jackocnr 19.11.2012 / 13:59
0

Tente isso para o OSX: link

Isso funcionou muito bem para mim, onde apt-get e brew falharam

    
por Jarrett Streebin 24.02.2013 / 21:57