Install Gnome VFS Plugin


From SynCE-Wiki

This Virtual Filesystem Plugin allows access to your device through Nautilus using the protocol synce:///. For this you will need to have Subversion installed.

Contents

Download software

Execute the following command:

svn co https://synce.svn.sourceforge.net/svnroot/synce/trunk/gnomevfs

Compile and Install

To compile the software, enter the directory, and execute:

cd gnomevfs/
./bootstrap
./configure
make
sudo make install

If you don't use or understand sudo, you can use normal su for the last command:

cd gnomevfs/
./bootstrap
./configure
make
su
(enter root password)
make install

Success

The software has been installed. To test this, go to Run Application and enter synce:///. You should then be able to view the contents of your device, and copy files to and from it. If not, progress to the following section:

Troubleshooting

The default action does not support this protocol

This is because Gnome has not been told how to deal with requests to the synce protocol. To allow this, as root, edit the file /etc/gnome-vfs-2.0/modules/default-modules.conf and add the following line to the end:

synce: libsyncevfs

This means that the synce protocol (synce:///) calls upon the library libsyncevfs when it is accessed. This can be done in one line on the oommand line, by executing:

echo 'synce: libsyncevfs' | sudo tee -a /etc/gnome-vfs-2.0/modules/default-modules.conf

If you don't use or understand sudo, you can use normal su:

su
(enter root password)
echo 'synce: libsyncevfs' | tee -a /etc/gnome-vfs-2.0/modules/default-modules.conf

Compiling Under Debian-Based Distributions (Debian, Ubuntu)

Debian repositories include packages for SynCE. If you're using them, there are a few steps you need to do in order to compile the Gnome VFS Plugin.

First make sure these packages are installed:

librapi2
librapi2-dev
librapi2-tools
librra0
librra0-dev
librra0-tools
libsynce0
libsynce0-dev
synce-dccm
synce-serial

The -dev packages are not required for SynCE to work, but they are required for compilation.

Second, the packages librapi2 and libsynce0 don't install all required symbolic links for their libraries, so configure will not find them. You have to create them manually:

cd /usr/lib
sudo ln -s libsynce.so.0.0.0 libsynce.so
sudo ln -s librapi.so.2.0.0 librapi.so

If you don't use sudo, you can use normal su (if your distribution is Ubuntu, you have to use the sudo method above):

cd /usr/lib
su
(enter your password)
ln -s libsynce.so.0.0.0 libsynce.so
ln -s librapi.so.2.0.0 librapi.so

And finally, the Gnome VFS Plugin doesn't compile well with a recent compiler (gcc 4.1 as of this writing). Use an older version of gcc, for example gcc 3.3 works; gcc 3.4 might, too (untested). Make sure it's installed on your system.

Before executing the compilation instructions, assign the path to the old gcc in the environment variable CC:

export CC=/usr/bin/gcc-3.3

that will force make to use gcc-3.3 to compile synce-gnomevfs.

After these steps are done, you may use the instructions in the Compile and Install section.