cmdn 发表于 2004-10-23 17:24:08

编译gnome 时遇到些问题 ,不懂请指教

最后的 错误 是 :
checking for mozilla-gtkmozembed mozilla-xpcom... Package mozilla-gtkmozembed was not found in the pkg-config search path.
Perhaps you should add the directory containing `mozilla-gtkmozembed.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozilla-gtkmozembed' found

configure: error: Library requirements (mozilla-gtkmozembed mozilla-xpcom) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** Error 1
make: Leaving directory `/home/cmdn/garnome-2.8.0/desktop/epiphany'
make: *** Error 2
请 给我解释一下:pkg-config, mozilla-gtkmozembed ,mozilla-gtkmozembed.pc, PKG_CONFIG_PATH,mozilla-gtkmozembed, mozilla-xpcom这些名词的意义 ?我是个菜鸟很多不懂.然后希望你告诉我这个错误该怎么改正??

cmdn 发表于 2004-10-23 17:42:34

我在他的readme文件中找到这些:
   8. GARNOME fails to build on Red Hat 7.3, 8, 9, EL3
   
    There are some components that fail to build in Red Hat, the two main
    issues are:
   
    * OpenSSL / Kerberos
   
    These packages are both affected by Red Hat's packaging of OpenSSL and the
    Kerberos 5 libraries. According to this post -- Red Hat's opinion seems
    to be a need to have these packages require pkg-config. Unfortunately,
    some earlier OpenSSL installations don't have the .pc support for
    pkg-config niceness, so hacking the GARNOME makefiles to support .pc files
    _might_ work, but you may need to do post-OpenSSL-buggery if your
    distribution is RH7.3, 8 or an unpatched version of 9.
   
    Thus, none of the solutions are particularly "clean" -- but in a pinch:
   
    a) exporting a PKG_CONFIG_PATH variable that points to your GARNOME install
    _before_ the system path ('PKG_CONFIG_PATH=/home/pd/lib/pkgconfig:/usr/lib')
   
    b) Adding the krb5 directory (--with-krb5=/usr/kerberos)
    to the configure arguments in the Makefile in both the 'office/evolution',
    'office/ximian-connector' and 'fifth-toe/gaim' directories.

但是我有些看不懂,请前辈给我题点一下?

smartyin 发表于 2004-10-23 20:00:08

就是你缺少一些编译epiphany需要的软件包,把desktop目录下的epiphany目录删掉,不用它就行了,有了mozilla还拿它来干什么嘛,浪费编译时间!
页: [1]
查看完整版本: 编译gnome 时遇到些问题 ,不懂请指教