Can't compile folly offline
- Dominant language
- C++
- Stars
- 30.5k
- Forks
- 5.9k
- PR merge metrics
- No merged PRs in 30d
Description
I'm having some trouble building folly on an offline machine.
Steps:
1. cd folly-master/build
2. cmake ..
I get the error:
"""
...
Could NOT find LIBFMT (missing: LIBFMT_LIBRARY LIBFMT_INCLUDE_DIR)
RegulaExpression::compile(): Nested *?+.
RegulaExpression::compile(): Error in compile.
CMake Error at Cmake/FollyFunctions.cmake:95 (if):
if given arguments:
"/folly/benchmark.cpp" "MATCHES" "^/folly/build/"
Regula expression
"^/folly/build/" cannot compile
Call Stack (most recent call first):
CMakeLists.txt:149 (REMOVE_MATCHES_FROM_LISTS)
"""
Could this be missing dependencies?
How can I fix this?
Contributor guide
Research direction
Start by reproducing `cmake ..` from `folly-master/build` on an offline machine and inspect `Cmake/FollyFunctions.cmake:95`, where the failure occurs, along with `CMakeLists.txt:149`. Compare the LIBFMT lookup and regular-expression error, then verify that offline configuration completes without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100