小编dro*_*del的帖子

如何修复此配置错误?

我正在尝试在 SUSE10 机器上从源代码构建 mosh 并收到以下错误:

checking for protobuf... no
configure: error: Package requirements (protobuf) were not met:

No package 'protobuf' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables protobuf_CFLAGS
and protobuf_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Run Code Online (Sandbox Code Playgroud)

我将源代码下载到 protobuf 并将其安装在自定义路径中。我没有为此使用包管理器,也不能出于问题范围之外的各种原因。我将该自定义路径添加到我的 PATH 并重新哈希。通常,这对于配置来说已经足够了,但在这种情况下,它不起作用。我将 protobuf 的前缀添加到 PKG_CONFIG_PATH 但仍然遇到此错误。

接下来我应该怎么做才能克服这个错误?

linux suse compile

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

compile ×1

linux ×1

suse ×1