Bugs: Browse | Submit New | Admin
- I'm having diffuculty to compile dbus-ruby 0.1.10 with dbus-0.50. - dbus-0.1.10 was complied successfully with * dbus-0.22 (on RHEL4) * dbus-0.23 (on Gentoo) - Is this expected or, it happens only on my environment? The error message is like:- >>>>>>>>>>>>>>> Compile LOG >>>>>>>>>>>>>>>>>>>> ---> lib ---> lib/dbus <--- lib/dbus <--- lib ---> ext /usr/bin/ruby18 /home/dwata/src/dbus-ruby-0.1.10/ext/extconf.rb checking for dbus_connection_setup_with_g_main()... yes checking for dbus_server_setup_with_g_main()... yes checking for dbus_bus_get()... yes checking for dbus_connection_has_messages_to_send()... yes creating Makefile <--- ext ---> lib ---> lib/dbus <--- lib/dbus <--- lib ---> ext make i686-pc-linux-gnu-gcc -fPIC -O2 -march=pentium4 -fPIC -I/usr/local/opt/dbus/include/dbus-1.0 -I/usr/local/opt/dbus/lib/dbus-1.0/include -I/usr/local/opt/dbus/include/dbus-1.0 -I/usr/local/opt/dbus/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I/home/dwata/src/dbus-ruby-0.1.10/ext -DHAVE_DBUS_CONNECTION_SETUP_WITH_G_MAIN -DHAVE_DBUS_SERVER_SETUP_WITH_G_MAIN -DHAVE_DBUS_BUS_GET -DHAVE_DBUS_CONNECTION_HAS_MESSAGES_TO_SEND -c ruby-dbus-message-iter.c ruby-dbus-message-iter.c: In function `cDBusMessageIter_get_string': ruby-dbus-message-iter.c:277: warning: passing arg 1 of `rb_str_new2' makes pointer from integer without a cast ruby-dbus-message-iter.c: In function `cDBusMessageIter_get_object_path': ruby-dbus-message-iter.c:291: warning: passing arg 1 of `rb_str_new2' makes pointer from integer without a cast ruby-dbus-message-iter.c: In function `cDBusMessageIter_get_dict_key': ruby-dbus-message-iter.c:305: warning: passing arg 1 of `rb_str_new2' makes pointer from integer without a cast ruby-dbus-message-iter.c: In function `cDBusMessageIter_dict_iter_new': ruby-dbus-message-iter.c:347: error: `DBUS_TYPE_DICT' undeclared (first use in this function) ruby-dbus-message-iter.c:347: error: (Each undeclared identifier is reported only once ruby-dbus-message-iter.c:347: error: for each function it appears in.) make: *** [ruby-dbus-message-iter.o] Error 1 setup.rb:535:in `command': 'system make ' failed (RuntimeError) from setup.rb:543:in `make' from setup.rb:1156:in `setup_dir_ext' from setup.rb:1321:in `__send__' from setup.rb:1321:in `traverse' from setup.rb:1319:in `dive_into' from setup.rb:1319:in `traverse' from setup.rb:1313:in `exec_task_traverse' from setup.rb:1308:in `each' from setup.rb:1308:in `exec_task_traverse' from setup.rb:1123:in `exec_setup' from setup.rb:883:in `exec_setup' from setup.rb:704:in `invoke' from setup.rb:674:in `invoke' from setup.rb:1352 >>>>>>>>>>>>>>> Compile LOG >>>>>>>>>>>>>>>>>>>> Thanks. Best regards
Add A Comment:
Date: 2006-01-15 18:16 Sender: Nobody Seems to be a lot of constants that have changed in newer versions of dbus. I started tracking them down, but there were many of them, and I'm not sure every time which is the correct new name. Someone with better knowledge of the inner workings probably need to fix this.