特殊:Badtitle/NS100:IFolderClient:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第1行: 第1行:
{{From|https://help.ubuntu.com/community/iFolderClient}}
{{From|https://help.ubuntu.com/community/iFolderClient}}
{{Languages|UbuntuHelp:iFolderClient}}
{{Languages|UbuntuHelp:iFolderClient}}
=== Introduction ===
== Gusty Gibbon (7.10) ==
[[UbuntuHelp:iFolderClient|iFolderClient]] come in two parts. First, there is simias that run as a client. This module are use in backend by iFolder to access the server data. Also, there is iFolder that represent the user interface over simias. In other to get a proper installation of [[UbuntuHelp:iFolderClient|iFolderClient]], you must install simias in first time and iFolder before.
=== Getting sources ===
First, you have to get source from subversion server until iFolder team release a tar.gz of version 3.6. To proceed, you have to install subversion with this comment line.
<pre><nowiki>sudo apt-get install svn
</nowiki></pre>
Next, create a directory anywhere on your drive to download the source. I choose to create it in my home directory for no particular reason. This command will do the job.
<pre><nowiki>mkdir ifolder
</nowiki></pre>
It's now time to checkout source code from SVN server. You have to download simias project and iFolder project. This step take a lot of time.
<pre><nowiki>cd ifolder
svn checkout https://forgesvn1.novell.com/svn/simias/trunk/simias simias
svn checkout https://forgesvn1.novell.com/svn/ifolder/trunk/ifolder ifolder
</nowiki></pre>
=== Compile & Install Simias ===
Simias are use by the iFolder application in back end. So, you must compile and install it before trying to compile iFolder. Let get started by installing all dependencies related to simias.
==== Install Dependencies ====
Before going any further, you must ensure that you have enable universe repository. Any way, if it's not the case <code><nowiki>apt-get</nowiki></code> will show you some errors. Execute this command to install every dependencies.
<pre><nowiki>sudo apt-get install build-essential autoconf automake checkinstall libtool mono mono-devel mono-xsp mono-mcs libmono-dev liblog4net1.2-cil libmono-winforms1.0-cil libmono-ldap1.0-cil pkg-config libxml2 libxml2-dev libflaim4.1 libflaim-dev libncurses5-dev uuid uuid-dev
</nowiki></pre>
==== Fix libflaim ====
I don't know why, but the current version of Simias look for the file <code><nowiki>libfl.a</nowiki></code> and <code><nowiki>libfl.so</nowiki></code>. This file correspond to the libflaim.a and libflaim.so respectively. Maybe, under openSUSE the flaim library create this file and Ubuntu thought it's was a better idea to rename this file ! Why not !
To fix this, you have to create a symbolic link with this command.
<pre><nowiki> sudo ln -s /usr/lib/libflaim.a /usr/lib/libfl.a
sudo ln -s /usr/lib/libflaim.so /usr/lib/libfl.so
</nowiki></pre>
==== Compile ====
The decisive moment ! You have to configure simias with the <code><nowiki>autogen.sh</nowiki></code> script. I prefer to install it to <code><nowiki>/usr/local</nowiki></code>. If you don't want to contaminate your <code><nowiki>/usr</nowiki></code> directory you can either install it to <code><nowiki>/opt</nowiki></code>.
<pre><nowiki> cd simias/
./autogen.sh --prefix=/usr/local
</nowiki></pre>
If the script exit without any error and display something like <code><nowiki>Now type 'make' to compile Simias</nowiki></code>, you can continue and execute this next command that will compile Simias.
<pre><nowiki> make
</nowiki></pre>
==== Install ====
Finally, you must install it by executing this command. A good alternative is to install it by using the <code><nowiki>checkinstall</nowiki></code> tool that will create a <code><nowiki>.deb</nowiki></code> file. This way it's more easy to remove it. If your not sure, just execute the following command.
<pre><nowiki> sudo make install
</nowiki></pre>
If all of this command exit without any error, it's mean that Simias are install correctly. You can continue by compiling and installing iFolder
=== Compile & Install iFolder ===
==== Install Dependencies ====
Execute this command to install every dependencies.
<pre><nowiki>sudo apt-get install automake1.9 libgtk2.0-dev gnome-sharp2 gtk-sharp2
</nowiki></pre>
==== Compile ====
You have to configure ifolder with the <code><nowiki>autogen.sh</nowiki></code> script. I prefer to install it to <code><nowiki>/usr/local</nowiki></code>. If you don't want to contaminate your <code><nowiki>/usr</nowiki></code> directory you can either install it to <code><nowiki>/opt</nowiki></code>.
<pre><nowiki> cd ../ifolder/
./autogen.sh --prefix=/usr/local
</nowiki></pre>
If the script exit without any error and display something like <code><nowiki>Now type 'make' to compile iFolder</nowiki></code>, you can continue and execute this next command that will compile iFolder
<pre><nowiki> make
</nowiki></pre>
==== Install ====
You must install iFolder by executing this command. A good alternative is to install it by using the <code><nowiki>checkinstall</nowiki></code> tool that will create a <code><nowiki>.deb</nowiki></code> file. This way it's more easy to remove it. If your not sure, just execute the following command.
<pre><nowiki> sudo make install
</nowiki></pre>
If all of this command exit without any error, it's mean that iFolder are install correctly. If your using Gnome, an laucher are create in your Applications Menu. Otherwise just execute the command <code><nowiki>ifolder</nowiki></code>.
== More info ==
There is a request for an iFolder package. (https://bugs.launchpad.net/ubuntu/+bug/87122)
The [http://www.ifolder.com iFolder Home Page] is a good source of information, but a lot of information are out dated. It's including [[UbuntuHelp:HowTo|HowTo]] and stable release info. Also, the wiki is read only. (December 2, 2007).
=== Introduction (Old version for reference only) ===
=== 1. Adding iFolder Repository ===
=== 1. Adding iFolder Repository ===
A special repository has been set up with Dapper Drake packages. You need to add this to your repository list.
A special repository has been set up with Dapper Drake packages. You need to add this to your repository list.

2007年12月5日 (三) 11:24的版本

{{#ifexist: :IFolderClient/zh | | {{#ifexist: IFolderClient/zh | | {{#ifeq: {{#titleparts:IFolderClient|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:IFolderClient|1|-1|}} | zh | | }}

Gusty Gibbon (7.10)

iFolderClient come in two parts. First, there is simias that run as a client. This module are use in backend by iFolder to access the server data. Also, there is iFolder that represent the user interface over simias. In other to get a proper installation of iFolderClient, you must install simias in first time and iFolder before.

Getting sources

First, you have to get source from subversion server until iFolder team release a tar.gz of version 3.6. To proceed, you have to install subversion with this comment line.

sudo apt-get install svn

Next, create a directory anywhere on your drive to download the source. I choose to create it in my home directory for no particular reason. This command will do the job.

mkdir ifolder

It's now time to checkout source code from SVN server. You have to download simias project and iFolder project. This step take a lot of time.

cd ifolder
svn checkout https://forgesvn1.novell.com/svn/simias/trunk/simias simias
svn checkout https://forgesvn1.novell.com/svn/ifolder/trunk/ifolder ifolder

Compile & Install Simias

Simias are use by the iFolder application in back end. So, you must compile and install it before trying to compile iFolder. Let get started by installing all dependencies related to simias.

Install Dependencies

Before going any further, you must ensure that you have enable universe repository. Any way, if it's not the case apt-get will show you some errors. Execute this command to install every dependencies.

sudo apt-get install build-essential autoconf automake checkinstall libtool mono mono-devel mono-xsp mono-mcs libmono-dev liblog4net1.2-cil libmono-winforms1.0-cil libmono-ldap1.0-cil pkg-config libxml2 libxml2-dev libflaim4.1 libflaim-dev libncurses5-dev uuid uuid-dev

Fix libflaim

I don't know why, but the current version of Simias look for the file libfl.a and libfl.so. This file correspond to the libflaim.a and libflaim.so respectively. Maybe, under openSUSE the flaim library create this file and Ubuntu thought it's was a better idea to rename this file ! Why not ! To fix this, you have to create a symbolic link with this command.

 sudo ln -s /usr/lib/libflaim.a /usr/lib/libfl.a
sudo ln -s /usr/lib/libflaim.so /usr/lib/libfl.so

Compile

The decisive moment ! You have to configure simias with the autogen.sh script. I prefer to install it to /usr/local. If you don't want to contaminate your /usr directory you can either install it to /opt.

 cd simias/
./autogen.sh --prefix=/usr/local

If the script exit without any error and display something like Now type 'make' to compile Simias, you can continue and execute this next command that will compile Simias.

 make

Install

Finally, you must install it by executing this command. A good alternative is to install it by using the checkinstall tool that will create a .deb file. This way it's more easy to remove it. If your not sure, just execute the following command.

 sudo make install

If all of this command exit without any error, it's mean that Simias are install correctly. You can continue by compiling and installing iFolder

Compile & Install iFolder

Install Dependencies

Execute this command to install every dependencies.

sudo apt-get install automake1.9 libgtk2.0-dev gnome-sharp2 gtk-sharp2

Compile

You have to configure ifolder with the autogen.sh script. I prefer to install it to /usr/local. If you don't want to contaminate your /usr directory you can either install it to /opt.

 cd ../ifolder/
./autogen.sh --prefix=/usr/local

If the script exit without any error and display something like Now type 'make' to compile iFolder, you can continue and execute this next command that will compile iFolder

 make

Install

You must install iFolder by executing this command. A good alternative is to install it by using the checkinstall tool that will create a .deb file. This way it's more easy to remove it. If your not sure, just execute the following command.

 sudo make install

If all of this command exit without any error, it's mean that iFolder are install correctly. If your using Gnome, an laucher are create in your Applications Menu. Otherwise just execute the command ifolder.

More info

There is a request for an iFolder package. (https://bugs.launchpad.net/ubuntu/+bug/87122) The iFolder Home Page is a good source of information, but a lot of information are out dated. It's including HowTo and stable release info. Also, the wiki is read only. (December 2, 2007).

Introduction (Old version for reference only)

1. Adding iFolder Repository

A special repository has been set up with Dapper Drake packages. You need to add this to your repository list.

  • Open Synaptic Package Manager (System --> Administration --> Synaptic Package Manager)
  • Enter your password when prompted
  • Go the Settings menu and choose Repositories
  • Click the Add button
  • Click on the Custom button
  • Enter deb http://trunks.whiprush.org/~jorge/ifolder dapper main as the repository URL
  • Press Close
  • In the main Synaptic window, press the Refresh button - you must be connected to the Internet to do this. You may receive an error relating to the GPG key for whiprush.org but you can safely click OK and ignore this.

This will download the latest information for the iFolder client.

2. Installing iFolder Client

  • In Synaptic (previous step), click search and enter ifolder3 into the search box and click Search
  • Right click the package named ifolder3
  • In the box that appears, press the Mark button to accept the extra packages
  • Press the Apply button in the main Synaptic window which will confirm you are installing 6 packages and press Apply

Synaptic will now download and install the iFolder client for you. Close Synaptic when you are finished.

3. Running iFolder Client

iFolder should be in your Applications menu under Programming. You can just click on iFolder and the client wil start in the notification area (beside the clock). It is likely that the client will not run perfectly at first, see the next section, "Troubleshooting".

4. Troubleshooting

If your iFolder client doesn't start (for example, it displays a tray icon but does not do anything else), try the following :

  • Install the mono-xsp package.
  • Update the following symlink :
sudo rm /usr/web/bin/FlaimWrapper.so
sudo ln -s /usr/lib/libFlaimWrapper.so.0 /usr/web/bin/FlaimWrapper.so

5. Warning

The release in the mentioned repository is a "stable" release, which is somewhat ancient. It doesn't work with recent builds of iFolder Server 3.5 (experimental releases).

Support