Help for this page

Select Code to Download


  1. or download this
    $ENV{JS_INC} =  "C:\\strawberry\\js\\src";
    $ENV{JS_LIB} =  "C:\\strawberry\\js\\src\\WINNT5.1_OPT.OBJ";
    
  2. or download this
    if (exists $ENV{JS_LIB}) {
        @libs = get_paths($ENV{JS_LIB});
        $ENV{DYLD_LIBRARY_PATH} = $ENV{LD_LIBRARY_PATH} = $ENV{JS_LIB};
        $lib = "js";
    }
    
  3. or download this
    C:\strawberry\cpan\build\JavaScript-1.12-mJTECJ>makefile.pl
    In file included from C:/strawberry/js/src/jspubtd.h:45,
    ...
    C:/strawberry/js/src/jstypes.h:264:2: #error No suitable type for JSIn
    +t8/JSUint8
    C:/strawberry/js/src/jstypes.h:277:2: #error No suitable type for JSIn
    +t16/JSUint16
    C:/strawberry/js/src/jstypes.h:297:2: #error No suitable type for JSIn
    +t32/JSUint32
    
  4. or download this
    C:\strawberry\cpan\build\JavaScript-1.12-mJTECJ>makefile.pl
    C:\DOCUME~1\Steve\LOCALS~1\Temp/ccQm7OVj.o:test_js.c:(.text+0x2b): und
    +efined ref
    erence to `JS_GetImplementationVersion'
    collect2: ld returned 1 exit status
    Failed compiling test_js.c. ABORTING