Phoebe GUI 安装无法识别我的 PKG_CONFIG_PATH

The installation of Phoebe GUI doesn't recognize my PKG_CONFIG_PATH

我正在尝试安装 Phoebe-project version 1.0

的 GUI 版本

在我的 Mac OS 10.13.6。我已经编辑了 /.bash_profile 和 /etc/launchd.conf 如下所示的路径:

export CFLAGS="-I/usr/include"
export LDFLAGS="-L/usr/local/bin"
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS
#export CPATH=/usr/local/include
#export LIBRARY_PATH=/usr/local/lib
#export LD_LIBRARY_PATH=/usr/local/lib
export ACLOCAL_FLAGS="/usr/local/bin/aclocal-1.15"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/lib"
export PATH=/sw/var/lib/fink/path-prefix-10.6:$PATH
export MACOSX_DEPLOYMENT_TARGET=10.5

但是当我 运行 ./configure 我遇到错误:

The configure script needs pkg-config suite to determine
the presence of various graphical libraries. Please install
it and rerun ./configure.

这里我添加部分日志文件警告以供您注意:

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /Users/anya/Downloads/phoebe-gui-       0.31a/autoconfig/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /Users/anya/Downloads/phoebe-gui-    0.31a/autoconfig/missing --run tar'
AUTOCONF='${SHELL} /Users/anya/Downloads/phoebe-gui-0.31a/autoconfig/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/anya/Downloads/phoebe-gui-0.31a/autoconfig/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/anya/Downloads/phoebe-gui-0.31a/autoconfig/missing --run automake-1.10'
AWK='awk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-I/usr/include'
CPP=''
CPPFLAGS='-I/usr/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
GLIB_CFLAGS=''
GLIB_GENMARSHAL=''
GLIB_LIBS=''
GLIB_MKENUMS=''
GNUPLOT=''
GOBJECT_QUERY=''
GREP=''
GTK_CFLAGS=''
GTK_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-L/usr/local/bin'
LIBGLADE_CFLAGS=''
LIBGLADE_LIBS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/anya/Downloads/phoebe-gui-    0.31a/autoconfig/missing --run makeinfo'
OBJEXT='o'
PACKAGE='phoebe-gui'
PACKAGE_BUGREPORT='phoebe-devel@lists.sourceforge.net'
PACKAGE_NAME='phoebe-gui'
PACKAGE_STRING='phoebe-gui 0.31a'
PACKAGE_TARNAME='phoebe-gui'
PACKAGE_VERSION='0.31a'
PATH_SEPARATOR=':'
PHOEBE_LIBS=''
PKG_CONFIG='no'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.31a'
ac_ct_CC='gcc'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
have_update_database_database=''
have_update_mime_database=''
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /Users/anya/Downloads/phoebe-gui-    0.31a/autoconfig/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/autoconfig/install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

有人知道吗? 我还尝试 运行 ./configure 以及路径: ./configure CFLAGS="-I/usr/include" LDFLAGS="-L/usr/local/bin" PKG_CONFIG_PATH="/usr/lib/pkgconfig" 但它也没有用。

错误消息实际上是说 .configure 脚本找不到名为 pkg-config 的工具。从转储变量列表中可以看出:

PKG_CONFIG='no'

您应该可以使用

在 Mac OS 上安装它
$ brew install pkg-config