我正在尝试从Macbook pro下的源代码构建Firefox。我相信我会遵循他们页面上的所有指示,但是我仍然坚持建立它。
我mercurial libidl autoconf213 yasm
通过Macport及其下安装了所有需求()/opt/local/
。当我尝试运行时make -f client.mk
,它给了我错误。似乎找不到glib 2.0和libidl。实际的输出是这样的:
checking for libIDL-2.0 >= 0.8.0 glib-2.0 gobject-2.0... checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
checking for libIDL-config... no
checking for libIDL - version >= 0.6.3... no
*** The libIDL-config script installed by libIDL could not be found
*** If libIDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBIDL_CONFIG environment variable to the
*** full path to libIDL-config.
checking for libIDL-2.0 >= 0.8.0... Package libIDL-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libIDL-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libIDL-2.0' found
configure: error: Library requirements (libIDL-2.0 >= 0.8.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
我为此搜索了几个小时,但仍然找不到解决方案。有任何想法吗?