Skip to content

Instantly share code, notes, and snippets.

@mdornseif
Created February 28, 2010 07:46
Show Gist options
  • Save mdornseif/317474 to your computer and use it in GitHub Desktop.
Save mdornseif/317474 to your computer and use it in GitHub Desktop.
rapid:local md$ brew install haxe
ocaml is an alias for objective-caml
==> Downloading http://nekovm.org/_media/neko-1.8.1.tar.gz
File already downloaded and cached to /Users/md/Library/Caches/Homebrew
==> Patching
######################################################################## 100.0%
patching file src/tools/install.neko
Hunk #1 succeeded at 123 with fuzz 1.
Hunk #2 succeeded at 133 with fuzz 1.
Hunk #3 succeeded at 232 with fuzz 1.
Hunk #4 succeeded at 240 with fuzz 1.
==> make MACOSX=1 OSX_UNIVERSAL=1 NEKO_EXEC=DYLD_LIBRARY_PATH=../bin NEKOPATH=../boot:../bin ../bin/neko CFLAG
==> make install LIBNEKO_NAME=libneko.dylib INSTALL_PREFIX=/usr/local/Cellar/neko/1.8.1
==> Caveats
neko is now installed, now you only need to add:
export NEKOPATH=/usr/local/lib/neko:/usr/local/bin:.
to your environment (ex. ~/.bash_profile).
==> Summary
/usr/local/Cellar/neko/1.8.1: 18 files, 1.0M, built in 48 seconds
ocaml is an alias for objective-caml
ocaml is an alias for objective-caml
==> Checking out http://haxe.googlecode.com/svn/tags/v2-05
Updating /Users/md/Library/Caches/Homebrew/haxe-2.0.5
==> Patching
######################################################################## 100.0%
patching file Makefile
######################################################################## 100.0%
==> /usr/bin/tar xf haxe-deps.tgz --strip 1
==> make tools prefix=/usr/local/Cellar/haxe/2.0.5
(cd ./xml-light && make clean xml-light.cmxa)
rm -f xml-light.cma test.exe dtd.cmo dtd.cmi test.cmo test.cmi xml.cmo xml.cmi xmlParser.cmo xmlParser.cmi dtd.cmi xml.cmi xmlParser.cmi xml_lexer.cmi xml_lexer.cmo xml_lexer.ml xml_parser.mli xml_parser.cmi xml_parser.ml xml_parser.cmo
rm -f xml_light.lib xml_light.a xml-light.cmxa test_opt.exe dtd.cmx dtd.obj dtd.o test.cmx test.obj test.o xml.cmx xml.obj xml.o xmlParser.cmx xmlParser.obj xmlParser.o xml_lexer.cmx xml_lexer.obj xml_lexer.o xml_parser.cmx xml_parser.obj xml_parser.o
ocamlyacc xml_parser.mly
ocamlc xml.mli
ocamlc dtd.mli
ocamlc xml_parser.mli
ocamlopt -c xml_parser.ml
ocamllex xml_lexer.mll
247 states, 1217 transitions, table size 6350 bytes
ocamlc xml_lexer.mli
ocamlopt -c xml_lexer.ml
ocamlopt -c dtd.ml
ocamlc xmlParser.mli
ocamlopt -c xmlParser.ml
ocamlopt -c xml.ml
ocamlopt -o xml-light.cmxa -a xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
mkdir bin
mkdir lib
ocamlc unix.cma str.cma ./ocamake/ocamake.ml -o bin/ocamake
ocamlopt -c ./extc/extc_stubs.c
bin/ocamake -lp "" -o bin/haxe -pp camlp4o -P ./xml-light/dtd.mli -lp "-cclib extc_stubs.o -cclib -lz" ./extlib-dev/*.ml* -n ./extlib-dev/install.ml ./swflib/*.ml* ./extc/extc.ml* ./libs/include/ocaml/*.ml* *.ml* unix.cmxa str.cmxa ./xml-light/xml-light.cmxa
lexer.mll
123 states, 1196 transitions, table size 5522 bytes
enum.mli
global.mli
optParse.mli
option.mli
uChar.mli
as3.mli
extc.mli
nast.ml
ast.ml
IO.mli
bitSet.mli
dllist.mli
dynArray.mli
enum.ml
extArray.mli
extHashtbl.mli
extList.mli
extString.mli
global.ml
option.ml
pMap.mli
refList.mli
std.mli
uChar.ml
uTF8.mli
as3hl.mli
extc.ml
IO.ml
base64.mli
bitSet.ml
dllist.ml
dynArray.ml
extArray.ml
extHashtbl.ml
extLib.ml
extList.ml
extString.ml
optParse.ml
pMap.ml
refList.ml
std.ml
uTF8.ml
unzip.mli
as3code.ml
png.mli
swf.ml
binast.ml
nxml.ml
lexer.ml
type.ml
base64.ml
unzip.ml
actionScript.ml
as3parse.ml
png.ml
swfPic.ml
swfZip.ml
common.ml
as3hlparse.ml
swfParser.ml
gencpp.ml
genxml.ml
parser.ml
typecore.ml
optimizer.ml
typeload.ml
codegen.ml
genas3.ml
genjs.ml
genneko.ml
genphp.ml
genswf8.ml
typer.ml
genswf9.ml
genswf.ml
main.ml
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
http://github.com/mxcl/homebrew/blob/master/Library/Formula/haxe.rb#L42
==> Environment
HOMEBREW_VERSION: 0.5
HEAD: a78d32b36abe5522e1c843fc741ea306b6960309
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 http://github.com/mxcl/homebrew/issues
These existing issues may help you:
http://github.com/mxcl/homebrew/issues/#issue/491
http://github.com/mxcl/homebrew/issues/#issue/733
rapid:local md$ neko
NekoVM 1.8.1 (c)2005-2009 Motion-Twin
Usage : neko <file>
rapid:local md$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment