Modules for Centos/Fedora/Redhat

From NEOSYS Dev Wiki
Revision as of 01:00, 19 June 2011 by Steve (talk | contribs) (Created page with '#!/bin/bash set -e #------------------------------- #--- MUST Install Swig First --- #------------------------------- yum -y install pcre-devel wget http://downloads.sourceforge…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
  1. !/bin/bash

set -e

  1. -------------------------------
  2. --- MUST Install Swig First ---
  3. -------------------------------

yum -y install pcre-devel wget http://downloads.sourceforge.net/project/swig/swig/swig-2.0.4/swig-2.0.4.tar.gz tar xf swig-2.0.4.tar.gz cd swig-2.0.4 ./configure --prefix=$HOME/local make && make install

cd ~/exodus/swig

  1. ------------
  2. --- Perl ---
  3. ------------

./make.sh perl && sudo ./install.sh perl && ./test.pl

  1. -------------
  2. -- Python ---
  3. -------------

yum install -y python-devel ./make.sh python && sudo ./install.sh python && ./test.py

  1. -----------
  2. --- PHP ---
  3. -----------

yum install php-devel php-cli ./make.sh php && sudo ./install.sh php && ./test.php service httpd restart || echo "service httpd restart" failed

  1. ------------
  2. --- Java ---
  3. ------------

yum install java java-devel ./make.sh java && sudo ./install.sh java && ./testjava.sh

  1. ----------
  2. --- C# ---
  3. ----------

yum install -y mono-devel ./make.sh csharp && sudo ./install.sh csharp && ./testc#.sh