[Jslib] Re: xpcshell

Eric Plaster plaster@visi.com
Sat, 26 Jan 2002 00:36:07 -0600


Sorry, I figured it out, and mozilla decided to die when I tried to send 
the email.  Then I forgot to send it again...  Anyway..

The problem was I was using the mozilla script to run xpcshell, like this:

    ./run-mozilla.sh ./xpcshell

As it ran without complaining, I didn't suspect it.  However, doing the 
following DOES work:

    setenv LD_LIBRARY_PATH /usr/local/src/mozilla/dist/bin   (I use tcsh)
    ./xpcshell

Sorry for the confusion.

-eric

Pete Collins wrote:

> It works fine for me using a trunk build from last night:
> 
> js> load('chrome/jslib/jslib.js');
> 
> 
> Welcome to jslib version 0.00
> 
> Global consts:
> 
>   JS_LIBRARY
>   JS_LIB_FILE
>   JS_LIB_PATH
>   JS_LIB_VERSION
>   JS_LIB_AUTHORS
>   JS_LIB_BUILD
>   JS_LIB_ABOUT
>   JS_LIB_HOME.
> 
> Global variables:
> 
>   JS_LIB_DEBUG
>   JS_LIB_ERROR
> 
> 
> 
> 
> *********************
> JS_LIB DEBUG IS ON
> *********************
> 
> 
> js> include(JS_LIB_PATH+'io/file.js');
> *** load: filesystem.js OK
> *** load: file.js OK
> 
> 0
> js>
> 
> 
> --pete
>