简体   繁体   English

如何设置 PKG_CONFIG_PATH 环境变量?

[英]How to set the PKG_CONFIG_PATH environment variable?

i'm going to install node-fprint package on lubuntu 20.04我要在 lubuntu 20.04 上安装 node-fprint 包

Then the terminal shows me this type of "error"然后终端向我显示这种类型的“错误”

Package libfprint was not found in the pkg-config search path.在 pkg-config 搜索路径中找不到软件包 libfprint。 Perhaps you should add the directory containing `libfprint.pc' to the PKG_CONFIG_PATH environment variable No package 'libfprint' found也许您应该将包含 `libfprint.pc' 的目录添加到 PKG_CONFIG_PATH 环境变量中找不到包 'libfprint'

I tried to do everything and it doesn't work, someone knows how to fix it?我尝试了一切,但它不起作用,有人知道如何解决它吗?

I have the same type of error我有相同类型的错误

npm ERR! Package pixman-1 was not found in the pkg-config search path.
npm ERR! Perhaps you should add the directory containing `pixman-1.pc'
npm ERR! to the PKG_CONFIG_PATH environment variable
npm ERR! No package 'pixman-1' found
npm ERR! gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
npm ERR! gyp ERR! configure error 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM