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

error: pathspec 'r2-5.3.1' did not match any file(s) known to git #35

Open
APIPLM opened this issue Dec 15, 2021 · 7 comments
Open

error: pathspec 'r2-5.3.1' did not match any file(s) known to git #35

APIPLM opened this issue Dec 15, 2021 · 7 comments

Comments

@APIPLM
Copy link

APIPLM commented Dec 15, 2021

Following the steps:

  1. yum install radare2
  2. r2pm -i rlang-python

error: pathspec 'r2-5.3.1' did not match any file(s) known to git

Then cd ./radare2/r2pm/git/radare2-rlang , then ./configure

Using PKGCONFIG: /usr/bin/pkg-config
checking pkg-config flags for r_core... no
This package is required

I am on Centos 7

@trufae
Copy link
Contributor

trufae commented Dec 15, 2021

This is a warning you can ignore. Its just trying to fetch a commit that works for such an old version of r2. But as long as there’s no issue it just pulls master.

the second error is because you dont have:

  • pkgconfig installed
  • The development package of radare2

I would suggest you to install r2 from git or ping the maintainer to get it updated to .5.5.4

@APIPLM
Copy link
Author

APIPLM commented Dec 15, 2021

Thanks. It should update to the latest version of radareorg/radare2. There are two compilation errors during compiling radareorg/radare2-rlang/python with version 5.3.1. But on my site, clone https:// take for a while or even get blocked. The installation scripts in repo radareorg/radare2 mostly have to clone its dependencies project from the github , then it can go forward.

@APIPLM
Copy link
Author

APIPLM commented Dec 15, 2021

And also in the archive repo , in both CensOS 7 and CensOS 8 Linux platform , the only available version is 5.3.1, is there any place to download the version 5.5.4 of radare2-devel? Or I have to git clone the version 5.5.4 of radareorg/radare2 to build because the radareorg/radare2-rlang dependence on the the radare2-devel 5.5.4?

@Envincion
Copy link

i have been digging around to fix checking pkg-config flags for r_core... no
any idea how to ? for someone not that experience in deep solving codes and strange tools
i never used pkg-config tool before
i just need to fix that to be able to proceed learning binary exploits

@APIPLM
Copy link
Author

APIPLM commented May 2, 2022

I have not investigated this yet. But as I talked with people about pkg-config, It is a standard tool in some of Lunix distribution like freedesktop.org

@APIPLM
Copy link
Author

APIPLM commented May 2, 2022

One more thing I found out is the pkg-config tool like Work with the meta infomation of building the installed package,which is the *.pc file.

@Envincion
Copy link

i fixed it by sudo apt-get install libxxhash-dev

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

3 participants