runs on Linux machines that have a graphical desktop installed. It is designed to run under the Gnome desktop, but you may also use other desktops, such as KDE, as long as GTK2 is installed.
我对这些包不熟悉,请教一下怎么获得这些包?
you will need the following libraries and corresponding development packages:
- gtk-2.x 光盘#2里面有 gtk-engines-2.2.0-i486-5.tgz ,是否就是“gtk-2.x”?
- gtkmm-2.x gtkmm 好像是一个声音播放包。光盘里面没有。
- libglade-2.x 光盘#1中有 libglade-2.4.0-i486-1.tgz。
- libxml-2.6.4 光盘#1中的 libxml2-2.6.16-i486-1.tgz 是否可以用?
- libpcre-4.x 光盘里面好像没有
- mysql-4.0
-------------------------------------------------------
execute the following commands:
sh autogen.sh
./configure
make
make install
#vi /root/.bashrc
增加
export PKG_CONFIG=/usr/lib/pkgconfig/gtkmm-2.4.pc
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
#exit
login:root
#sh autogen.sh
--------------------------------------------------------------------------------------
/usr/lib/pkgconfig/gtkmm-2.4.pc: line 6: Name:: command not found
/usr/lib/pkgconfig/gtkmm-2.4.pc: line 7: Description:: command not found
/usr/lib/pkgconfig/gtkmm-2.4.pc: line 8: Requires:: command not found
/usr/lib/pkgconfig/gtkmm-2.4.pc: line 9: Version:: command not found
/usr/lib/pkgconfig/gtkmm-2.4.pc: line 10: Libs:: command not found
/usr/lib/pkgconfig/gtkmm-2.4.pc: line 11: Cflags:: command not found
*** Your version of pkg-config is too old. You need version 0.9.0 or newer.
configure: error: Library requirements (glib-2.0 libxml-2.0 >= 2.6.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
------------------------------------------------------------------------------------------------
我查了一下我的 pkg-config version 已经是 0.15.0了! glib2-2.6 libxml2-2.6 都装了