adobe-flash / crossbridge

Welcome to visit the homepage!
http://www.crossbridge.io
542 stars 194 forks source link

Compiling on Mac OS 10.8.4 fails at abclibs #22

Closed CatalinVoss closed 10 years ago

CatalinVoss commented 10 years ago

Building crossbridge using $ make fails on Mac OS 10.8.4. I keep seeing this error and haven't had much success debugging.

    -  abclibs
    Failed to build: abclibs
    make[1]: *** [all_with_local_make] Error 1
    make: *** [all] Error 2

abclibs log doesn't contain munch info:

    Updating goal targets....
     File `abclibs_compile' does not exist.
    Must remake target `abclibs_compile'.
    Invoking recipe from Makefile:944 to update target `abclibs_compile'.
     File `abclibs_asdocs' does not exist.
    Must remake target `abclibs_asdocs'.
    Invoking recipe from Makefile:169 to update target `abclibs_asdocs'.
    /Users/Catalin/crossbridge/build
    make[3]: *** [abclibs_asdocs] Error 1
    make[3]: *** Waiting for unfinished jobs....
    found 328 syscalls
    generated 91 syscalls
    DefaultPreloader.swf, 2215 bytes written
      ./Exit.abc, 159 bytes written in 0.550 seconds
    ...
    ./PlayerKernel.abc, 13594 bytes written in 1.705 seconds
    make[2]: *** [abclibs] Error 2

I found this in asdoc log, but not sure if it's related. The package lists 64-bit Java JVM as a requirement.

    Error: This Java instance does not support a 32-bit JVM.
    Please install the desired version.
cbakgly commented 10 years ago

Did you use native java which comes with mac os? If you installed Oracle one, try /usr/libexec/java_home -v 1.6 Your avatar is very cute :D

rtissera commented 10 years ago

I circumvented this issue by editing tools/flex/bin/asdoc removing the $D32 parameter. And it seemed to work fine. Any reason why ASDoc still requires a 32-bit JVM ? I can guess this is a legacy issue which should not happen on modern OSes / JVMs, right ?

cbakgly commented 10 years ago

Don't know :(, I am not the author.