influxdata / influxdata/influxdb

源码编译influxdb2.7.3

Open
#24,499 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

进入源码目录,使用命令:go build ./...

报错:
go build github.com/influxdata/flux/libflux/go/libflux:
pkg-config --cflags -- flux
Package flux was not found in the pkg-config search path.
Perhaps you should add the directory containing `flux.pc'
to the PKG_CONFIG_PATH environment variable
No package 'flux' foundpkg-config: exit status 1

#请问可以怎么解决?

Contributor guide

Open the contributing guide

Research direction

Start in the source directory by running `go build ./...` and inspect the reported `github.com/influxdata/flux/libflux/go/libflux` failure. Investigate why `pkg-config` cannot find `flux.pc` or the `flux` package. Done means the required build dependency is discoverable and the project builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, rust
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.