Re: Terminal QQ : MyQQ3.1 (修正Linux下的编译问题)
发表于 : 2009-10-03 22:40
哈哈,搞了半天终于搞定了库,编译通过里。也运行起来了,可惜,登录提示网络错误!!白忙活了??悲剧!!
linux真是折腾!使劲折腾!
linux真是折腾!使劲折腾!
代码: 全选
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/qqsocket.c -o obj/qqsocket.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/qqcrypt.c -o obj/qqcrypt.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/md5.c -o obj/md5.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/debug.c -o obj/debug.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/qqclient.c -o obj/qqclient.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/memory.c -o obj/memory.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/config.c -o obj/config.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/packetmgr.c -o obj/packetmgr.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/qqpacket.c -o obj/qqpacket.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/prot_login.c -o obj/prot_login.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/protocol.c -o obj/protocol.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/prot_misc.c -o obj/prot_misc.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/prot_im.c -o obj/prot_im.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/prot_user.c -o obj/prot_user.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/list.c -o obj/list.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/buddy.c -o obj/buddy.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/group.c -o obj/group.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/qun.c -o obj/qun.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/prot_group.c -o obj/prot_group.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/prot_qun.c -o obj/prot_qun.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/prot_buddy.c -o obj/prot_buddy.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/loop.c -o obj/loop.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/utf8.c -o obj/utf8.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/util.c -o obj/util.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
gcc `pkg-config --cflags dbus-glib-1 libnm_glib` -c src/crc32.c -o obj/crc32.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
g++ -c src/tinyxml/tinystr.cpp -o obj/tinyxml/tinystr.o
g++ -c src/tinyxml/tinyxml.cpp -o obj/tinyxml/tinyxml.o
g++ -c src/tinyxml/tinyxmlerror.cpp -o obj/tinyxml/tinyxmlerror.o
g++ -c src/tinyxml/tinyxmlparser.cpp -o obj/tinyxml/tinyxmlparser.o
g++ `pkg-config --cflags dbus-glib-1 libglademm-2.4 gtkmm-2.4 libnotifymm-1.0 libnm_glib` -c src/gmyqq.cc -o obj/gmyqq.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package libglademm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libglademm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libglademm-2.4' found
Package gtkmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkmm-2.4' found
Package libnotifymm-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnotifymm-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnotifymm-1.0' found
Package libnm_glib was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnm_glib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnm_glib' found
In file included from src/gmyqq.cc:2:
src/gmyqq.h:1:19: error: gtkmm.h: No such file or directory
src/gmyqq.h:2:24: error: libglademm.h: No such file or directory
src/gmyqq.h:3:25: error: libnotifymm.h: No such file or directory
src/gmyqq.h:4:34: error: boost/lexical_cast.hpp: No such file or directory
In file included from src/gmyqq.h:6,
from src/gmyqq.cc:2:
src/myqq.h:40:50: error: ncurses.h: No such file or directory
src/myqq.h:41:19: error: panel.h: No such file or directory
In file included from src/gmyqq.h:6,
from src/gmyqq.cc:2:
src/myqq.h:589: error: ISO C++ forbids declaration of ‘WINDOW’ with no type
src/myqq.h:589: error: expected ‘;’ before ‘*’ token
src/myqq.h:590: error: ISO C++ forbids declaration of ‘WINDOW’ with no type
src/myqq.h:590: error: expected ‘;’ before ‘*’ token
src/myqq.h:591: error: ISO C++ forbids declaration of ‘WINDOW’ with no type
src/myqq.h:591: error: expected ‘;’ before ‘*’ token
src/myqq.h:592: error: ISO C++ forbids declaration of ‘WINDOW’ with no type
src/myqq.h:592: error: expected ‘;’ before ‘*’ token
src/myqq.h:642: error: ISO C++ forbids declaration of ‘WINDOW’ with no type
src/myqq.h:642: error: expected ‘;’ before ‘*’ token
In file included from src/gmyqq.cc:2:
src/gmyqq.h:10: error: ‘Gtk’ is not a namespace-name
src/gmyqq.h:10: error: expected namespace-name before ‘;’ token
src/gmyqq.h:22: error: ISO C++ forbids declaration of ‘TextView’ with no type
src/gmyqq.h:22: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:23: error: ‘Glib’ has not been declared
src/gmyqq.h:23: error: ISO C++ forbids declaration of ‘RefPtr’ with no type
src/gmyqq.h:23: error: expected ‘;’ before ‘<’ token
src/gmyqq.h:24: error: ‘Glib’ has not been declared
src/gmyqq.h:24: error: ISO C++ forbids declaration of ‘RefPtr’ with no type
src/gmyqq.h:24: error: expected ‘;’ before ‘<’ token
src/gmyqq.h:25: error: ISO C++ forbids declaration of ‘Window’ with no type
src/gmyqq.h:25: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:26: error: ISO C++ forbids declaration of ‘Entry’ with no type
src/gmyqq.h:26: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:27: error: ISO C++ forbids declaration of ‘Entry’ with no type
src/gmyqq.h:27: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:28: error: ISO C++ forbids declaration of ‘Entry’ with no type
src/gmyqq.h:28: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:29: error: ISO C++ forbids declaration of ‘Entry’ with no type
src/gmyqq.h:29: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:30: error: ISO C++ forbids declaration of ‘CheckButton’ with no type
src/gmyqq.h:30: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:31: error: ISO C++ forbids declaration of ‘Button’ with no type
src/gmyqq.h:31: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:32: error: ISO C++ forbids declaration of ‘Button’ with no type
src/gmyqq.h:32: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:33: error: ISO C++ forbids declaration of ‘Button’ with no type
src/gmyqq.h:33: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:34: error: ISO C++ forbids declaration of ‘Label’ with no type
src/gmyqq.h:34: error: expected ‘;’ before ‘*’ token
src/gmyqq.h:43: error: ‘sigc’ has not been declared
src/gmyqq.h:43: error: ISO C++ forbids declaration of ‘connection’ with no type
src/gmyqq.h:43: error: expected ‘;’ before ‘c’
src/gmyqq.h:44: error: ‘Notify’ has not been declared
src/gmyqq.h:44: error: ISO C++ forbids declaration of ‘Notification’ with no type
src/gmyqq.h:44: error: expected ‘;’ before ‘*’ token
src/gmyqq.cc: In constructor ‘gMyqq::gMyqq()’:
src/gmyqq.cc:20: error: ‘refXml’ was not declared in this scope
src/gmyqq.cc:20: error: ‘Gnome’ has not been declared
src/gmyqq.cc:33: error: ‘message_textview’ was not declared in this scope
src/gmyqq.cc:37: error: ‘main_window’ was not declared in this scope
src/gmyqq.cc: In member function ‘void gMyqq::on_tray_clicked()’:
src/gmyqq.cc:76: error: ‘main_window’ was not declared in this scope
src/gmyqq.cc: In member function ‘void gMyqq::show_window()’:
src/gmyqq.cc:85: error: ‘main_window’ was not declared in this scope
src/gmyqq.cc: In member function ‘void gMyqq::hide_window()’:
src/gmyqq.cc:91: error: ‘main_window’ was not declared in this scope
src/gmyqq.cc: In function ‘int main(int, char**)’:
src/gmyqq.cc:121: error: ‘Gtk’ has not been declared
src/gmyqq.cc:121: error: expected `;' before ‘kit’
src/gmyqq.cc:123: error: ‘kit’ was not declared in this scope
make: *** [obj/gmyqq.o] Error 1