building haxelib from source

If you installed haxe with the official precompiled releases there is no need to install haxelib from source since it's already part of the installation.


- installed Haxe and neko from sources according to this manual
- environment variable $HAXE_HOME is defined
- you work on linux, mac os x, or - if on windows - with cygwin


You can use the following shell script for the complete build and install process.

1. copy the contents into a shell script, like ""
2. make it executable: sudo chmod 0755
3. run it:


installation script:


# clean previous 
sudo rm -f /usr/lib/haxelib
sudo rm -rf /usr/lib/haxe/lib

# build haxelib
haxe /usr/lib/haxe/std/tools/haxelib/haxelib.hxml

# install it
sudo cp ./haxelib /usr/lib/haxe/

Now you're ready to use haxelib: Using haxelib

version #17889, modified 2013-03-09 17:15:43 by disjukr