> A workaround is possible as in Hack #28.4 in Mac OS X Hacks, 2003 ed,
> to change User and Group to <youruser> and setting Port >1000: 8080 or 8088.
> Which in turn causes a problem in break temp file and requires to
> comment out in system/extras/util/boot.ijs
> NB. setbreak 'default'
> But after that it runs fine under Mac.
The problem is because env variable USER is not defined
on Mac, or at least for CGI. As a result a folder /tmp/j-0
is created first under user "www" and then for user
"youruser" it has no writing permissions.
Since for offline execution of jconsole break is not
used at all, it is possible to resolve this issue by
ignoring the error (::]) in setbreak, system/main/break.ijs:
({.a.) (1!:12) ::] fn;0 NB. 12 not 2
(9!:47) ::] fn
--- Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
in [Jgeneral] JHP updated
> There is another update to JHP: J Hypertext Processor
> with '~GCI' pseudo-folder for local references
> and loading external scripts.
>
> But most exciting, it includes OpenGL rendered
> dynamically at the server side. You can see it live at
> http://olegykj.sourceforge.net/jhp/
> Thanks to Brian Schott for the idea.
>
> Dynamic OpenGL now runs seamlessly on Windows and Linux.
> But it was not without some extra work.
>
> - dedicated offscreen rendering to a bitmap is not supported directly in
> this release. Hence there is no Save As BMP or Copy to Clipboard.
> Although all the wiring is there, and it is possible by pruning
> some functions in place (see openglbmp.ijs).
>
> - In order to install it on a hosted server, you don't have
> the luxury of writing Mesa to /usr/lib. So a version
> has to be built and installed locally, ~/local/lib. Hence,
> LD_LIBRARY_PATH needs to specify it. But also gl3.ijs
> needs to be modified, as indicated in
> http://www.jsoftware.com/pipermail/beta/2006-May/001063.html
> http://www.jsoftware.com/pipermail/beta/2006-May/001145.html
>
> - On Mac there is a strange thing that under the "www" user
> of Apache, the CGLChoosePixelFormat gives an error (invalid pixel format).
> The closest thing that was found is that there is some kind of issue
> on Mac running GUI-related components with headless users.
> A workaround is possible as in Hack #28.4 in Mac OS X Hacks, 2003 ed,
> to change User and Group to <youruser> and setting Port >1000: 8080 or 8088.
> Which in turn causes a problem in break temp file and requires to
> comment out in system/extras/util/boot.ijs
> NB. setbreak 'default'
> But after that it runs fine under Mac.
>
>
> --- Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
>
> > JHP: J Hypertext Processor
> > now updated with more instructions and tested on
> > Mac OS X and runs live in Linux from j601:
> >
> > http://olegykj.sourceforge.net/jhp/
> >
> >
> > Thanks to Brian Schott for testing installation
> > on Mac OS X.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm