![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2006
My beans are 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 iFolder: Code:
svn co https://forgesvn1.novell.com/svn/ifolder/branches/ifolder_3_4_sled10sp1/ifolder Code:
svn co https://forgesvn1.novell.com/svn/simias/branches/ifolder_3_4_sled10sp1/simias 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 Code:
./configure --prefix=/opt/ifolder make sudo make install 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 Other things you should know: iFolder's user settings are stored in Code:
~/.local/share/simias 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 10:27 AM.. |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2006
My beans are hidden!
|
Re: HOWTO: iFolder Client on Feisty
.
Last edited by flar; June 15th, 2007 at 10:06 AM.. |
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2006
My beans are hidden!
|
Re: HOWTO: iFolder Client on Feisty
.
Last edited by flar; June 15th, 2007 at 10:06 AM.. |
|
|
|
|
|
#4 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2006
My beans are hidden!
|
Re: HOWTO: iFolder Client on Feisty
I've been running iFolder under heavy usage all week, no problems at all.
|
|
|
|
|
|
#5 |
|
Way Too Much Ubuntu
![]() Join Date: Mar 2005
Location: Florence, Italy
Beans: 279
Ubuntu Karmic Koala (testing)
|
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?
__________________
Jaunty on: Asus terminator P4 533 - Asus notebook A6F ; Karmic on: Asus eeePC 900 - HP pavillion dv6000 |
|
|
|
|
|
#6 |
|
Way Too Much Ubuntu
![]() Join Date: Mar 2005
Location: Florence, Italy
Beans: 279
Ubuntu Karmic Koala (testing)
|
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?
__________________
Jaunty on: Asus terminator P4 533 - Asus notebook A6F ; Karmic on: Asus eeePC 900 - HP pavillion dv6000 |
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2006
My beans are hidden!
|
Re: HOWTO: iFolder Client on Feisty
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 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2007
Beans: 2
|
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 |
|
First Cup of Ubuntu
![]() 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 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2006
My beans are 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 3rd, 2007 at 09:30 PM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|