if. UNAME -: 'Linux' do.
     cpu=. 2!:0 'cat /proc/cpuinfo'

Apparently, the base library guarded non-Linux system
from execution these sentences. I think you
need to add a line
UNAME_z_=: 'OpenBSD' 
to the begining of your profile.ijs as a kludge.
Of course there will be other issues since base
library has no support for OpenBSD. 

I think this can not be half done, you need to 
spend some time to modify base library to
support OpenBSD. As a rough estimate, you can
grep all occurrence of the word 'Android' in
base library, those are places that you needed
to work. May be a few more but not many.

Чт, 07 июн 2018, Rudolf Sykora написал(а):
> Hello,
> 
> On 6 June 2018 at 15:15, bill lam <bbill....@gmail.com> wrote:
> > try comment out this line
> >
> >  'libc.so.6 setlocale > x i *c'&(15!:0)^:(UNAME-:'Linux')1;,'C'
> >
> >> odin$ cd soft/jsource/jbld/j64/bin
> >> odin$ ./jconsole
> >> |domain error: boot
> >> |       'libc.so.6 setlocale > x i *c'&(15!:0)^:(UNAME-:'Linux')1;,'C'
> >>    install'all'
> >> |value error: install
> >> |       install'all'
> >>
> 
> 
> odin$ find . -exec grep 'libc.so.6 setlocale' {} /dev/null \;
> ./jlibrary/system/main/stdlib.ijs:'libc.so.6 setlocale > x i
> *c'&(15!:0)^:(UNAME-:'Linux') 1;,'C'
> ./jbld/j32/system/main/stdlib.ijs:'libc.so.6 setlocale > x i
> *c'&(15!:0)^:(UNAME-:'Linux') 1;,'C'
> ./jbld/j64/system/main/stdlib.ijs:'libc.so.6 setlocale > x i
> *c'&(15!:0)^:(UNAME-:'Linux') 1;,'C'
> 
> So I commented out the line in the jlibrary and j64 directories.
> (Why are there two?! Which one is really relevant?)
> But that gives:
> 
> odin$ ./jconsole
> cat: /proc/cpuinfo: No such file or directory
> |interface error: boot
> |   cpu=.    2!:0'cat /proc/cpuinfo'
> 
> 
> after which I can issue commands to j
> .
> OpenBSD does not use /proc/cpuinfo.
> 
> Anyway. These errors / warnings (?) probably just mean that my path
> of compiling /setting up j on OpenBSD is suboptimal (so far it has
> been just a hack).
> 
> Thanks
> Ruda
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to