Được sử dụng để bố trí và trình diễn văn bản trong GTK + . Pango là chịu trách nhiệm về phông chữ văn bản xử lý và quốc tế. ATK: Bộ công cụ tiếp cận, một tập hợp các giao diện được thiết kế để giúp các ứng dụng tương tác với các công nghệ trợ giúp như trình đọc màn hình và các thiết bị đầu vào thay thế. | 18 CHAPTER 2 INSTALLING PHP-GTK Glib The base libraries for GTK. Glib provides the interfaces for things such as the object system the event loop and threads. See http for more information about the GIMP Toolkit and Glib. Pango Used for layout and rendering of text in GTK . Pango is responsible for font handling and internationalizing text. ATK The Accessibility Toolkit a set of interfaces designed to help applications interact with assistive technologies such as screen readers and alternative input devices. ATK makes it possible for visually impaired or handicapped users to get the most out of a GTK-based application. A few other dependencies exist but the vast majority of Linux distributions will have these files installed already. Still some may be missing from your system. For all of these packages including GTK the source is freely available and the installation process is pretty much the same. If you need to install any of the dependencies you should start at the top of the list and work your way down. That will avoid any wasted time since one of the packages may be a dependency for some of the other packages. Once you have downloaded and unpacked the source code follow the typical installation procedure cd path to package dir . configure make make install Once all the packages are installed use the pkg-config utility one more time. If everything looks good you are ready to move to the next step. PHP-GTK 2 requires a working PHP installation. Installing PHP is very similar to installing GTK except you need to do a little extra configuration to get things set up right. Start off by downloading and unpacking the source code for PHP or higher. Once you have moved to the PHP directory you can start setting up the configuration. PHP-GTK requires PHP to be compiled with CLI mode. CLI mode is enabled by default but some developers also like to explicitly disable CGI mode. Doing so helps to avoid some confusion. If CGI mode is not disabled two