|

楼主 |
发表于 2008-11-3 23:01:59
|
显示全部楼层
通过jhalfs做好的LFS放在那好几天了 决定趁最后的几天空闲时间给他装上图形界面
不用说 选择的是xfce 4.4.3
在http://www.xfce.org/documentatio ... 有这么几句:
All packages (except xfce4-dev-tools) depend on both gtk+ >= 2.6 and glib >= 2.6.4.
于是在www.gtk.org上面下载了glib-2 ... 依赖关系为:
Dependencies
Before you can compile the GLib library, you need to have various other tools and libraries installed on your system. The two tools needed during the build process (as differentiated from the tools used in when creating GLib mentioned above such as autoconf) are pkg-config and GNU make.
pkg-config is a tool for tracking the compilation flags needed for libraries that are used by the GLib library. (For each library, a small .pc text file is installed in a standard location that contains the compilation flags needed for that library along with version number information.) The version of pkg-config needed to build GLib is mirrored in the dependencies directory on the GTK+ FTP site.
The GTK+ makefiles will mostly work with different versions of make, however, there tends to be a few incompatibilities, so the GTK+ team recommends installing GNU make if you don't already have it on your system and using it. (It may be called gmake rather than make.)
GLib depends on a number of other libraries.
The GNU libiconv library is needed to build GLib if your system doesn't have the iconv() function for doing conversion between character encodings. Most modern systems should have iconv(), however many older systems lack an iconv() implementation. On such systems, you must install the libiconv library. This can be found at: http://www.gnu.org/software/libiconv.
If your system has an iconv() implementation but you want to use libiconv instead, you can pass the --with-libiconv option to configure. This forces libiconv to be used.
Note that if you have libiconv installed in your default include search path (for instance, in /usr/local/), but don't enable it, you will get an error while compiling GLib because the iconv.h that libiconv installs hides the system iconv.
If you are using the native iconv implementation on Solaris instead of libiconv, you'll need to make sure that you have the converters between locale encodings and UTF-8 installed. At a minimum you'll need the SUNWuiu8 package. You probably should also install the SUNWciu8, SUNWhiu8, SUNWjiu8, and SUNWkiu8 packages.
The native iconv on Compaq Tru64 doesn't contain support for UTF-8, so you'll need to use GNU libiconv instead. (When using GNU libiconv for GLib, you'll need to use GNU libiconv for GNU gettext as well.) This probably applies to related operating systems as well.
The libintl library from the GNU gettext package is needed if your system doesn't have the gettext() functionality for handling message translation databases.
A thread implementation is needed, unless you want to compile GLib without thread support, which is not recommended. The thread support in GLib can be based upon several native thread implementations, e.g. POSIX threads, DCE threads or Solaris threads.
GRegex uses the PCRE library for regular expression matching. The default is to use the internal version of PCRE that is patched to use GLib for memory management and Unicode handling. If you prefer to use the system-supplied PCRE library you can pass the --with-pcre=system option to configure, but it is not recommended.
The optional extended attribute support in GIO requires the getxattr() family of functions that may be provided by glibc or by the standalone libattr library. To build GLib without extended attribute support, use the --disable-xattr configure option.
The optional SELinux support in GIO requires libselinux. To build GLib without SELinux support, use the --disable-selinux configure option.
这个依赖关系就很不好搞定了,pkg-config就不是很好找,http://www.freedesktop.org/software/pkgconfig/一直打不开,只好去BLFS提供的下载站下载了一个0.22版本的。后面的依赖关系感觉也不是很好搞定,太多了,有些东西根本不知道为何物~~ |
|