NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.11k stars 14.15k forks source link

mongolite rPackage #45611

Closed mredaelli closed 3 years ago

mredaelli commented 6 years ago

Issue description

Installing mongolite rPackage fails

Steps to reproduce

Create a default.nix:

with import <nixpkgs> {};
let
  R-stuff = rWrapper.override{ packages = with rPackages; [ mongolite ]; };
in stdenv.mkDerivation {
  name = "rtest";
  buildInputs = [ R-stuff ];
}

and nix-shell.

* installing *source* package 'mongolite' ...
** package 'mongolite' successfully unpacked and MD5 sums checked
Using PKG_CFLAGS=
Using PKG_LIBS=-lssl -lcrypto -lsasl2 -lresolv
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because openssl/sasl was not found. Try installing:
 * deb: libssl-dev, libsasl2-dev (Debian, Ubuntu, etc)
 * rpm: openssl-devel, cyrus-sasl-devel (Fedora, CentOS, RHEL)
 * csw: libssl_dev, sasl_dev (Solaris)
 * brew: openssl (Mac OSX)
If openssl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a openssl.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 'mongolite'

Technical details

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.
jbedo commented 3 years ago

This has been resolved by 028e67abced1a1609fa336c7e5489ed7058909f1.