Skip to content


Subversion checkout URL

You can clone with
Download ZIP


New Formula: haxe & neko #491

slaskis opened this Issue · 11 comments

3 participants


Updated the haxe formula now to use the main repository and added HEAD as well.


For me this resulted in the following error:

rapid:local md$ cd brew --prefix
rapid:local md$ git remote add slaskis git://
rapid:local md$ git pull slaskis master
remote: Counting objects: 77, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 47 (delta 12), reused 36 (delta 8)
Unpacking objects: 100% (47/47), done.
From git://

  • branch master -> FETCH_HEAD Merge made by recursive. Library/Formula/haxe.rb | 47 +++++++++++++++++++++++++++++++++++++ Library/Formula/neko.rb | 59 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+), 0 deletions(-) create mode 100644 Library/Formula/haxe.rb create mode 100644 Library/Formula/neko.rb rapid:local md$ brew install haxe ... ==> make tools prefix=/usr/local/Cellar/haxe/2.0.5 ... Linking... Done (cd std && ../bin/haxe tools/haxedoc/haxedoc.hxml && mv haxedoc ../bin) Uncaught exception - load.c(232) : Failed to load library : std.ndll (dlopen(std.ndll, 1): image not found) Error : Neko compilation failure make: *** [tools] Error 1 ==> Environment HOMEBREW_VERSION: 0.5 HEAD: 24b7104c178137e74734a8aa0fc6edf1e3b79e38 HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_CACHE: /Users/md/Library/Caches/Homebrew HOMEBREW_REPOSITORY: /usr/local HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew Hardware: dual-core 64-bit penryn OS X: 10.6.2 Kernel Architecture: i386 Ruby: 1.8.7-72 GCC-4.2: build 5646 (5577 or newer recommended) LLVM: build 2206 (2206 or newer recommended) MacPorts or Fink? false X11 installed? true Exit status: 2 Error: Failure while executing: make tools prefix=/usr/local/Cellar/haxe/2.0.5 Please report this bug at These existing issues may help you:

Strange, it looks like it skipped the dependency of neko for some reason, what if you try to install neko first and then haxe?


Sorry: Probably this was output from my second run.

neko installed without any visible errors. And brew install neko worked fine. I now installed haxe as a binary port which worked fine.


And the neko install works for you? It looks like an environment variable might not be set properly (most likely the NEKOPATH variable) in which case neko won't work as it should, although plainly running the "neko" executable will work, as it does not seem to use any features of std.ndll.


I tried it out myself now and I get the same error message when I remove the NEKOPATH environment variable from my ~/.bash_profile and restart my terminal before trying to install again. It does work again when I set it back though (and restart terminal). I think I need to either update my instructions to say install neko separately and follow the caveats message before continuing or temporarily set NEKOPATH in the haxe formula. I'll give the second one a try first. Thanks for reporting!


I've updated my fork now with a fix to the NEKOPATH bug, if it's not too much hassle could you try and re-pull and try compiling haxe again?

This is the latest commit now regarding this formula:


More updates to the haxe formula. Rewrote it now to use the official dependency repositories.


slaskis, You missed this line:
system "ocaml -nodoc -d .. -n"
on ExtLibDev.


pasviegas, thanks! will push an updated one soon...


I finally have updated the haxe formula so it contains a patch for the dependencies so 2.0.5 should be working again...

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.