Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: HOWTO: iFolder Client on Feisty

  1. #1
    Join Date
    Apr 2006
    Beans
    Hidden!

    HOWTO: iFolder Client on Feisty

    From the iFolder website: "iFolder is a simple and secure storage solution that can increase your productivity by enabling you to back up, access and manage your personal files-from anywhere, at any time."

    Basically it synchronizes files between computers, anywhere (ie: over the internet). Clients are available for Linux, Mac, and Windows. To use iFolder, you will need to have an iFolder server.
    Go to the iFolder main page for info on building the server:

    http://www.ifolder.com/index.php/Main_Page

    The iFolder Enterprise Server is now open source so you can build that if you want. I use the older SimpleServer because it is lighter and simpler. This howto describes how to build an iFolder client on Linux that will work with both the Enterprise and Simple iFolder servers.

    The client-server setup of iFolder has a big advantage (at least for me): I can sync files between my home computer and my office computer despite the highly restrictive firewall at my office.

    I've been using iFolder for a couple years (most recently with Dapper), but recently upgraded to Feisty. I built and tested several versions of the iFolder client on Feisty without success (usually the client ran but did not work properly, sometimes would not compile). Finally, after much effort, I found a version of the iFolder client that compiles and works on Feisty:


    1. Install dependencies


    Dependencies (that I know of, there might be more): libmono-dev mono-xsp mono-gmcs libflaim-dev libflaim4.1 liblog4net1.2-cil build-essential

    Code:
    sudo apt-get install libmono-dev   mono-xsp  mono-gmcs libflaim-dev libflaim4.1  liblog4net1.2-cil build-essential


    2. Download the source code using subversion:

    Make a directory for your iFolder source code (can be wherever you want)

    Code:
    mkdir ifolder
    cd ifolder
    Download the source code:

    iFolder:
    Code:
    svn co https://forgesvn1.novell.com/svn/ifolder/branches/ifolder_3_4_sled10sp1/ifolder
    Simias:
    Code:
    svn co https://forgesvn1.novell.com/svn/simias/branches/ifolder_3_4_sled10sp1/simias
    Nautilus-iFolder (optional):
    Code:
    svn co https://forgesvn1.novell.com/svn/ifolder/branches/ifolder_3_4_sled10sp1/nautilus-ifolder/


    3. Build Simias

    Simias must be built first because it is a dependency for iFolder. It is recommended that you install it in /opt/ifolder so as not to contaminate your /usr directory. Simias and iFolder, like many Novell apps, spread files all over so it's best to keep them all in /opt/iFolder. This will make it easier to uninstall

    Code:
    cd simias
    ./configure --prefix=/opt/ifolder
    make 
    sudo make install


    4. Patch and build iFolder

    To get ifolder to build, you'll have to change two instances of TrayIcon to Egg.TrayIcon in the file src/LinuxClient/application/iFolderApplication.cs. This can be done with a patch.

    first, change to the directory where you put the iFolder source code. If you're still in the simias directory, then
    Code:
    cd ../ifolder

    This following is the code for the patch file, paste it into a text editor and save the file in your ifolder directory, e.g.: save it as trayicon.patch.


    Code:
    --- src/LinuxClient/application/iFolderApplication.cs	2007-06-15 09:13:11.000000000 -0400
    +++ src/LinuxClient/application/iFolderApplication.cs.new	2007-06-11 12:42:17.000000000 -0400
    @@ -65,7 +65,7 @@
     		private Gdk.Pixbuf			DownloadingPixbuf;
     		private Gdk.Pixbuf			UploadingPixbuf;
     		private Gtk.EventBox		eBox;
    -		private TrayIcon			tIcon;
    +		private Egg.TrayIcon			tIcon;
     		private iFolderWebService	ifws;
     		private SimiasWebService	simws;
     		private iFolderData			ifdata;
    @@ -141,7 +141,7 @@
     			
     			Util.SetQuitiFolderDelegate(new QuitiFolderDelegate(QuitiFolder));
     
    -			tIcon = new TrayIcon("iFolder");
    +			tIcon = new Egg.TrayIcon("iFolder");
     
     			currentIconAnimationDirection = 0;

    Now apply the patch:
    Code:
    patch -p0 < trayicon.patch
    Now we're ready to build iFolder:

    Code:
    ./configure --prefix=/opt/ifolder
    make 
    sudo make install
    Note that it is essential that iFolder be installed in the same place as simias so it can find the simias files. In our case both will be install in /opt/ifolder



    5. Build nautilus-ifolder (OPTIONAL)

    iFolder also comes with an optional extension for Nautilus. You don't need this, but it will allow you to manage iFolders from the right click context menu in Nautilus.
    Code:
    cd ../nautilus-ifolder
    ./configure --prefix=/opt/ifolder
    make
    sudo make install
    Now everything should be installed and ready to connect to an iFolder server.



    Other things you should know:

    iFolder's user settings are stored in
    Code:
    ~/.local/share/simias
    If you screw up the client's configuration, simply delete this directory to start fresh.


    To execute iFolder, you have to type in the full path ( unless you added the path "/opt/ifolder/bin to your profile). Assuming that you compiled using --prefix=/opt/ifolder, then the command to execute iFolder is:
    Code:
    /opt/ifolder/bin/ifolder

    You could also make a menu entry with the menu editor.
    The iFolder icon is located at:
    Code:
    /opt/ifolder/share/ifolder3/images/ifolder128.png
    Last edited by flar; June 15th, 2007 at 03:27 PM.

  2. #2
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: HOWTO: iFolder Client on Feisty

    .
    Last edited by flar; June 15th, 2007 at 03:06 PM.

  3. #3
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: HOWTO: iFolder Client on Feisty

    .
    Last edited by flar; June 15th, 2007 at 03:06 PM.

  4. #4
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: HOWTO: iFolder Client on Feisty

    I've been running iFolder under heavy usage all week, no problems at all.

  5. #5
    Join Date
    Mar 2005
    Location
    Florence, Italy
    Beans
    329
    Distro
    Ubuntu

    Re: HOWTO: iFolder Client on Feisty

    can I just suggest to use CHECKINSTALL instead of "make install" so that you end up with a .deb instead of files scattered around?
    15.04 on a sammy NP300E5A-S06IT notebook

  6. #6
    Join Date
    Mar 2005
    Location
    Florence, Italy
    Beans
    329
    Distro
    Ubuntu

    Re: HOWTO: iFolder Client on Feisty

    problem when installed compiled ifolder

    tempted overwrite of `/usr/lib/libgconf2-4/2/libgconfbackend-xml.so', which is in libgconf2-4

    solution?
    15.04 on a sammy NP300E5A-S06IT notebook

  7. #7
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: HOWTO: iFolder Client on Feisty

    Quote Originally Posted by suoko View Post
    problem when installed compiled ifolder

    tempted overwrite of `/usr/lib/libgconf2-4/2/libgconfbackend-xml.so', which is in libgconf2-4

    solution?
    hmm, "make install" would overwrite that file. That's what I did and have had no problems. I'm not sure what that file does. If you want to go the checkinstall route, you could force dpkg to overwrite the file. If you wanted the original version of the file back you could reinstall libgconf2-4.

  8. #8
    Join Date
    Jul 2007
    Beans
    2

    Question Re: HOWTO: iFolder Client on Feisty

    I was following these directions right up to the point where I need to build simias. After checking out simias there is no configure script. There is an autogen.sh script to build the make file and I assume a configure script. When I run autogen.sh I am required to install additional packages. I was able to install these except for libxml2-devel. Apt-get was unable to find this package. Any ideas on where I can get this?

    Thanks

  9. #9
    Join Date
    Jul 2007
    Beans
    2

    Re: HOWTO: iFolder Client on Feisty

    I figured out the libxml2-devel problem. For debian the package is called libxml2-dev. After I got that installed I still had problems with the autogen.sh script. It was looking for Makefile.in files and the source has Makefile.am files everywhere. I used find to change the name to Makefile.in and ran autogen.sh without error. Now when I run make it says:
    make
    Makefile:34: *** missing separator. Stop.

    Line 34 looks like this:
    if WINDOWS

    Its been a while since I've actually looked at make files. I'm not sure what to do next and I'm not sure if I should have renamed all the Makefile.am files.

    Anybody tried this recently and gotten it working? I'm assuming the source has changed since these instructions were posted.

  10. #10
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: HOWTO: iFolder Client on Feisty

    EDIT: look at my next post


    The version has changed. I re-downloaded the source using the commands above and got revision 6898.

    The versions I got to compile successfully:

    ifolder: 3.4.7162.1 (basically, iFolder 3.4 revision 7162)
    simias: 1.4.7162.1 (simias 1.4 revision 7162)


    Maybe if you search around forgesvn1.novell.com/svn/ you can find revision 7162.
    Last edited by flar; July 4th, 2007 at 02:30 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •