question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conan install fails creating Makefile on Fedora 35

See original GitHub issue

System information:

hostname = fedora
uname -m = x86_64
uname -r = 5.16.16-200.fc35.x86_64
uname -s = Linux
uname -v = #1 SMP PREEMPT Sat Mar 19 13:52:41 UTC 2022

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/alex/.cargo/bin
PATH: /home/alex/.local/bin
PATH: /home/alex/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin
PATH: /usr/sbin

g++ version: g++ (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) Python version: Python 3.10.4 conan version: Conan version 1.47.0 OpenSSL version: OpenSSL 1.1.1n FIPS 15 Mar 2022 cmake version: cmake version 3.22.2

Build log attached below.

hobbits-fedora-conan-build.log

My guess is that it’s failing to build the Makefile properly, perhaps some values are not included. I know one of the errors is that python cannot locate g++ in ./configure even though it’s installed so CXX=/usr/bin/g++ took care of that, but didn’t change the error much.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
hello-adamcommented, Jun 6, 2022

I wonder if there is just some problem with the libpcap conan package on your system and/or Fedora 35. I’m not sure if there’s much else I can do here, especially because I can’t reproduce the problem on Fedora 36. I think the originally reported issue caused by DOS line endings has been resolved.

0reactions
jakecrowleycommented, Jun 7, 2022

I have confirmed that the original build issue has been resolved as I was able to build it successfully without libpcap. I’m fine with closing this issue because it seems to be a weird isolated case to my system. I’m not sure why it’s even trying to build libpcap since I have the exact version it’s targeting already installed…

If anyone else is having the same issue, just install the dependencies manually and build without conan:

mkdir build && cd build
cmake ..
cmake --build ..
Read more comments on GitHub >

github_iconTop Results From Across the Web

conan Documentation
Conan is a decentralized package manager with a client-server architecture. This means that clients can fetch packages.
Read more >
Conan install on linux fails to run · Issue #5108 - GitHub
I was making a new setup and was installing cmake. Steps I did in docker container running ubuntu ( with python installed) rest#...
Read more >
"No rule to make target 'install'"... But Makefile exists
But when I run make install, I get an error: make: *** No rule to make target `install'. Stop. Any ideas?
Read more >
CPP / C++ - Package Managers
Implementation Issues: As Conan is written in Python, it requires a Python installation. Package authoring: Packages configuration are written ...
Read more >
Conan Archive - TechOverflow -
Conan · Conan . · How to initialize new C++ executable project using conan · How to fix conan install ERROR: Missing binary...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found