Skip to content

Failure to compile 0.35 on Ubuntu 20.04 #471

Open
@p-phillips

Description

@p-phillips

I'm trying to upgrade my R packages on an Ubuntu 20.04 install to git2r 0.35

I've got libgit2-dev installed:

# apt list --installed| egrep libgit
libgit-wrapper-perl/focal,focal,now 0.048-1 all [installed,automatic]
libgit2-28/focal-updates,focal-security,now 0.28.4+dfsg.1-2ubuntu0.1 amd64 [installed,automatic]
libgit2-dev/focal-updates,focal-security,now 0.28.4+dfsg.1-2ubuntu0.1 amd64 [installed,automatic]
libgit2-glib-1.0-0/focal,now 0.28.0.1-2 amd64 [installed,automatic]
libgit2-glib-1.0-dev/focal,now 0.28.0.1-2 amd64 [installed]
libgitlab-api-v4-perl/focal,focal,now 0.25-1 all [installed,automatic]

but I'm getting the

configure: error: package dependency requirement 'libgit2 >= 1.0' could not be satisfied.
See 'config.log' for more details
ERROR: configuration failed for package ‘git2r’

error message. I've installed the GIT MAINTAINERS ppa but still the same error message.

My suspicion is that my problem is that I don't have a sufficiently up to date version of the development libraries? - I can't find anything obvious regarding a libgit2-dev PPA that would upgrade the library from 0.28.4.

Advice appreciated. Thanks. Pete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions