Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Install good packages.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 Apr 2010 09:11:01 +0000 (09:11 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 21 Apr 2010 09:11:01 +0000 (09:11 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7631 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/pipol/liste_install.sh

index 35c4e75..879f96d 100644 (file)
@@ -84,16 +84,16 @@ if [ x$which_java = x ] ; then
 fi
 
 if [ x$arch = xDarwin ] ; then
-    which_lua=`find /sw/include -name lualib.h`        #lualib.h optional
+    which_lua=`which lua`      #lua
 else
-    which_lua=`find /usr/include/ -name lualib.h`      #lualib.h optional
+    which_lua=`which lua`      #lua
 fi
 
 echo $which_lua
 if [ x$which_lua = x ] ; then
   echo "Try to install lua"
   if [ -e /usr/bin/apt-get ] ; then
-    sudo apt-get -y install liblua5.1 
+    sudo apt-get -y install lua5.1 liblua5.1-dev
   fi
   if [ -e /usr/bin/yum ] ; then
     sudo yum -y install lua-devel
@@ -104,9 +104,9 @@ if [ x$which_lua = x ] ; then
 fi
 
 if [ x$arch = xDarwin ] ; then
-    which_ruby=`find /sw/lib/ruby/ -name ruby.h`       #lualib.h optional
+    which_ruby=`which ruby`    #lua
 else
-    which_ruby=`find /usr/lib/ruby/ -name ruby.h`      #ruby.h optional
+    which_ruby=`which ruby`    #lua
 fi
 
 echo $which_ruby