| View previous topic :: View next topic |
| Author |
Message |
Specialized Apprentice


Joined: 11 Jan 2005 Posts: 264
|
Posted: Thu Apr 20, 2006 9:26 pm Post subject: Error while compiling nautilus-sendto-0.5 |
|
|
hi,
I'm trying to emerge nautilus-sento, but I always get this error:
| Code: | bluetooth.c: In function `init':
bluetooth.c:51: error: too many arguments to function `btctl_controller_is_initialised'
make[3]: *** [bluetooth.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
evolution.c: In function `add_evolution_contacts_to_model':
evolution.c:80: warning: initialization discards qualifiers from pointer target type
evolution.c:81: warning: initialization discards qualifiers from pointer target type
|
With USE="-bluetooth" it works, but just for easy send files via bluetooth I want to install it.
How can I fix this? |
|
| Back to top |
|
 |
Specialized Apprentice


Joined: 11 Jan 2005 Posts: 264
|
Posted: Sat May 13, 2006 10:16 am Post subject: |
|
|
I have found the error, but not able to write a working Patch
The Problem is one line in nautilus-sendto-0.5.orig/src/plugins/bluetooth.c.
See here |
|
| Back to top |
|
 |
Specialized Apprentice


Joined: 11 Jan 2005 Posts: 264
|
Posted: Sun May 14, 2006 5:40 pm Post subject: |
|
|
Okay, it seems, nobody can help me. Here is a little workaround for those who have the same Problem:
| Code: | | USE="-bluetooth" emerge nautilus-sendto |
then copy the tar.bz2 to your root-folder
| Code: | | cp /usr/portage/distfiles/nautilus-sendto-0.5.tar.bz2 /root/ |
then unpack it:
| Code: | | cd /root/ && tar -xvjf nautilus-sendto-0.5.tar.bz2 |
change some lines in nautilus-sendto-0.5/src/plugins/bluetooth.c:
| Code: | | nano nautilus-sendto-0.5/src/plugins/bluetooth.c |
Now change line 51 from:
| Code: | | if (btctl_controller_is_initialised (BTCTL_CONTROLLER (btctl), &e) == FALSE) { |
to
| Code: | | if (btctl_controller_is_initialised (BTCTL_CONTROLLER (btctl)) == FALSE) { |
now you only have to install it the usual way:
| Code: | | cd /root/nautilus-sendto-0.5/ && ./configure && make && make install |
The entry for send via Bluetooth is not shown by default, you have to turn on your bluetooth adapter and the gnome-obex-server and then it will be shown. |
|
| Back to top |
|
 |
sog Guru


Joined: 04 Apr 2004 Posts: 356
|
Posted: Fri May 19, 2006 9:16 pm Post subject: |
|
|
bless you, Specialized. this worked like a charm. i now see a Send To option, and can initiate file transfers to my phone.
it's not working, so far, but at least i'm on the way. thanks - hope the nautilus-sendto devs pick up that change shortly. _________________ ------------------------------------------------
(blog) http://www.redmonk.com/sogrady/ |
|
| Back to top |
|
 |
Specialized Apprentice


Joined: 11 Jan 2005 Posts: 264
|
Posted: Mon Jun 26, 2006 8:02 pm Post subject: |
|
|
| It seems the bug is fixed with libbtctl-0.6.0-r1. See here |
|
| Back to top |
|
 |
|