`make` 在 `dbus-glib-0.104` 上不起作用

`make` 在 `dbus-glib-0.104` 上不起作用

我的系统是 Ubuntu 14.10,make几分钟之前我在其他软件包上使用过它,所以总的来说它是正常的。

我的目标是安装xfce4-windowck-plugin-0.2.4并尝试手动解决依赖关系。

当前文件夹包含我从这里提取的所有内容:http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.104.tar.gz

make成功运行后,运行结果如下./configure --prefix=/usr

bytecommander@AlkaliMetal:~/Downloads/xfce-deb/dbus-glib-0.104$ make
make  all-recursive
make[1]: Entering directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104'
Making all in dbus
make[2]: Entering directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus'
Making all in .
make[3]: Entering directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus'
Making all in examples
make[3]: Entering directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus/examples'
make  all-recursive
make[4]: Entering directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus/examples'
Making all in .
make[5]: Entering directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus/examples'
  CCLD     example-client
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_set_no_reply@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_get_path@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_list_registered@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_watch_get_enabled@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_recurse@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_unref@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_set_timeout_functions@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_timeout_get_interval@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_bus_get_private@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_pending_call_steal_reply@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_threads_init_default@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_get_args@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_add_filter@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_dispatch@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_is_signal@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_get_arg_type@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_send@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_get_member@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_watch_get_data@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_set_wakeup_main_function@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_timeout_handle@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_timeout_get_data@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_get_no_reply@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_bus_remove_match@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_get_type@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_get_data@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_pending_call_block@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_watch_handle@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_new_method_return@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_try_register_object_path@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_timeout_set_data@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_send_with_reply@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_signature_iter_recurse@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_get_sender@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_next@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_bus_add_match@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_get_signature@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_server_allocate_data_slot@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_set_error_from_message@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_watch_get_flags@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_unregister_object_path@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_get_object_path_data@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_ref@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_server_set_data@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_init_append@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_new_signal@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_error_free@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_signature_iter_get_current_type@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_send_with_reply_and_block@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_set_path@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_signature_iter_init@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_pending_call_cancel@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_free@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_bus_get@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_is_method_call@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_server_get_data@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_watch_set_data@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_init@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_open_private@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_timeout_get_enabled@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_set_data@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_close_container@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_set_watch_functions@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_watch_get_unix_fd@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_server_set_timeout_functions@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_get_dispatch_status@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_server_set_watch_functions@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_error_is_set@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_get_fixed_array@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_remove_filter@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_set_interface@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_free_data_slot@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_abandon_container@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_get_signature@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_get_interface@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_pending_call_set_notify@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_append_basic@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_flush@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_open_container@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_append_args@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_get_basic@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_error_init@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_new_error@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_free_string_array@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_unref@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_new_method_call@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_iter_append_fixed_array@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_ref@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_set_error@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_message_set_destination@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_pending_call_unref@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_open@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_signature_iter_next@LIBDBUS_1_3'
../../dbus/.libs/libdbus-glib-1.so: undefined reference to `dbus_connection_allocate_data_slot@LIBDBUS_1_3'
collect2: error: ld returned 1 exit status
Makefile:436: recipe for target 'example-client' failed
make[5]: *** [example-client] Error 1
make[5]: Leaving directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus/examples'
Makefile:496: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus/examples'
Makefile:391: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus/examples'
Makefile:1009: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104/dbus'
Makefile:512: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/bytecommander/Downloads/xfce-deb/dbus-glib-0.104'
Makefile:411: recipe for target 'all' failed
make: *** [all] Error 2

答案1

您需要先安装其缺少的依赖项,根据Linuxfromscratch.org: dbus-glib-0.104

D-BusUtopic(包dbus)中列为版本1.8.8-1ubuntu2.1

GLibUtopic(包glib2.0)中列为版本2.42.1-1~ubuntu1

因此您可以D-Bus通过以下方式更新apt

sudo apt-get update && sudo apt-get install dbus

GLib-2.42.2但是,在解决了所有依赖关系后,您必须手动下载并安装:Gnome.org:GLib 参考手册

另一个选择是安装xfce4-windowck-plugin( ) 的更高版本,0.3.0该版本可在此处找到PPA并列为xfce4-windowck-plugin::ppa:eugenesan/ppa

sudo apt-add-repository ppa:eugenesan/ppa && sudo apt-get update && sudo apt-get install xfce4-windowck-plugin

相关内容