我已经安装了低频频谱分析仪系统,之后我尝试在我的系统上安装 gentoo 前缀。但是出现错误:
I'm going to check for some variables in your environment now:
it appears ASFLAGS is not set :)
it appears CFLAGS is not set :)
it appears CPPFLAGS is not set :)
it appears CXXFLAGS is not set :)
it appears DYLD_LIBRARY_PATH is not set :)
it appears GREP_OPTIONS is not set :)
it appears LDFLAGS is not set :)
it appears LD_LIBRARY_PATH is not set :)
it appears LIBPATH is not set :)
it appears PERL_MM_OPT is not set :)
uh oh, PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/kde/lib/pkgconfig:/opt/kde/share /pkgconfig:/opt/qt/lib/pkgconfig:/opt/lib/pkgconfig:/opt/share/pkgconfig :(
Ahem, your shell environment contains some variables I'm allergic to:
PKG_CONFIG_PATH
These flags can and will influence the way in which packages compile.
In fact, they have a long standing tradition to break things. I really
prefer to be on my own here. So please make sure you disable these
environment variables in your shell initialisation files. After you've
done that, you can run me again.
我该如何设置这些环境变量?我尝试在我的 gentoo 上显示这些标志,但没有输出任何内容。
答案1
第一个没问题,它会检查它们是否未设置。最后一个,你只需执行unset PKG_CONFIG_PATH
。如果遇到更多问题,您可以选择安装 Gentoo Linux 本身,与 LFS 相比,它足够轻量,如果你觉得不够,你可以随时尝试精简它。