Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with the new version #474

Open
tkcaccia opened this issue Nov 27, 2024 · 0 comments
Open

issue with the new version #474

tkcaccia opened this issue Nov 27, 2024 · 0 comments

Comments

@tkcaccia
Copy link

There are issues with the new version. The package cannot link to the library libgit2


   Configuration failed to find libgit2 library. Try installing:
     * brew: libgit2 (MacOS)
     * deb: libgit2-dev   (Debian, Ubuntu, etc)
     * rpm: libgit2-devel (Fedora, CentOS, RHEL)
   and try again.

   If the libgit2 library is installed on your system but the git2r
   configuration is unable to find it, you can specify the include and
   lib path to libgit2 with:

   given you downloaded a tar-gz archive:
   R CMD INSTALL git2r-.tar.gz --configure-vars='INCLUDE_DIR=/path/to/include LIB_DIR=/path/to/lib'

   or cloned the GitHub git2r repository into a directory:
   R CMD INSTALL git2r/ --configure-vars='INCLUDE_DIR=/path/to/include LIB_DIR=/path/to/lib'

   or download and install git2r in R using
   install.packages('git2r', type='source', configure.vars='LIB_DIR=-L/path/to/libs INCLUDE_DIR=-I/path/to/headers')

  -----------------------------------------------------------------------


configure: error: in '/tmp/RtmpC68Wst/R.INSTALL2b147178c0db13/git2r':
configure: error: package dependency requirement 'libgit2 >= 1.0' could not be satisfied.
See 'config.log' for more details
ERROR: configuration failed for package ‘git2r’
* removing ‘/home/01481067/R/x86_64-pc-linux-gnu-library/4.4/git2r’

The downloaded source packages are in
	‘/tmp/RtmpuVeHGi/downloaded_packages’
Warning message:
In install.packages("git2r") :
  installation of package ‘git2r’ had non-zero exit status

Previous version works without problems
remotes::install_version("git2r", "0.33.0")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant