Не могу найти curl-config в Ubuntu 13.04

Я устанавливаю пакет RCurl в R и получаю сообщение об ошибке

  checking for curl-config... no
  Cannot find curl-config
  ERROR: configuration failed for package ‘RCurl’

Я пытался установить libcurl в Ubuntu, но это не решает мою проблему, есть некоторые зависимости

sudo apt-get install libcurl4-gnutls-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:
libcurl4-gnutls-dev : Depends: libcurl3-gnutls (= 7.29.0-1ubuntu3.1) but 7.29.0-1ubuntu3.2 is to be installed
Depends: libldap2-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
[ 119] locate curl config мне ничего не дает:

locate curl-config
curl-config
The program 'curl-config' can be found in the following packages:
* libcurl4-gnutls-dev
* libcurl4-nss-dev
* libcurl4-openssl-dev

Я прошел через некоторое решение RCurl , но оно работает. Можете ли вы предложить или помочь в этом направлении. Большое вам спасибо.

Редактировать

, когда я пытался установить (Curl) из Центра программного обеспечения Ubuntu, получил то же сообщение об ошибке

Зависимости пакета не могут быть разрешены

Эта ошибка может быть вызвана необходимыми дополнительными программными пакетами, которые отсутствуют или не устанавливаются. Кроме того, может возникнуть конфликт между программными пакетами, которые нельзя устанавливать одновременно.

Следующие пакеты имеют неудовлетворенные зависимости:

 curl: Depends: libcurl3 (= 7.29.0-1ubuntu3.1) but 7.29.0-1ubuntu3.2 is to be installed
  Depends: zlib1g (>= 1:1.1.4) but 1:1.2.7.dfsg-13ubuntu2 is to be installed

EDITED

sudo aptitude install libcurl4-openssl-dev

The following NEW packages will be installed:
libcurl4-openssl-dev{b} 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,210 kB of archives. After unpacking 2,778 kB will be used.
The following packages have unmet dependencies:
libcurl4-openssl-dev : Depends: libcurl3 (= 7.29.0-1ubuntu3.1) but 7.29.0-1ubuntu3.2 is installed.
                    Depends: libidn11-dev but it is not going to be installed.
                    Depends: libkrb5-dev but it is not going to be installed.
                    Depends: libldap2-dev but it is not going to be installed.
                    Depends: librtmp-dev but it is not going to be installed.
                    Depends: libssl-dev but it is not going to be installed.
 The following actions will resolve these dependencies:
 Keep the following packages at their current version:
 1)     libcurl4-openssl-dev [Not Installed]               
43
задан 20 February 2015 в 12:31

2 ответа

3 пакета, которые Вы нашли для содержания curl-config:

  1. libcurl4-gnutls-dev
  2. libcurl4-nss-dev
  3. libcurl4-openssl-dev

У всех, кажется, есть та же функциональность. Я установил первый из них через Синаптический Диспетчер пакетов и затем смог установить RCurl от CRAN.

Так, если Вы выбираете первую опцию, открываете клеммную коробку и делаете

sudo apt-get install libcurl4-gnutls-dev

затем войдите в R и сделайте

install.packages("RCurl")
68
ответ дан 20 February 2015 в 12:31

Вот что я сделал, чтобы решить ту же проблему:

sudo aptitude install libcurl4-openssl-dev

И когда мне предложат принять решение, [Y / n / q]

 :
 The following actions will resolve these dependencies:
 Keep the following packages at their current version:
 1)     libcurl4-openssl-dev [Not Installed]      
 :

ответят «n» , Затем ответьте [Y], когда будет предложено другое действие.

0
ответ дан 20 February 2015 в 12:31

Другие вопросы по тегам:

Похожие вопросы: