X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4f8e570fe8c24ee6194808d69af4b361f000d7af..b555da5bdc03a8e0c79119ae73df75f32e179ebf:/doc/FAQ.doc diff --git a/doc/FAQ.doc b/doc/FAQ.doc index 7d9e7f22a1..4a448d5a2e 100644 --- a/doc/FAQ.doc +++ b/doc/FAQ.doc @@ -174,6 +174,38 @@ Thus, there is two ways to link your program with SimGrid: \verbatim export LD_LIBRARY_PATH=$HOME/lib/:$LD_LIBRARY_PATH \endverbatim +\subsection faq_compiling_java Java bindings don't get compiled + +The configure script detects automatically whether you have the +softwares needed to use the Java bindings or not. At the end of the +configure, you can see the configuration picked by the script, which +should look similar to +\verbatim Configuration of package simgrid' (version 3.3.4-svn) on +little64 (=4): + + Compiler: gcc (version: ) + + CFlags: -O3 -finline-functions -funroll-loops -fno-strict-aliasing -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wno-unused-function -Wno-unused-parameter -Wno-strict-aliasing -Wno-format-nonliteral -Werror -g3 + CPPFlags: + LDFlags: + + Context backend: ucontext + Compile Java: no + + Maintainer mode: no + Supernovae mode: yes +\endverbatim + +In this example, Java backends won't be compiled. + +On Debian-like systems (which includes ubuntu), you need the following +packages: sun-java6-jdk libgcj10-dev. If you cannot find the +libgcj10-dev, try another version, like libgcj9-dev (on Ubuntu before +9.10) or libgcj11-dev (not released yet, but certainly one day). +Please note that you need to activate the contrib and non-free +repositories in Debian, and the universe ones in Ubuntu. Java comes at +this price... + \subsection faq_compiling_snapshoot SimGrid development snapshots We have very high standards on software quality, and we are reluctant releasing @@ -969,10 +1001,10 @@ and build/install it from scratch - Installing GTNetS - Replace by some path you have write access to. + It is important to put the full path of your libgtsim-xxxx.so file when creating the symbolic link. Replace < userhome > by some path you have write access to. \verbatim - ln -sf libgtsim-debug.so //usr/lib/libgtnets.so + ln -sf //gtnets_current/libgtsim-debug.so //usr/lib/libgtnets.so export LD_LIBRARY_PATH=$LD_LIBRARY_PATH://usr/lib/libgtnets.so mkdir //usr/include/gtnets cp -fr SRC/*.h //usr/include/gtnets