|
发表于 2005-1-20 22:02:27
|
显示全部楼层
你的系统已经安装gtk2-2.4.13-9 了阿。
缺少的是开发包,下个开发包就可以了,不过看来fc3不是以devel命名开发包了,
去问问正在使用FC3的gtk2-2.4.13-9的开发包是什么,下载装上就可以了
自己编译gtk2.4很麻烦。
你这个错误是因为没有找到/usr/lib/pkgconfig/pangoxft.pc这个文件。
如果你想自己编译gtk2.4的话,这有几篇文档可以参考:
[code:1]
GTK+-2.4.13
Introduction to GTK+
The GTK+ package contains GTK+ Libraries. This is useful for creating graphical user interfaces for applications.
Package information
*
Download (HTTP): http://gd.tuwien.ac.at/graphics/gimp/gtk/v2.4/gtk+-2.4.13.tar.bz2
*
Download (FTP): ftp://ftp.gtk.org/pub/gtk/v2.4/gtk+-2.4.13.tar.bz2
*
Download size: 8.9 MB
*
Estimated Disk space required: 198 MB
*
Estimated build time: 2.88 SBU
GTK+ dependencies
Required
X (X.org-6.8.1 or XFree86-4.4.0), Pango-1.6.0 and ATK-1.8.0
Optional
libtiff-3.7.0, libjpeg-6b, GTK-Doc-1.2 and DocBook-utils-0.6.14
Installation of GTK+
Install GTK+ by running the following commands:
./configure --prefix=/usr --sysconfdir=/etc \
--without-libtiff --without-libjpeg &&
make &&
make install
Command explanations
--sysconfdir=/etc: This switch installs the configuration files into /etc instead of /usr/etc.
--without-libtiff: Omit this switch if you have libtiff installed.
--without-libjpeg: Omit this switch if you have libjpeg installed.
--enable-gtk-doc: This switch will rebuild the API documentation during the make command.
Contents
The GTK+ package contains libgdk_pixbuf-2.0, libgdk-x11-2.0, libgtk-x11-2.0 and libgdk_pixbuf_xlib-2.0 libraries.
Description
GTK+ Libraries
GTK+ Libraries provide the API to implement graphical user interfaces.
[/code:1]
[code:1]
Pango-1.6.0
Introduction to Pango
The Pango package contains the libpango library. This is useful for the layout and rendering of text.
Package information
*
Download (HTTP): http://ftp.gnome.org/pub/GNOME/sources/pango/1.6/pango-1.6.0.tar.bz2
*
Download (FTP): ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.6/pango-1.6.0.tar.bz2
*
Download size: 930 KB
*
Estimated Disk space required: 22.8 MB
*
Estimated build time: 0.49 SBU
Pango dependencies
Required
GLib-2.4.7
Optional
Xft (included in XFree86-4.4.0 or X.org-6.8.1), Fontconfig-2.2.3 and GTK-Doc-1.2
Installation of Pango
In order for Pango to find Xft, the PKG_CONFIG_PATH must include /usr/X11R6/lib/pkgconfig. This is a good time to add it if you haven't already. You can utilize the example for X.sh to create a script for modifying this variable located in the section The Bash Shell Startup Files.
Install Pango by running the following commands:
./configure --prefix=/usr --sysconfdir=/etc &&
make &&
make install
Command explanations
--sysconfdir=/etc: This switch installs the configuration files into /etc instead of /usr/etc.
--enable-gtk-doc: This switch will rebuild the API documentation during the make command.
Configuring Pango
Config files
/etc/pango/pangorc, ~/.pangorc and the file specified in the environment variable PANGO_RC_FILE
Configuration Information
The Pango module path is specified by the key Pango/ModulesPath in the Pango config database, which is read from the config files listed above.
Contents
The Pango package contains pango-querymodules, libpango libraries and Pango loadable modules.
Description
pango-querymodules
pango-querymodules is a module registration utility that collects information about Pango loadable modules
Pango libraries
Pango libraries contain low level layout rendering routines, a high level driver for laying out entire blocks of text, and routines to assist in editing internationalized text.
[/code:1]
[code:1]
ATK-1.8.0
Introduction to ATK
The ATK package contains the ATK libraries. They are useful for allowing accessibility solutions to be available for all GTK2 applications.
Package information
*
Download (HTTP): http://ftp.gnome.org/pub/GNOME/sources/atk/1.8/atk-1.8.0.tar.bz2
*
Download (FTP): ftp://ftp.gnome.org/pub/GNOME/sources/atk/1.8/atk-1.8.0.tar.bz2
*
Download size: 489 KB
*
Estimated Disk space required: 7.9 MB
*
Estimated build time: 0.13 SBU
ATK dependencies
Required
GLib-2.4.7
Optional
GTK-Doc-1.2
Installation of ATK
Install ATK by running the following commands:
./configure --prefix=/usr &&
make &&
make install
Command explanations
--enable-gtk-doc: This switch will rebuild the API documentation during the make command.
Contents
The ATK package contains libatk libraries.
Description
ATK Libraries
ATK libraries contain the API used by assistive technologies in order to interact with the desktop and applications.
[/code:1]
[code:1]
libtiff-3.7.0
Introduction to libtiff
The libtiff package contains the TIFF libraries and associated utilities. The libraries are used by many programs for reading and writing TIFF files and the utilities are useful for general work with TIFF files.
Package information
*
Download (HTTP): http://libtiff.maptools.org/dl/tiff-3.7.0.tar.gz
*
Download (FTP): ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.7.0.tar.gz
*
Download size: 1.2 MB
*
Estimated Disk space required: 15.6 MB
*
Estimated build time: 0.41 SBU
Additional downloads
*
Required Patch: http://www.linuxfromscratch.org/blfs/downloads/svn/tiff-3.7.0-libtool_fix-1.patch
libtiff dependencies
Optional
libjpeg-6b, X (XFree86-4.4.0 or X.org-6.8.1) and freeglut-2.2.0
Installation of libtiff
Install libtiff by running the following commands:
patch -Np1 -i ../tiff-3.7.0-libtool_fix-1.patch &&
./configure --prefix=/usr &&
make &&
make install
Contents
The libtiff package contains bmp2tiff, fax2ps, fax2tiff, gif2tiff, pal2rgb, ppm2tiff, ras2tiff, raw2tiff, rgb2ycbcr, thumbnail, tiff2bw, tiff2pdf, tiff2ps, tiff2rgba, tiffcmp, tiffcp, tiffdither, tiffdump, tiffgt, tiffinfo, tiffmedian, tiffset, tiffsplit and libtiff libraries.
Description
bmp2tiff
bmp2tiff converts a Microsoft Windows Device Independent Bitmap image file to a TIFF image.
fax2ps
fac2ps converts a TIFF facsimile to compressed PostScript file.
fax2tiff
fax2tiff creates a TIFF Class F fax file from raw fax data.
gif2tiff
gif2tiff creates a TIFF file from a GIF87 format image file.
pal2rgb
pal2rgb converts a palette color TIFF image to a full color image.
ppm2tiff
ppm2tiff creates a TIFF file from a PPM image file.
ras2tiff
ras2tiff creates a TIFF file from a Sun rasterfile.
raw2tiff
raw2tiff converts a raw byte sequence into TIFF.
rgb2ycbcr
rgb2ycbcr converts non-YCbCr TIFF images to a YCbCr TIFF image.
thumbnail
thumbnail creates a TIFF file with thumbnail images.
tiff2bw
tiff2bw converts a color TIFF image to grayscale.
tiff2pdf
tiff2pdf converts a TIFF image to a PDF document.
tiff2ps
tiff2ps converts a TIFF image to a PostScript file.
tiff2rgba
tiff2rgba converts a wide variety of TIFF images into an RGBA TIFF image.
tiffcmp
tiffcmp compares two TIFF files.
tiffcp
tiffcp copies (and possibly converts) a TIFF file.
tiffdither
tiffdither converts a grayscale image to bilevel using dithering.
tiffdump
tiffdump prints verbatim information about TIFF files.
tiffgt
tiffgt displays an image stored in a TIFF file in an X window.
tiffinfo
tiffinfo prints information about TIFF files.
tiffmedian
tiffmedian applies the median cut algorithm to data in a TIFF file.
tiffsplit
tiffsplit splits a multi-image TIFF into single-image TIFF files.
libtiff libraries
The libtiff libraries are used by many programs to read and write TIFF files.
[/code:1]
[code:1]
libjpeg-6b
Introduction to libjpeg
The libjpeg package contains libraries that allow compression of image files based on the Joint Photographic Experts Group standard. It is a "lossy" compression algorithm.
Package information
*
Download (HTTP): http://www.ijg.org/files/jpegsrc.v6b.tar.gz
*
Download (FTP): ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
*
Download size: 599 KB
*
Estimated Disk space required: 3.7 MB
*
Estimated build time: 0.26 SBU
Installation of libjpeg
Install libjpeg by running the following commands:
./configure --prefix=/usr --enable-static --enable-shared &&
make &&
make install
Command explanations
--enable-static --enable-shared: These switches tell libjpeg to build both shared and static libraries.
Configuring libjpeg
Configuration Information
As with most libraries, there is no configuration to do, save that the library directory i.e., /opt/lib or /usr/local/lib should appear in /etc/ld.so.conf so that ldd can find the shared libraries. After checking that this is the case, /sbin/ldconfig should be run while logged in as root.
Contents
The libjpeg package contains cjpeg, djpeg, jpegtran, rdjpgcom, wrjpgcom and libjpeg libraries.
Description
cjpeg
cjpeg compresses image files to produce a JPEG/JFIF file on the standard output. Currently supported input file formats are: PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format), BMP, and Targa.
djpeg
djpeg decompresses image files from JPEG/JFIF format to either PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format), BMP, or Targa format.
jpegtran
jpegtran is used for lossless transformation of JPEG files.
rdjpgcom
rdjpgcom displays text comments from within a JPEG file.
wrjpgcom
wrjpgcom inserts text comments into a JPEG file.
jpeg libraries
These libraries are used by many programs for reading and writing jpeg format files.
[/code:1] |
|