编译安装gnome-mplayer

gnome-player是个带有gui的,基于gtk+ glb库的播放器。

希望从中可以学习到如何将GUI与PLAYER集成起来。

发现这个安装还挺艰难的,依赖的环境,最好是都配置好了。

比如GTK+的所有环境都有。

 

root@ubuntu:/home/zhangbin/Documents/gnome-mplayer-1.0.2# ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for style of include used by make... GNU

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables... 

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking for library containing strerror... none required

checking for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking how to run the C preprocessor... gcc -E

checking for g++... no

checking for c++... no

checking for gpp... no

checking for aCC... no

checking for CC... no

checking for cxx... no

checking for cc++... no

checking for cl.exe... no

checking for FCC... no

checking for KCC... no

checking for RCC... no

checking for xlC_r... no

checking for xlC... no

checking whether we are using the GNU C++ compiler... no

checking whether g++ accepts -g... no

checking dependency style of g++... none

checking whether gcc and cc understand -c and -o together... yes

checking for ranlib... ranlib

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking locale.h usability... yes

checking locale.h presence... yes

checking for locale.h... yes

checking for LC_MESSAGES... yes

checking libintl.h usability... yes

checking libintl.h presence... yes

checking for libintl.h... yes

checking for ngettext in libc... yes

checking for dgettext in libc... yes

checking for bind_textdomain_codeset... yes

checking for msgfmt... no

checking for WIN32... no

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for X11... no

configure: Compiling without X11 support

checking for GTK... no

configure: error: Package requirements (gtk+-2.0 glib-2.0 gthread-2.0) were not met:

 

No package 'gtk+-2.0' found

No package 'glib-2.0' found

No package 'gthread-2.0' found

 

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

 

Alternatively, you may set the environment variables GTK_CFLAGS

and GTK_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

root@ubuntu:/home/zhangbin/Documents/gnome-mplayer-1.0.2# cat INSTALL
Installation Instructions
*************************
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
2006, 2007, 2008 Free Software Foundation, Inc.
   This file is free documentation; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.
Basic Installation
==================
   Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package.  The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package.
   The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation.  It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions.  Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').
   It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring.  Caching is
disabled by default to prevent problems with accidental use of stale
cache files.
   If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release.  If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.
   The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'.  You need `configure.ac' if
you want to change it or regenerate `configure' using a newer version
of `autoconf'.
The simplest way to compile this package is:
  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.
     Running `configure' might take a while.  While running, it prints
     some messages telling which features it is checking for.
  2. Type `make' to compile the package.
  3. Optionally, type `make check' to run any self-tests that come with
     the package.
  4. Type `make install' to install the programs and any data files and
     documentation.
  5. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'.  There is
     also a `make maintainer-clean' target, but that is intended mainly
     for the package's developers.  If you use it, you may have to get
     all sorts of other programs in order to regenerate files that came
     with the distribution.
  6. Often, you can also type `make uninstall' to remove the installed
     files again.
Compilers and Options
=====================
   Some systems require unusual options for compilation or linking that
the `configure' script does not know about.  Run `./configure --help'
for details on some of the pertinent environment variables.
   You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment.  Here
is an example:
     ./configure CC=c99 CFLAGS=-g LIBS=-lposix
   *Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
   You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory.  To do this, you can use GNU `make'.  `cd' to the
directory where you want the object files and executables to go and run
the `configure' script.  `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
   With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory.  After you have
installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture.
   On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple `-arch' options to the
compiler but only a single `-arch' option to the preprocessor.  Like
this:
     ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" /
                 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" /
                 CPP="gcc -E" CXXCPP="g++ -E"
   This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the `lipo' tool if you have problems.
Installation Names
==================
   By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc.  You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX'.
   You can specify separate installation prefixes for
architecture-specific files and architecture-independent files.  If you
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
   In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files.  Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
   If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
   Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System).  The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
   For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Particular systems
==================
   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU
CC is not installed, it is recommended to use the following options in
order to use an ANSI C compiler:
     ./configure CC="cc -Ae"
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
   On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
a workaround.  If GNU CC is not installed, it is therefore recommended
to try
     ./configure CC="cc"
and if that doesn't work, try
     ./configure CC="cc -nodtk"
Specifying the System Type
==========================
   There may be some features `configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on.  Usually, assuming the package is built to be run on the
_same_ architectures, `configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
`--build=TYPE' option.  TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:
     CPU-COMPANY-SYSTEM
where SYSTEM can have one of these forms:
     OS KERNEL-OS
   See the file `config.sub' for the possible values of each field.  If
`config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
   If you are _building_ compiler tools for cross-compiling, you should
use the option `--target=TYPE' to select the type of system they will
produce code for.
   If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with `--host=TYPE'.
Sharing Defaults
================
   If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists.  Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Defining Variables
==================
   Variables not defined in a site shell script can be set in the
environment passed to `configure'.  However, some packages may run
configure again during the build, and the customized values of these
variables may be lost.  In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'.  For example:
     ./configure CC=/usr/local2/bin/gcc
causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
an Autoconf bug.  Until the bug is fixed you can use this workaround:
     CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
`configure' Invocation
======================
   `configure' recognizes the following options to control how it
operates.
`--help'
`-h'
     Print a summary of all of the options to `configure', and exit.
`--help=short'
`--help=recursive'
     Print a summary of the options unique to this package's
     `configure', and exit.  The `short' variant lists options used
     only in the top level, while the `recursive' variant lists options
     also present in any nested packages.
`--version'
`-V'
     Print the version of Autoconf used to generate the `configure'
     script, and exit.
`--cache-file=FILE'
     Enable the cache: use and save the results of the tests in FILE,
     traditionally `config.cache'.  FILE defaults to `/dev/null' to
     disable caching.
`--config-cache'
`-C'
     Alias for `--cache-file=config.cache'.
`--quiet'
`--silent'
`-q'
     Do not print messages saying which checks are being made.  To
     suppress all normal output, redirect it to `/dev/null' (any error
     messages will still be shown).
`--srcdir=DIR'
     Look for the package's source code in directory DIR.  Usually
     `configure' can determine that directory automatically.
`--prefix=DIR'
     Use DIR as the installation prefix.  *Note Installation Names::
     for more details, including other options available for fine-tuning
     the installation locations.
`--no-create'
`-n'
     Run the configure checks, but stop before creating any output
     files.
`configure' also accepts some other, not widely useful, options.  Run
`configure --help' for more details.
root@ubuntu:/home/zhangbin/Documents/gnome-mplayer-1.0.2# 
root@ubuntu:/home/zhangbin/Documents/gnome-mplayer-1.0.2# apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  dpkg-dev fakeroot g++ g++-4.4 libstdc++6-4.4-dev patch xz-utils
Suggested packages:
  debian-keyring debian-maintainers g++-multilib g++-4.4-multilib gcc-4.4-doc
  libstdc++6-4.4-dbg libstdc++6-4.4-doc diffutils-doc
The following NEW packages will be installed:
  build-essential dpkg-dev fakeroot g++ g++-4.4 libstdc++6-4.4-dev patch
  xz-utils
0 upgraded, 8 newly installed, 0 to remove and 392 not upgraded.
Need to get 7,572kB of archives.
After this operation, 24.6MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://Ubuntu.cn99.com/ubuntu/ lucid/main libstdc++6-4.4-dev 4.4.3-4ubuntu5 [1,491kB]
Get:2 http://Ubuntu.cn99.com/ubuntu/ lucid/main g++-4.4 4.4.3-4ubuntu5 [4,950kB]
Get:3 http://Ubuntu.cn99.com/ubuntu/ lucid/main g++ 4:4.4.3-1ubuntu1 [1,442B]  
Get:4 http://Ubuntu.cn99.com/ubuntu/ lucid/main xz-utils 4.999.9beta+20091116-1 [228kB]
Get:5 http://Ubuntu.cn99.com/ubuntu/ lucid/main patch 2.6-2ubuntu1 [123kB]     
Get:6 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main dpkg-dev 1.15.5.6ubuntu4.5 [654kB]
Get:7 http://Ubuntu.cn99.com/ubuntu/ lucid/main build-essential 11.4build1 [7,278B]
Get:8 http://Ubuntu.cn99.com/ubuntu/ lucid/main fakeroot 1.14.4-1ubuntu1 [118kB]
Fetched 7,572kB in 19s (380kB/s)                                               
Selecting previously deselected package libstdc++6-4.4-dev.
(Reading database ... 124251 files and directories currently installed.)
Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.3-4ubuntu5_i386.deb) ...
Selecting previously deselected package g++-4.4.
Unpacking g++-4.4 (from .../g++-4.4_4.4.3-4ubuntu5_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.4.3-1ubuntu1_i386.deb) ...
Selecting previously deselected package xz-utils.
Unpacking xz-utils (from .../xz-utils_4.999.9beta+20091116-1_i386.deb) ...
Selecting previously deselected package patch.
Unpacking patch (from .../patch_2.6-2ubuntu1_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.15.5.6ubuntu4.5_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.4build1_i386.deb) ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.14.4-1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up xz-utils (4.999.9beta+20091116-1) ...
Setting up patch (2.6-2ubuntu1) ...
Setting up dpkg-dev (1.15.5.6ubuntu4.5) ...
Setting up fakeroot (1.14.4-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up libstdc++6-4.4-dev (4.4.3-4ubuntu5) ...
Setting up g++-4.4 (4.4.3-4ubuntu5) ...
Setting up g++ (4:4.4.3-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
Setting up build-essential (11.4build1) ...
root@ubuntu:/home/zhangbin/Documents/gnome-mplayer-1.0.2# 
===============
root@ubuntu:/home/zhangbin/code/gnome-mplayer-1.0.2# ls
aclocal.m4    config.sub       gnome-mplayer.desktop     INSTALL        NEWS
AUTHORS       configure        gnome-mplayer.schemas     install-sh     pixmaps
ChangeLog     configure.in     gnome-mplayer.schemas.in  ltmain.sh      po
compile       COPYING          gnome-mplayer.spec        Makefile.am    README
config.guess  depcomp          gnome-mplayer.spec.in     Makefile.in    src
config.h      DOCS             gnome-mplayer.xml         missing
config.h.in   gnome-mplayer.1  icons                     mkinstalldirs
root@ubuntu:/home/zhangbin/code/gnome-mplayer-1.0.2# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  ar bg ca cs da de el en_GB es et eu fi fo fr fy gl he hu it ja ko lt nl pl pt pt_BR ro ru sr sr@latin sv tr uk zh_CN zh_HK zh_TW
checking for WIN32... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X11... yes
checking for GTK... yes
checking for GLIB... yes
checking for GTK2_12... yes
checking for GTK2_14... yes
checking for GTK2_18... yes
checking for GTK2_20... yes
checking for GTK2_22... no
configure: Disabling Depreciated GTK Functions
checking for GLIB2_14... yes
checking for GLIB2_26... no
configure: Using GLIB < 2.26 specific features
checking for GIO... yes
checking for DBUS... no
configure: Compiling without dbus support cannot be used with gecko-mediaplayer, may cause cause compile to fail
checking for XSCRNSAVER... no
configure: Compiling withou xscrnsaver support
checking for GCONF... no
configure: Using keystore for preferences
checking for ALSA... yes
checking for PULSE... yes
checking for NOTIFY... no
configure: Compiling without libnotify support
checking for LIBNOTIFY_07... no
configure: Using older libnotify
checking for GPOD06... no
configure: Compiling without libgpod 0.6.0 support
checking for GPOD07... no
configure: Compiling without libgpod 0.7.0 support
checking for MUSICBRAINZ... no
configure: Compiling without libmusicbrainz3 support
checking for NAUTILUS... no
configure: Checking for gnome-power-manager support
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking fstab.h usability... yes
checking fstab.h presence... yes
checking for fstab.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating icons/Makefile
config.status: creating icons/16x16/Makefile
config.status: creating icons/22x22/Makefile
config.status: creating icons/24x24/Makefile
config.status: creating icons/32x32/Makefile
config.status: creating icons/48x48/Makefile
config.status: creating icons/scalable/Makefile
config.status: creating src/Makefile
config.status: creating src/libgmtk/Makefile
config.status: creating src/libgmlib/Makefile
config.status: creating po/Makefile.in
config.status: creating gnome-mplayer.spec
config.status: creating gnome-mplayer.schemas
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
make了一下
  && rm -f $file && /usr/bin/msgfmt -c -o $file ja.po
file=./`echo ko | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file ko.po
file=./`echo lt | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file lt.po
file=./`echo nl | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file nl.po
file=./`echo pl | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file pl.po
file=./`echo pt | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file pt.po
file=./`echo pt_BR | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file pt_BR.po
file=./`echo ro | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file ro.po
file=./`echo ru | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file ru.po
file=./`echo sr | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file sr.po
file=./`echo sr@latin | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file sr@latin.po
file=./`echo sv | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file sv.po
file=./`echo tr | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file tr.po
file=./`echo uk | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file uk.po
file=./`echo zh_CN | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file zh_CN.po
file=./`echo zh_HK | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file zh_HK.po
file=./`echo zh_TW | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file zh_TW.po
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/po'
Making all in icons
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
Making all in 16x16
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/16x16'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/16x16'
Making all in 22x22
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/22x22'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/22x22'
Making all in 24x24
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/24x24'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/24x24'
Making all in 32x32
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/32x32'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/32x32'
Making all in 48x48
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/48x48'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/48x48'
Making all in scalable
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/scalable'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/scalable'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
make[1]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2'

make install 了一下
k_media_player.c
mv -f .deps/libgmtk_a-gmtk_media_player.Tpo .deps/libgmtk_a-gmtk_media_player.Po
gcc -DHAVE_CONFIG_H -I. -I../..    -fPIC -D_REENTRANT -pthread -I/usr/local/include/directfb -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/alsa   -g -O2 -MT libgmtk_a-gmtk_output_combo_box.o -MD -MP -MF .deps/libgmtk_a-gmtk_output_combo_box.Tpo -c -o libgmtk_a-gmtk_output_combo_box.o `test -f 'gmtk_output_combo_box.c' || echo './'`gmtk_output_combo_box.c
mv -f .deps/libgmtk_a-gmtk_output_combo_box.Tpo .deps/libgmtk_a-gmtk_output_combo_box.Po
rm -f libgmtk.a
ar cru libgmtk.a libgmtk_a-gmtk_audio_meter.o libgmtk_a-gmtk_media_tracker.o libgmtk_a-gmtk_media_player.o libgmtk_a-gmtk_output_combo_box.o 
ranlib libgmtk.a
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmtk'
Making all in libgmlib
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmlib'
gcc -DHAVE_CONFIG_H -I. -I../..    -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DGIO_ENABLED  -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -MT libgmlib_a-gm_audio.o -MD -MP -MF .deps/libgmlib_a-gm_audio.Tpo -c -o libgmlib_a-gm_audio.o `test -f 'gm_audio.c' || echo './'`gm_audio.c
mv -f .deps/libgmlib_a-gm_audio.Tpo .deps/libgmlib_a-gm_audio.Po
gcc -DHAVE_CONFIG_H -I. -I../..    -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DGIO_ENABLED  -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -MT libgmlib_a-gm_file.o -MD -MP -MF .deps/libgmlib_a-gm_file.Tpo -c -o libgmlib_a-gm_file.o `test -f 'gm_file.c' || echo './'`gm_file.c
gm_file.c: In function ‘gm_get_path’:
gm_file.c:69: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
mv -f .deps/libgmlib_a-gm_file.Tpo .deps/libgmlib_a-gm_file.Po
gcc -DHAVE_CONFIG_H -I. -I../..    -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DGIO_ENABLED  -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -MT libgmlib_a-gm_parse.o -MD -MP -MF .deps/libgmlib_a-gm_parse.Tpo -c -o libgmlib_a-gm_parse.o `test -f 'gm_parse.c' || echo './'`gm_parse.c
mv -f .deps/libgmlib_a-gm_parse.Tpo .deps/libgmlib_a-gm_parse.Po
gcc -DHAVE_CONFIG_H -I. -I../..    -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DGIO_ENABLED  -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -MT libgmlib_a-gm_pref_store.o -MD -MP -MF .deps/libgmlib_a-gm_pref_store.Tpo -c -o libgmlib_a-gm_pref_store.o `test -f 'gm_pref_store.c' || echo './'`gm_pref_store.c
mv -f .deps/libgmlib_a-gm_pref_store.Tpo .deps/libgmlib_a-gm_pref_store.Po
gcc -DHAVE_CONFIG_H -I. -I../..    -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DGIO_ENABLED  -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -MT libgmlib_a-gm_strfuncs.o -MD -MP -MF .deps/libgmlib_a-gm_strfuncs.Tpo -c -o libgmlib_a-gm_strfuncs.o `test -f 'gm_strfuncs.c' || echo './'`gm_strfuncs.c
mv -f .deps/libgmlib_a-gm_strfuncs.Tpo .deps/libgmlib_a-gm_strfuncs.Po
rm -f libgmlib.a
ar cru libgmlib.a libgmlib_a-gm_audio.o libgmlib_a-gm_file.o libgmlib_a-gm_parse.o libgmlib_a-gm_pref_store.o libgmlib_a-gm_strfuncs.o 
ranlib libgmlib.a
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmlib'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=/""/usr/local/share/locale"/" -DPACKAGE_SRC_DIR=/""."/" -DPACKAGE_DATA_DIR=/""/usr/local/share"/" -I../pixmaps -D_REENTRANT -pthread -I/usr/local/include/directfb -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include             -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB     -g -O2 -MT gui.o -MD -MP -MF .deps/gui.Tpo -c -o gui.o gui.c
mv -f .deps/gui.Tpo .deps/gui.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=/""/usr/local/share/locale"/" -DPACKAGE_SRC_DIR=/""."/" -DPACKAGE_DATA_DIR=/""/usr/local/share"/" -I../pixmaps -D_REENTRANT -pthread -I/usr/local/include/directfb -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include             -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB     -g -O2 -MT playlist.o -MD -MP -MF .deps/playlist.Tpo -c -o playlist.o playlist.c
mv -f .deps/playlist.Tpo .deps/playlist.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=/""/usr/local/share/locale"/" -DPACKAGE_SRC_DIR=/""."/" -DPACKAGE_DATA_DIR=/""/usr/local/share"/" -I../pixmaps -D_REENTRANT -pthread -I/usr/local/include/directfb -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include             -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB     -g -O2 -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.c
support.c: In function ‘parse_vcd’:
support.c:888: warning: format not a string literal and no format arguments
mv -f .deps/support.Tpo .deps/support.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=/""/usr/local/share/locale"/" -DPACKAGE_SRC_DIR=/""."/" -DPACKAGE_DATA_DIR=/""/usr/local/share"/" -I../pixmaps -D_REENTRANT -pthread -I/usr/local/include/directfb -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include             -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB     -g -O2 -MT mntent_compat.o -MD -MP -MF .deps/mntent_compat.Tpo -c -o mntent_compat.o mntent_compat.c
mv -f .deps/mntent_compat.Tpo .deps/mntent_compat.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=/""/usr/local/share/locale"/" -DPACKAGE_SRC_DIR=/""."/" -DPACKAGE_DATA_DIR=/""/usr/local/share"/" -I../pixmaps -D_REENTRANT -pthread -I/usr/local/include/directfb -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include             -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB     -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=/""/usr/local/share/locale"/" -DPACKAGE_SRC_DIR=/""."/" -DPACKAGE_DATA_DIR=/""/usr/local/share"/" -I../pixmaps -D_REENTRANT -pthread -I/usr/local/include/directfb -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include             -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB     -g -O2 -MT dbus-interface.o -MD -MP -MF .deps/dbus-interface.Tpo -c -o dbus-interface.o dbus-interface.c
mv -f .deps/dbus-interface.Tpo .deps/dbus-interface.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=/""/usr/local/share/locale"/" -DPACKAGE_SRC_DIR=/""."/" -DPACKAGE_DATA_DIR=/""/usr/local/share"/" -I../pixmaps -D_REENTRANT -pthread -I/usr/local/include/directfb -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/alsa   -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include             -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB     -g -O2 -MT thread.o -MD -MP -MF .deps/thread.Tpo -c -o thread.o thread.c
mv -f .deps/thread.Tpo .deps/thread.Po
gcc -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB     -g -O2   -o gnome-mplayer gui.o playlist.o support.o mntent_compat.o main.o dbus-interface.o thread.o libgmtk/libgmtk.a libgmlib/libgmlib.a -lm -lX11   -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0     -lasound   -lpulse-mainloop-glib -lpulse -lglib-2.0       
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src'
Making all in po
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/po'
file=./`echo ar | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file ar.po
file=./`echo bg | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file bg.po
file=./`echo ca | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file ca.po
file=./`echo cs | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file cs.po
file=./`echo da | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file da.po
file=./`echo de | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file de.po
file=./`echo el | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file el.po
file=./`echo en_GB | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file en_GB.po
file=./`echo es | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file es.po
file=./`echo et | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file et.po
file=./`echo eu | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file eu.po
file=./`echo fi | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file fi.po
file=./`echo fo | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file fo.po
file=./`echo fr | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file fr.po
file=./`echo fy | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file fy.po
fy.po:7: field `Last-Translator' still has initial default value
file=./`echo gl | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file gl.po
file=./`echo he | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file he.po
file=./`echo hu | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file hu.po
file=./`echo it | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file it.po
file=./`echo ja | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file ja.po
file=./`echo ko | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file ko.po
file=./`echo lt | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file lt.po
file=./`echo nl | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file nl.po
file=./`echo pl | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file pl.po
file=./`echo pt | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file pt.po
file=./`echo pt_BR | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file pt_BR.po
file=./`echo ro | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file ro.po
file=./`echo ru | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file ru.po
file=./`echo sr | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file sr.po
file=./`echo sr@latin | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file sr@latin.po
file=./`echo sv | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file sv.po
file=./`echo tr | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file tr.po
file=./`echo uk | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file uk.po
file=./`echo zh_CN | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file zh_CN.po
file=./`echo zh_HK | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file zh_HK.po
file=./`echo zh_TW | sed 's,.*/,,'`.gmo /
 && rm -f $file && /usr/bin/msgfmt -c -o $file zh_TW.po
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/po'
Making all in icons
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
Making all in 16x16
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/16x16'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/16x16'
Making all in 22x22
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/22x22'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/22x22'
Making all in 24x24
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/24x24'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/24x24'
Making all in 32x32
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/32x32'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/32x32'
Making all in 48x48
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/48x48'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/48x48'
Making all in scalable
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/scalable'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/scalable'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
make[1]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
root@ubuntu:/home/zhangbin/code/gnome-mplayer-1.0.2# make install
Making install in src
make[1]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src'
Making install in libgmtk
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmtk'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmtk'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmtk'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmtk'
Making install in libgmlib
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmlib'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmlib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmlib'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src/libgmlib'
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c gnome-mplayer '/usr/local/bin'
test -z "" || /bin/mkdir -p ""
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src'
make[1]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/src'
Making install in po
make[1]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/po'
if test -r ".././mkinstalldirs"; then /
 .././mkinstalldirs /usr/local/share; /
else /
 /bin/sh ../mkinstalldirs /usr/local/share; /
fi
mkdir -p -- /usr/local/share/locale/ar/LC_MESSAGES
installing ar.gmo as /usr/local/share/locale/ar/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/bg/LC_MESSAGES
installing bg.gmo as /usr/local/share/locale/bg/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/ca/LC_MESSAGES
installing ca.gmo as /usr/local/share/locale/ca/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/cs/LC_MESSAGES
installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/da/LC_MESSAGES
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/de/LC_MESSAGES
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/el/LC_MESSAGES
installing el.gmo as /usr/local/share/locale/el/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/en_GB/LC_MESSAGES
installing en_GB.gmo as /usr/local/share/locale/en_GB/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/es/LC_MESSAGES
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/et/LC_MESSAGES
installing et.gmo as /usr/local/share/locale/et/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/eu/LC_MESSAGES
installing eu.gmo as /usr/local/share/locale/eu/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/fi/LC_MESSAGES
installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/fo/LC_MESSAGES
installing fo.gmo as /usr/local/share/locale/fo/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/fr/LC_MESSAGES
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/fy/LC_MESSAGES
installing fy.gmo as /usr/local/share/locale/fy/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/gl/LC_MESSAGES
installing gl.gmo as /usr/local/share/locale/gl/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/he/LC_MESSAGES
installing he.gmo as /usr/local/share/locale/he/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/hu/LC_MESSAGES
installing hu.gmo as /usr/local/share/locale/hu/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/it/LC_MESSAGES
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/ja/LC_MESSAGES
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/ko/LC_MESSAGES
installing ko.gmo as /usr/local/share/locale/ko/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/lt/LC_MESSAGES
installing lt.gmo as /usr/local/share/locale/lt/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/nl/LC_MESSAGES
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/pl/LC_MESSAGES
installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/pt/LC_MESSAGES
installing pt.gmo as /usr/local/share/locale/pt/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/pt_BR/LC_MESSAGES
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/ro/LC_MESSAGES
installing ro.gmo as /usr/local/share/locale/ro/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/ru/LC_MESSAGES
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/sr/LC_MESSAGES
installing sr.gmo as /usr/local/share/locale/sr/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/sr@latin/LC_MESSAGES
installing sr@latin.gmo as /usr/local/share/locale/sr@latin/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/sv/LC_MESSAGES
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/tr/LC_MESSAGES
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/uk/LC_MESSAGES
installing uk.gmo as /usr/local/share/locale/uk/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/zh_CN/LC_MESSAGES
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/zh_HK/LC_MESSAGES
installing zh_HK.gmo as /usr/local/share/locale/zh_HK/LC_MESSAGES/gnome-mplayer.mo
mkdir -p -- /usr/local/share/locale/zh_TW/LC_MESSAGES
installing zh_TW.gmo as /usr/local/share/locale/zh_TW/LC_MESSAGES/gnome-mplayer.mo
if test "gnome-mplayer" = "glib"; then /
 if test -r ".././mkinstalldirs"; then /
   .././mkinstalldirs /usr/local/share/glib-2.0/gettext/po; /
 else /
   /bin/sh ../mkinstalldirs /usr/local/share/glib-2.0/gettext/po; /
 fi; /
 /usr/bin/install -c -m 644 ./Makefile.in.in /
 /usr/local/share/glib-2.0/gettext/po/Makefile.in.in; /
else /
 : ; /
fi
make[1]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/po'
Making install in icons
make[1]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
Making install in 16x16
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/16x16'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/16x16'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icons/hicolor/16x16/apps" || /bin/mkdir -p "/usr/local/share/icons/hicolor/16x16/apps"
 /usr/bin/install -c -m 644 gnome-mplayer.png '/usr/local/share/icons/hicolor/16x16/apps'
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/16x16'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/16x16'
Making install in 22x22
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/22x22'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/22x22'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icons/hicolor/22x22/apps" || /bin/mkdir -p "/usr/local/share/icons/hicolor/22x22/apps"
 /usr/bin/install -c -m 644 gnome-mplayer.png '/usr/local/share/icons/hicolor/22x22/apps'
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/22x22'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/22x22'
Making install in 24x24
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/24x24'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/24x24'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icons/hicolor/24x24/apps" || /bin/mkdir -p "/usr/local/share/icons/hicolor/24x24/apps"
 /usr/bin/install -c -m 644 gnome-mplayer.png '/usr/local/share/icons/hicolor/24x24/apps'
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/24x24'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/24x24'
Making install in 32x32
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/32x32'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/32x32'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icons/hicolor/32x32/apps" || /bin/mkdir -p "/usr/local/share/icons/hicolor/32x32/apps"
 /usr/bin/install -c -m 644 gnome-mplayer.png '/usr/local/share/icons/hicolor/32x32/apps'
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/32x32'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/32x32'
Making install in 48x48
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/48x48'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/48x48'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icons/hicolor/48x48/apps" || /bin/mkdir -p "/usr/local/share/icons/hicolor/48x48/apps"
 /usr/bin/install -c -m 644 gnome-mplayer.png '/usr/local/share/icons/hicolor/48x48/apps'
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/48x48'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/48x48'
Making install in scalable
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/scalable'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/scalable'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icons/hicolor/scalable/apps" || /bin/mkdir -p "/usr/local/share/icons/hicolor/scalable/apps"
 /usr/bin/install -c -m 644 gnome-mplayer.svg '/usr/local/share/icons/hicolor/scalable/apps'
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/scalable'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons/scalable'
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[1]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2/icons'
make[1]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
make[2]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/applications" || /bin/mkdir -p "/usr/local/share/applications"
 /usr/bin/install -c -m 644 gnome-mplayer.desktop '/usr/local/share/applications'
test -z "/usr/local/share/doc/gnome-mplayer" || /bin/mkdir -p "/usr/local/share/doc/gnome-mplayer"
 /usr/bin/install -c -m 644 README COPYING AUTHORS ChangeLog INSTALL NEWS DOCS/keyboard_shortcuts.txt DOCS/tech/dbus.txt DOCS/tech/plugin-interaction.txt '/usr/local/share/doc/gnome-mplayer'
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
 /usr/bin/install -c -m 644 gnome-mplayer.1 '/usr/local/share/man/man1'
test -z "/usr/local/share/gnome-control-center/default-apps" || /bin/mkdir -p "/usr/local/share/gnome-control-center/default-apps"
 /usr/bin/install -c -m 644 gnome-mplayer.xml '/usr/local/share/gnome-control-center/default-apps'
test -z "" || /bin/mkdir -p ""
make  install-data-hook
make[3]: Entering directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
gtk-update-icon-cache: Cache file created successfully.
make[3]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
make[2]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
make[1]: Leaving directory `/home/zhangbin/code/gnome-mplayer-1.0.2'
还挺顺利的
编译后的src
可以运行
界面
===============

Ubuntu下安装GTK+

[日期:2008-09-22]来源:Linux社区  作者:Linux编辑

Ubuntu下GTK的安装

apt-get install build-essential #这将安装gcc/g++/gdb/make 等基本编程工具

apt-get install gnome-core-devel #这将安装 libgtk2.0-dev libglib2.0-dev 等开发相关的库文件

apt-get install pkg-config #用于在编译GTK程序时自动找出头文件及库文件位置

 

 

apt-get install devhelp #这将安装 devhelp GTK文档查看程序

apt-get install libglib2.0-doc libgtk2.0-doc #这将安装 gtk/glib 的API参考手册及其它帮助文档

apt-get install glade libglade2-dev #这将安装基于GTK的界面GTK是开发Gnome窗口的c/c++语言图形库。

apt-get install libgtk2.0*, gtk+2.0所需的所有文件统通下载安装完毕。

应用程序编译命令:gcc test.c `pkg-config --cflags --libs gtk+-2.0`,编译通过,运行正常。

pkg-config是一个用来管理包的程序,在控制台输入 pkg-config --cflags --lzibs gtk+-2.0,可以发现输出的文本包括了gcc编译gtk+2.0所需要的所有选项(头文件目录和库文件)。

这里有一点需要注意, gcc test.c `pkg-config --cflags --libs gtk+-2.0`, pkg-config --cflags --libs gtk+-2.0两侧的引号并不是真正的引号,而是键盘数字件那一行,最左边的那个字符。如果错用了单引号,gcc无法使用 pkg-config --cflags --libs gtk+-2.0产生的文本作为编译选项。构造程序。

=======================
一、准备工作
    1、GTK+2.6及相关源码包的下载!
    ftp://ftp.gtk.org里面有绝大多数的软件包!下载吧!我在安装时就象在WINDOWS里一样什么都用最新的!呵呵。。。如下:
atk-1.9.0.tar.bz2、tiff-v3.6.1.tar.z、pkgconfig-0.15.0.tar.gz、libpng-1.2.8.tar.bz2 、jpegsrc.v6b.tar.gz
glib-2.6.4.tar.bz2、gtk+-2.6.6.tar.bz2、pango-1.8.1.tar.bz2、freetype-2.1.8.tar.bz2
fontconfig-2.3.1.tar.gz
 二、源码包的安装及次序:
  a、首先安装pkgconfig
./configure --prefix=/usr &&
make &&
make install
把下面的话加到你的系统或用户设置文件中:
export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig
最好/sbin/ldconfig一下,以后每安一个软件就/sbin/ldconfig一下,保险点.

b、 安装glib2.4
./configure --prefix=/usr &&
make &&
make install
/sbin/ldconfig

  c、安装atk1.9
./configure --prefix=/usr &&
make &&
make install
/sbin/ldconfig

d、 安装freetype-2.1.8
./configure --prefix=/usr &&
make &&
make install
/sbin/ldconfig
e、 安装pango 1.8.1
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig
./configure --prefix=/usr --sysconfdir=/etc &&
make &&
make install
/sbin/ldconfig

f、 安装libpng-1.2.8
make prefix=/usr /
ZLIBINC=/usr/include ZLIBLIB=/usr/lib -f scripts/makefile.linux &&
make prefix=/usr install -f scripts/makefile.linux
/sbin/ldconfig

g、 安装libtiff(就是tiff)
./configure --prefix=/usr --noninteractive /
--with-DIR_MAN=/usr/share/man &&
make &&
make install
/sbin/ldconfig

h、 安装libjpeg(就是jpegsrv)
./configure --enable-static --enable-shared --prefix=/usr &&
make &&
make install
/sbin/ldconfig

i、 安装fontconfig-2.2.2
./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man && make && make install
/sbin/ldconfig

j、 安装gtk2.6.6
./configure --prefix=/usr --sysconfdir=/etc &&
make &&
make install
/sbin/ldconfig
===============
Debian/Ubuntu 下安装GTK(转)

安装命令:

sudo apt-get install gnome-core-devel 

sudo apt-get install libglib2.0-doc libgtk2.0-doc 

sudo apt-get install devhelp 

sudo apt-get install glade-gnome glade-common glade-doc

安装GTK环境只要安装一个gnome-core-devel就可以了,里面集成了很多其他的包。除此之外还要转一些其他的东西,如libglib2.0 -doc、libgtk2.0-doc帮助文档,devhelp帮助文档查看,glade-gnome、glade-common、glade-doc图 形界面设计等。


使用外部命令查看安装的gtk库版


$pkg-config --modversion gtk+ (查看1.2.x版本)
$pkg-config --modversion gtk+-2.0 (查看 2.x 版本)
$pkg-config --version (查看pkg-config的版本)
$pkg-config --list-all grep gtk (查看是否安装了gtk)


安装gtk2.0

sudo apt-get install libgtk2.0-dev

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

等风来不如迎风去

你的鼓励是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值