[idmc commit] r47 - wiki

1 view
Skip to first unread message

codesite...@google.com

unread,
Jul 9, 2007, 11:43:31 AM7/9/07
to idmc-di...@googlegroups.com
Author: antonio.fabio
Date: Mon Jul 9 08:43:29 2007
New Revision: 47

Modified:
wiki/LinuxInstallation.wiki

Log:
Edited wiki page through web user interface.


Modified: wiki/LinuxInstallation.wiki
==============================================================================
--- wiki/LinuxInstallation.wiki (original)
+++ wiki/LinuxInstallation.wiki Mon Jul 9 08:43:29 2007
@@ -1,32 +1,63 @@
#labels Phase-Deploy,Deprecated
-Linux installation instructions follows
+Step by step instructions for installing iDMC on linux from sources follows

-= System requirements =
-For running iDMC-2.x.x on your linux system, you need:
- * Sun JRE-6 or compatible
- * GNU libc-6
-On Ubuntu systems, just type:
+= Required software =
+Before starting, you need to install the following software:
+ * JDK 6
+ * Ant 1.5
+ * GCC-3.4: g77 and gcc
+ * CMake-2.4.6
+
+You will also need the following libraries:
+ * lua 5.0
+ * gsl 1.8
+
+= The building toolset =
+Download the building toolset from [http://idmc-discussion.googlegroups.com/web/iDMC_building_toolset.tar.bz2 here].
+Unpack it in a local folder with commands:
{{{
-sudo apt-get install sun-java6-bin
+tar xjf iDMC_building_toolset.tar.bz2
}}}
-and you're ok.
+You should now have a folder named `iDMC_building_toolset`.

-= Installing a precompiled package =
- # Download the precompiled package suited for your platform
- # Unpack it to a local folder by typing:
+= Package sources =
+Download iDMC-2.0.5 and idmclib-0.7.0 source packages, copy them in the
+`iDMC_building_toolset` and unpack them here.
+
+= Compiling the native library =
+Enter the idmclib-0.7.0-Source folder, and type:
{{{
-tar xjf iDmc-x.x.x-linux-xxx-xx.tar.bz2
+mkdir build
+cd build
+cmake ..
}}}

-= Running =
-Run iDMC by typing at the shell prompt, from the unpacked iDMC folder:
+If all goes right, you can now compile with:
+{{{
+make
+}}}
+
+In case of troubles, ask project mantainers and/or in mailing list.
+
+= Compiling the java part =
+If you passed the previous section, you should be ok.
+Enter the `iDMC_building_toolset/iDmc-2.0.5` folder and type:
{{{
-java -jar iDmc-x.x.x.jar
+ant dist-linux
}}}

+This will create the `dist` subfolder containing the full iDMC distribution.

-= Other platforms =
-If you can't find a precompiled package suited for your platform, you will need to compile iDMC and its dependency packages from sources.
+= Installing =
+Copy the `iDMC_building_toolset/iDmc-2.0.5/dist` folder in a location of your choice.
+For example, copy it in your home directory by typing:
+{{{
+cp -r dist ~/iDMC-2.0.5
+}}}

-= Compiling =
-Read the boundled COMPILING file for up-to-date compiling instructions.
\ No newline at end of file
+= Running =
+Run iDMC by:
+{{{
+cd ~/iDMC-2.0.5
+java -jar iDmc-2.0.5.jar
+}}}
\ No newline at end of file

Reply all
Reply to author
Forward
0 new messages