- install atk
- 报告: glib-genmarshal not found.
apt-get install libglib2.0-dev
------------install gdk-pixbuf
WARNING: *** TIFF loader will not be built 的解决
sudo apt-get install libtiff4-dev
--------install cairo pango config.log
configure:17925: $PKG_CONFIG --exists --print-errors "fontconfig >= 2.10.91"
Requested 'fontconfig >= 2.10.91' but version of Fontconfig is 2.10.2
configure:17928: $? = 1
configure:17942: $PKG_C
-------gtk+3.10
configure:24217: $PKG_CONFIG --exists --print-errors "$ATK_PACKAGES"
Package atk-bridge-2.0 was not found in the pkg-config search path.
sudo apt-get install libatk-bridge2.0
wayland checking for doxygen... no
configure: error: Documentation build requested but doxygen not found. Install doxygen or disable the documentation using --disable-documentation
GTK+ 3.10.0
===========
GDK backends: x11 wayland
X11 extensions: XKB Xinerama XI2.2 XRANDR XFIXES Composite DAMAGE
Print backends: file lpr
Dynamic modules: yes
Included immodules: none
PackageKit support: yes
colord support: no
Introspection: no
Debugging: minimum
Documentation: no
parasite
sudo apt-get install libgtksourceview-3.0-dev
------./autogen.sh
$ aclocal
configure.ac:1: /usr/bin/m4: Warning: Excess arguments to built-in `_m4_popdef' ignored
install gnu m4
error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow.
cp /home/xsheng/tools/pkg/share/aclocal/pkg.m4 ~/src/gtkparasite2/m4/
It needs to be:
ACLOCAL_AMFLAGS = -I m4
in Makefile.am
and:
AC_CONFIG_MACRO_DIR([m4])
in configure.ac
.
autoreconf -i
ln -s /usr/lib/gtk-2.0/include/gdkconfig.h /usr/include
cp /usr/lib64/gtk-2.0/include/gdkconfig.h ~/pygtk-unit/include/