Dear Pavel,

Thanks for your reply. I now recompiled OZJS from scratch (executing 
install.sh step by step in shell "by hand") as normal user (no root). No 
problem at all. No idea what the problem was before -- perhaps my file 
manager just did not properly update the file list? Sorry. 

Anyway, the loading error remained. I don't know why the permission is denied: 
the user can read and write this file. But nevermind for now. I just keep in 
mind that JS can be embedded in OZ. Thanks again.

Best
Torsten

On Friday 15 June 2007 12:44:45 you wrote:
> Hi,
>
> not sure why you get that error. I tested this on OS X, Solaris, Ubuntu
> and Windows(with MinGW) without any problems and without being root.
> Unfortunately I don't have Fedora so I can't test on it.
>
> My guess is that your problems are somehow connected. If you figure out
> why you need root you might solve the other problem as well. Since you get
> "permission denied" it might have something to do with being root.
>
> Regarding the first part It's an interesting idea. I'll look into it when
> I have time.
>
> /pavel
>
> On Fri, 15 Jun 2007, Torsten Anders wrote:
> > Hi,
> >
> > Thanks for sharing. Any chance to make Spidermonkey libraries accessible
> > for Mozart this way? For example, could this perhaps be an relatively
> > easy way to realise GUI programming with wxWidgets in Oz using
> > wxJavaScript
> > (http://www.wxjavascript.net/)? That would be terrific!!
> >
> > I ran into problems. You may want to mention in your readme that
> > install.oz must be run as root (otherwise no error occurs, but
> > js.so-linux-i486 is not created -- at least on Fedora 6). Anyway, I could
> > not get your test file examples to run: there was some problem londing
> > the object file (see error message below). Any idea?
> >
> > Thanks again!
> >
> > Best,
> > Torsten
> >
> >
> >
> > %****************** Error: native code interface ****************
> > %**
> > %** Cannot dynamically link object file
> > %**
> > %** File name: /path/to/OZJS/js.so-linux-i486
> > %** dlerror:   /path/to/OZJS/js.so-linux-i486: cannot restore segment
> > prot after reloc: Permission denied
> > %** In statement: {<P/2 INTERNAL.getNative> '#'('/' [104 111 109 101] '/'
> > [116] '/' [111 122] '/' [102 114 111 109 79 116 104 101 114 115] '/' [79
> > 90 74 83] ,,,) _}
> > %**
> > %** Call Stack:
> > %** procedure 'Meth_native_win32' in file "./init/Resolve.oz", line 63,
> > column 3, PC = 158277476
> > %**--------------------------------------------------------------
> >
> > On Friday 15 June 2007 00:29:03 Pavel wrote:
> >> Hi,
> >> I would like to announce a release of Spidermonkey(Mozilla's JavaScript
> >> Engine) embedded into OZ. You can download it from
> >> http://www.cling.gu.se/~cl4proze/OZJS/
> >> With best regards,
> >> Pavel Rozenblioum
> >> ________________________________________________________________________
> >>___ ______ mozart-users mailing list
> >> [email protected]
> >> http://www.mozart-oz.org/mailman/listinfo/mozart-users



-- 
Torsten Anders
http://strasheela.sourceforge.net/
http://torsten-anders.de/
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to