樱家冢,我移植APE遇到解决不了的困难了……
make 出错,提示没有 /usr/lib/libgtk-x11-2.0.la ……………root@MagicLinux src]# make
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mac -I/usr/include/bmp -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -s -O3 -Wall -pedantic -D__GNUC_IA32__ -c mac.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mac -I/usr/include/bmp -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -s -O3 -Wall -pedantic -D__GNUC_IA32__ -Wp,-MD,.deps/mac.pp -c mac.cpp-fPIC -DPIC -o .libs/mac.o
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mac -I/usr/include/bmp -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -s -O3 -Wall -pedantic -D__GNUC_IA32__ -Wp,-MD,.deps/mac.pp -c mac.cpp -o mac.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mac -I/usr/include/bmp -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -s -O3 -Wall -pedantic -D__GNUC_IA32__ -c fileinfo.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mac -I/usr/include/bmp -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -s -O3 -Wall -pedantic -D__GNUC_IA32__ -Wp,-MD,.deps/fileinfo.pp -c fileinfo.cpp-fPIC -DPIC -o .libs/fileinfo.o
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mac -I/usr/include/bmp -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -s -O3 -Wall -pedantic -D__GNUC_IA32__ -Wp,-MD,.deps/fileinfo.pp -c fileinfo.cpp -o fileinfo.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link g++-I/usr/include/bmp -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -s -O3 -Wall -pedantic -D__GNUC_IA32__-o libxmms-mac.la -rpath /usr/lib/bmp/Input -version-info 1:0:0 -module -export-symbols-regex "get_.plugin_info" mac.lo fileinfo.lo -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lgthread-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lbeep -lmac -lmac
grep: /usr/lib/libgtk-x11-2.0.la: No such file or directory
/bin/sed: can't read /usr/lib/libgtk-x11-2.0.la: No such file or directory
libtool: link: `/usr/lib/libgtk-x11-2.0.la' is not a valid libtool archive
make: *** 错误 1
#
该死的,本身是 gtk 1.2 的代码,居然修改以后自己变成了用 gtk 2.0 的头文件………
页:
[1]