Re: [R] Package installation problem
Hi John, This is a bit off-topic for this mailing list as your issue is a linux, specifically Fedora, issue, and not R. I don't use Fedora but I did a quick Google search on fedora missing package .pc file and that came back with a lot of hits. This one in particular should be a good place to start. It gives some explanation as to when installation will result in a .pc file (seems to relate to -dev versions). https://stackoverflow.com/questions/33050517/supply-pc-file-for-pkg-config HTH, Eric On Fri, May 29, 2020 at 8:03 AM John via R-help wrote: > > I'm not certain just what this problem is. Trying to install the > "curl" package, which "tseries" wants results in the following error: > > > Package libcurl was not found in the pkg-config search path. > Perhaps you should add the directory containing `libcurl.pc' > to the PKG_CONFIG_PATH environment variable > Package 'libcurl', required by 'virtual:world', not found > Package libcurl was not found in the pkg-config search path. > Perhaps you should add the directory containing `libcurl.pc' > to the PKG_CONFIG_PATH environment variable > Package 'libcurl', required by 'virtual:world', not found > Using PKG_CFLAGS= > Using PKG_LIBS=-lcurl > - ANTICONF ERROR --- > Configuration failed because libcurl was not found. Try installing: > * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc) > * rpm: libcurl-devel (Fedora, CentOS, RHEL) > * csw: libcurl_dev (Solaris) > If libcurl is already installed, check that 'pkg-config' is in your > PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config > is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: > R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...' > > ERROR: configuration failed for package ‘curl’ > * removing ‘/home/john/R/x86_64-redhat-linux-gnu-library/3.6/curl’ > Warning in install.packages : > installation of package ‘curl’ had non-zero exit status > > > However, libcurl is installed, installed. What does seem to missing is > "libcurl.pc". The ../pkgconfig directory contains a number of > different *.pc files, but not that one. I'm asking here first because > someone else may have already encountered and solved this. I'm running > Fedora 32 with kde on a 4 X AMD system. I just updated Fedora. > > JWDougherty > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Package installation problem
On Fri, 29 May 2020 08:47:35 +0300 Eric Berger wrote: > Hi John, > This is a bit off-topic for this mailing list as your issue is a > linux, specifically Fedora, issue, and not R. > I don't use Fedora but I did a quick Google search on > > fedora missing package .pc file > > and that came back with a lot of hits. This one in particular should > be a good place to start. > It gives some explanation as to when installation will result in a .pc > file (seems to relate to -dev versions). > > https://stackoverflow.com/questions/33050517/supply-pc-file-for-pkg-config > > HTH, > Eric > Thanks Eric. I wasn't sure where the hick-up was (R or Fedora). The library the error message said couldn't be found was right where it belonged. The first thing I did was check that the *devel file was in the lib64 directory, and it was. The pc file was the only vagrant, and it was not on the system at all. I'm going to try to get sense out of Fedora about this because with "devel" files it should have been. When I reinstalled this latest time from the command line, the "pc" file was placed just as it should have been. The threads on stackoverflow are four years old, so this has been around in one form or another for a while. Again, thanks, JWDougherty __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Package installation problem
On Fri, 29 May 2020 18:36:39 +0200 Martin Møller Skarbiniks Pedersen wrote: > sudo dnf install libcurl-devel Martin, I was going to say I had already done that more than once, using both the command line and the new "dnfdragora" package manager, but then decided, "what the heck. I'll try again." This time the *.pc file appeared where it belonged. So, thank you. Evidently, I tweaked the right thing, whatever it was, right before I gave up and wrote my request, thinking that if FC32 broke my tseries installation, it would have broken others. As usual the r-list is quicker, and much more helpful. I'll pass this along to Fedora, since there seems to be a problem of some kind. libcurl-devel was already installed on my system, the first thing I ckecked. It was just the *.pc file that was the problem. Thanks, JWDougherty __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Package installation problem
On Fri, 29 May 2020 at 07:03, John via R-help wrote: > I'm not certain just what this problem is. Trying to install the > "curl" package, which "tseries" wants results in the following error: > > > Package libcurl was not found in the pkg-config search path. > Perhaps you should add the directory containing `libcurl.pc' > Just run: sudo dnf install libcurl-devel Regards Martin [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Package installation problem
The library alone is not enough... you have to have the development headers for compiling code against the library. On May 28, 2020 10:03:18 PM PDT, John via R-help wrote: >I'm not certain just what this problem is. Trying to install the >"curl" package, which "tseries" wants results in the following error: > > >Package libcurl was not found in the pkg-config search path. >Perhaps you should add the directory containing `libcurl.pc' >to the PKG_CONFIG_PATH environment variable >Package 'libcurl', required by 'virtual:world', not found >Package libcurl was not found in the pkg-config search path. >Perhaps you should add the directory containing `libcurl.pc' >to the PKG_CONFIG_PATH environment variable >Package 'libcurl', required by 'virtual:world', not found >Using PKG_CFLAGS= >Using PKG_LIBS=-lcurl >- ANTICONF ERROR --- >Configuration failed because libcurl was not found. Try installing: > * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc) > * rpm: libcurl-devel (Fedora, CentOS, RHEL) > * csw: libcurl_dev (Solaris) >If libcurl is already installed, check that 'pkg-config' is in your >PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config >is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: >R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...' > >ERROR: configuration failed for package ‘curl’ >* removing ‘/home/john/R/x86_64-redhat-linux-gnu-library/3.6/curl’ >Warning in install.packages : > installation of package ‘curl’ had non-zero exit status > > >However, libcurl is installed, installed. What does seem to missing is >"libcurl.pc". The ../pkgconfig directory contains a number of >different *.pc files, but not that one. I'm asking here first because >someone else may have already encountered and solved this. I'm running >Fedora 32 with kde on a 4 X AMD system. I just updated Fedora. > >JWDougherty > >__ >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. -- Sent from my phone. Please excuse my brevity. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Package installation problem
I'm not certain just what this problem is. Trying to install the "curl" package, which "tseries" wants results in the following error: Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable Package 'libcurl', required by 'virtual:world', not found Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable Package 'libcurl', required by 'virtual:world', not found Using PKG_CFLAGS= Using PKG_LIBS=-lcurl - ANTICONF ERROR --- Configuration failed because libcurl was not found. Try installing: * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc) * rpm: libcurl-devel (Fedora, CentOS, RHEL) * csw: libcurl_dev (Solaris) If libcurl is already installed, check that 'pkg-config' is in your PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...' ERROR: configuration failed for package ‘curl’ * removing ‘/home/john/R/x86_64-redhat-linux-gnu-library/3.6/curl’ Warning in install.packages : installation of package ‘curl’ had non-zero exit status However, libcurl is installed, installed. What does seem to missing is "libcurl.pc". The ../pkgconfig directory contains a number of different *.pc files, but not that one. I'm asking here first because someone else may have already encountered and solved this. I'm running Fedora 32 with kde on a 4 X AMD system. I just updated Fedora. JWDougherty __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] package installation problem.
Dear friends from the R-community, I am djipie, bokaha and live in Germany. I am a student and user of R. During the installation of the package Metrics I had a pronlem as shown below: install.packages(Metrics) Warnung in install.packages(Metrics) : Argument 'lib' fehlt: nutze 'C:\Users\Guyso\Documents/R/win-library/2.10' --- Bitte einen CRAN Spiegel für diese Sitzung auswählen --- Warnung: kann nicht auf den Index für das Repository http://ftp.yalwa.org/cran/bin/windows/contrib/2.10 zugreifen Warnung: kann nicht auf den Index für das Repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.10 zugreifen Warnmeldung: In getDependencies(pkgs, dependencies, available, lib) : package âMetricsâ is not available For your help I thank you in advance. Friendly greetings Djipie,bokaha [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] package installation problem.
Easiest answer would be to update to a more recent version of R: I'm not sure binaries are available for 2.10.z anymore. Cheers, M On Thu, Sep 13, 2012 at 12:35 PM, bokaha guy bokah...@yahoo.fr wrote: Dear friends from the R-community, I am djipie, bokaha and live in Germany. I am a student and user of R. During the installation of the package Metrics I had a pronlem as shown below: install.packages(Metrics) Warnung in install.packages(Metrics) : Argument 'lib' fehlt: nutze 'C:\Users\Guyso\Documents/R/win-library/2.10' --- Bitte einen CRAN Spiegel für diese Sitzung auswählen --- Warnung: kann nicht auf den Index für das Repository http://ftp.yalwa.org/cran/bin/windows/contrib/2.10 zugreifen Warnung: kann nicht auf den Index für das Repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.10 zugreifen Warnmeldung: In getDependencies(pkgs, dependencies, available, lib) : package ‘Metrics’ is not available For your help I thank you in advance. Friendly greetings Djipie,bokaha [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] package installation problem.
On 13.09.2012 17:14, R. Michael Weylandt wrote: Easiest answer would be to update to a more recent version of R: I'm not sure binaries are available for 2.10.z anymore. R-2.10.x is no longer supported, but binaries that were built years ago for that version of R are still available on CRAN mirrors. The mirror selected is just not working, hence use another mirror. The other message shows that the CRAN extras repository does not provide binaries for such outdated versions of R. Anyway, upgrading is highly recommended. Best, Uwe Ligges Cheers, M On Thu, Sep 13, 2012 at 12:35 PM, bokaha guy bokah...@yahoo.fr wrote: Dear friends from the R-community, I am djipie, bokaha and live in Germany. I am a student and user of R. During the installation of the package Metrics I had a pronlem as shown below: install.packages(Metrics) Warnung in install.packages(Metrics) : Argument 'lib' fehlt: nutze 'C:\Users\Guyso\Documents/R/win-library/2.10' --- Bitte einen CRAN Spiegel für diese Sitzung auswählen --- Warnung: kann nicht auf den Index für das Repository http://ftp.yalwa.org/cran/bin/windows/contrib/2.10 zugreifen Warnung: kann nicht auf den Index für das Repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.10 zugreifen Warnmeldung: In getDependencies(pkgs, dependencies, available, lib) : package ‘Metrics’ is not available For your help I thank you in advance. Friendly greetings Djipie,bokaha [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.