You have to set the correct path to your zlib. I'm not sure what the path is on OSX, maybe you can copy it from the original install.ml
cheers, r. Benjamin Jackson wrote: > On Dec 12, 2005, at 5:24 AM, Ralf Bokelberg wrote: > > >>There are two install.ml, one in the mtasc directory and one in the >>extlib directory. You need to replace the line let os_type = "Cygwin" >>by >>let os_type = Sys.os_type in both files. > > > Did it, and still getting a linking error: > > ****************************** > > (14:37:00 <~/working/mtaschacks/bokel/ocaml>) 0 $ ocaml install.ml > Compiling to os_type: Unix instead of Unix > > ocaml install.ml -nodoc -d ../ocaml -n > sh: line 1: ocamlfind: command not found > Findlib not found. > ocamlc -c enum.mli bitSet.mli dynArray.mli extHashtbl.mli extList.mli > extString.mli global.mli IO.mli option.mli pMap.mli std.mli uChar.mli > uTF8.mli base64.mli unzip.mli refList.mli optParse.mli dllist.mli > ocamlopt -c enum.ml > ocamlopt -c bitSet.ml > ocamlopt -c dynArray.ml > ocamlopt -c extHashtbl.ml > ocamlopt -c extList.ml > ocamlopt -c extString.ml > ocamlopt -c global.ml > ocamlopt -c IO.ml > ocamlopt -c option.ml > ocamlopt -c pMap.ml > ocamlopt -c std.ml > ocamlopt -c uChar.ml > ocamlopt -c uTF8.ml > ocamlopt -c base64.ml > ocamlopt -c unzip.ml > ocamlopt -c refList.ml > ocamlopt -c optParse.ml > ocamlopt -c dllist.ml > ocamlopt -a -o extLib.cmxa enum.cmx bitSet.cmx dynArray.cmx > extHashtbl.cmx extList.cmx extString.cmx global.cmx IO.cmx option.cmx > pMap.cmx std.cmx uChar.cmx uTF8.cmx base64.cmx unzip.cmx refList.cmx > optParse.cmx dllist.cmx extLib.ml > Installing extLib.cmi > Installing extLib.cmx > Installing enum.cmi > Installing enum.cmx > Installing bitSet.cmi > Installing bitSet.cmx > Installing dynArray.cmi > Installing dynArray.cmx > Installing extHashtbl.cmi > Installing extHashtbl.cmx > Installing extList.cmi > Installing extList.cmx > Installing extString.cmi > Installing extString.cmx > Installing global.cmi > Installing global.cmx > Installing IO.cmi > Installing IO.cmx > Installing option.cmi > Installing option.cmx > Installing pMap.cmi > Installing pMap.cmx > Installing std.cmi > Installing std.cmx > Installing uChar.cmi > Installing uChar.cmx > Installing uTF8.cmi > Installing uTF8.cmx > Installing base64.cmi > Installing base64.cmx > Installing unzip.cmi > Installing unzip.cmx > Installing refList.cmi > Installing refList.cmx > Installing optParse.cmi > Installing optParse.cmx > Installing dllist.cmi > Installing dllist.cmx > Installing extLib.cmxa > Installing extLib.a > Done. > > ocamlc extc_stubs.c > > ocamlopt -a -o extc.cmxa -cclib ../extc/extc_stubs.o -cclib > C:\cygwin\lib\mingw\libz.a. extc.mli extc.ml > > ocamlopt -a -o swflib.cmxa -I .. -I ../extc swf.ml swfZip.ml > actionScript.ml swfParser.ml > > ocamllex lexer.mll > 90 states, 701 transitions, table size 3344 bytes > > ocamlopt -c expr.ml lexer.ml > > ocamlopt -c -pp camlp4o parser.ml > > ocamlopt -c -I .. -I ../extc -I ../swflib typer.ml class.ml plugin.ml > genSwf.ml genIncludedClasses.ml genIntrinsicClasses.ml main.ml > > ocamlopt -o ../bin/mtasc ../extLib.cmxa ../extc/extc.cmxa > ../swflib/swflib.cmxa unix.cmxa expr.cmx lexer.cmx parser.cmx typer.cmx > class.cmx plugin.cmx genSwf.cmx genIncludedClasses.cmx > genIntrinsicClasses.cmx main.cmx > gcc: C:cygwinlibmingwlibz.a.: No such file or directory > Error during linking > Error while running ocamlopt -o ../bin/mtasc ../extLib.cmxa > ../extc/extc.cmxa ../swflib/swflib.cmxa unix.cmxa expr.cmx lexer.cmx > parser.cmx typer.cmx class.cmx plugin.cmx genSwf.cmx > genIncludedClasses.cmx genIntrinsicClasses.cmx main.cmx > ___________________ > Ben Jackson > Diretor de Desenvolvimento > > +55 (21) 9997-0593 > [EMAIL PROTECTED] > http://www.incomumdesign.com > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
