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.
Requirements
- 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
Installation
You can use the following shell script for the complete build and install process.
1. copy the contents into a shell script, like "install_haxelib.sh"
2. make it executable: sudo chmod 0755 install_haxelib.sh
3. run it:
./install_haxelib.sh
installation script:
#!/bin/sh # install_haxelib.sh # 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