wncksync not building on mandriva

Bug #529682 reported by obgr_seneca
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
WnckSync
Invalid
Undecided
Unassigned

Bug Description

I'm trying to build wncksync on Mandriva-2010.0 (since I need it as a dependency for netbook-launcher-efl).
During the make process I'm getting the following error:

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_DEPRECATED -g -O2 -lm -MT libgiowncksync_la-gapplaunchhandlerdbus.lo -MD -MP -MF .deps/libgiowncksync_la-gapplaunchhandlerdbus.Tpo -c gapplaunchhandlerdbus.c -fPIC -DPIC -o .libs/libgiowncksync_la-gapplaunchhandlerdbus.o
gapplaunchhandlerdbus.c:36: error: expected ')' before '*' token
gapplaunchhandlerdbus.c: In function 'g_app_launch_handler_dbus_register_type':
gapplaunchhandlerdbus.c:46: error: 'launch_handler_iface_init' undeclared (first use in this function)
gapplaunchhandlerdbus.c:46: error: (Each undeclared identifier is reported only once
gapplaunchhandlerdbus.c:46: error: for each function it appears in.)
gapplaunchhandlerdbus.c:46: error: 'G_TYPE_DESKTOP_APP_INFO_LAUNCH_HANDLER' undeclared (first use in this function)
gapplaunchhandlerdbus.c: At top level:
gapplaunchhandlerdbus.c:99: error: expected ')' before '*' token
gapplaunchhandlerdbus.c:137: error: expected ')' before '*' token
gapplaunchhandlerdbus.c: In function 'g_app_launch_handler_dbus_register':
gapplaunchhandlerdbus.c:146: error: 'G_DESKTOP_APP_INFO_LAUNCH_HANDLER_EXTENSION_POINT_NAME' undeclared (first use in this function)
make[2]: *** [libgiowncksync_la-gapplaunchhandlerdbus.lo] Error 1
make[2]: Leaving directory `/home/ob/tmp/wncksync-0.2.8/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ob/tmp/wncksync-0.2.8'
make: *** [all] Error 2

Oliver

Revision history for this message
Jason Smith (jassmith) wrote :

you need a patch glib also. See the gio patch included in trunk.

Revision history for this message
Mathieu Bridon (bochecha) wrote :

I'm having the exact same build issue on Fedora 13.

Changed in wncksync:
status: New → Invalid
Revision history for this message
Sosuke_69 (fausto17) wrote :

I have the same problem, I try to build it in Arch Linux and got the same result.

Revision history for this message
obgr_seneca (oliver-mandrivauser) wrote : Re: [Bug 529682] Re: wncksync not building on mandriva

You need to patch glib2 (not glibc). I'll attach the patch as it worked for
me.

Oliver

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.