Friday, April 16, 2010

Installation of haXe on linux

We have seen the installation process on windows environment. Now let’s see it for Linux. As we have seen earlier, haXe has come up with automatic installer; download it and run the installer. For manual installation, we need to write some command.
The haXe compiler is written on OCaml language. First, we will install the OCaml packages and some additional packages and tools, run the following single command:
sudo apt-get install ocaml camlp4 ocaml-findlib cvs zlib1g-dev make wget tar subversion

Now create a file named linuxHaxe.sh, a shell script. This will have the following code:

#!/bin/sh
# linuxHaxe.sh

mkdir haxesrc
cd haxesrc

wget http://haxe.org/_media/install.ml
ocaml install.ml

# reset previous installations
sudo rm -rf /usr/local/haxe
sudo rm -rf /usr/local/bin/haxe*


# install haxe in /usr/local
sudo mkdir /usr/local/haxe
sudo mkdir /usr/local/haxe/bin
sudo cp bin/* /usr/local/haxe/bin
sudo cp -r haxe/std /usr/local/haxe
sudo ln -s /usr/local/haxe/bin/haxe /usr/local/bin/haxe

# setup environment variables for haxe
sudo grep "HAXE_LIBRARY_PATH" /etc/environment || echo "export HAXE_LIBRARY_PATH=/usr/local/haxe/std:." >> /etc/environment

We need to change the permission of the file with the command:
sudo chmod 0755 linuxHaxe.sh

Then run it by the command:
./linuxHaxe.sh

The installation is complete. Now we will validate installation like we did for windows earlier.
See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Technical Support:

If you still face the technical problem, please get support of our highly skilled technical team: garazlab.com.


Wordpress Plugins:
  1. Real-Time Health Data from Every Where:WP plugin to display real-time health data & increase sale by promoting user specific products according to health information: garazlab.com.
  2. Woocommerce Stock Notification Builder:Sends desktop, mobile & email notifications with full customization.Build your own product notification system with it: garazlab.com.

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

No comments: