r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

amacleod
2-Feb-2010
[3510]
might be missing a library file...check the list of required libs...find 
it somewhere on rebol site???
Rebolek
2-Feb-2010
[3511]
It's just the installation, everything else seems to work fine
Pekr
2-Feb-2010
[3512]
ldd lists dependencies in console, no?
Rebolek
2-Feb-2010
[3513]
Well, first I need to get Cheyenne running, so I'll check the dependecies 
later :)
amacleod
2-Feb-2010
[3514]
I also installed it on a server version of ubuntu with xfce loaded 
on top...iirc had to add some libs
Pekr
2-Feb-2010
[3515]
You mentioned older computer. Is Xubuntu less resource hungry than 
Ubuntu?
Rebolek
2-Feb-2010
[3516]
Yes, the XFCE desktop should take less memory and CPU than Gnome.
Pekr
2-Feb-2010
[3517]
And what about Kubuntu? (KDE)
amacleod
2-Feb-2010
[3518x2]
big and hungry
like gnome
Rebolek
2-Feb-2010
[3520]
heh, it's running in 856x600, I see such resolution for the first 
time
amacleod
2-Feb-2010
[3521]
What is running?
Rebolek
2-Feb-2010
[3522]
sorry, the linux desktop
Pekr
2-Feb-2010
[3523]
linuxians try to be always different, hence such a resolution :-)
Rebolek
2-Feb-2010
[3524]
I see :)
Dockimbel
2-Feb-2010
[3525]
amacleod : I installed 2.76 on ubuntu no prob
 Which Ubuntu version?
amacleod
2-Feb-2010
[3526]
it was a while ago...not using that box anymore.
Barik
2-Feb-2010
[3527]
Hello. How can I create a REBOL service in Linux (i.e, something 
that can be run as a background process much like httpd via init.d)?
Henrik
2-Feb-2010
[3528x2]
I suppose you first try to create a script that is launchable via 
shell, and from then on, it should be the same as for any other service, 
depending on the distribution.
launchable = shebang line and all that stuff.
Barik
2-Feb-2010
[3530]
I have the #!/usr/local/bin/rebol line and such in there. The problem 
is that I'm not sure how to make the script then go into the background 
again like a daemon would do. It stays at the foreground when I call 
it from something like init.d.
Henrik
2-Feb-2010
[3531]
do you have the quiet option enabled?
Graham
2-Feb-2010
[3532x2]
you can use screen or dtach
http://rebol.wik.is/index.php?title=Hylafax/Dtach&highlight=dtach
Barik
2-Feb-2010
[3534x2]
Okay, that may do what I need it to. REBOL does some interesting 
things which I haven't quite figured out when I do something like 
CTRL + Z, bg, etc.
Let me take a look at dtach.
Graham
2-Feb-2010
[3536]
I also use

./cheyenne &

in a shell script
Barik
2-Feb-2010
[3537x2]
Might be an implementation issue for me then. Would the & trick work 
with a non-compiled REBOL script in the same way?
dtach seems to be working well for me. I might stick with it.
Gabriele
3-Feb-2010
[3539x2]
Barik: you may just need to redirect stdin and stdout, eg.  ./script.r 
>/dev/null </dev/null &
Bolek: REBOL is not going to start a terminal program for you. However, 
if you have a icon, you can usually open the icon properties and 
tell the "desktop" (XFCE in your case) to start the program inside 
a terminal (ie. it will start a terminal and then the program inside 
it).
Barik
3-Feb-2010
[3541]
If I run a simple REBOL script (with just a forever loop), I notice 
that "ps -a" gives me two REBOL processes in the process list. Why 
is this?
Henrik
3-Feb-2010
[3542]
one is for DNS lookups.
Barik
3-Feb-2010
[3543x2]
Is this documented somewhere? If so, I haven't seen information on 
it.
Ah, I found it's been asked before in the AltMe archives though. 
:-)
Henrik
3-Feb-2010
[3545]
The question has been asked a few times recently. I had not noticed 
this before until Carl talked about how R3 doesn't need an extra 
process for DNS.
Kaj
12-Feb-2010
[3546]
Doc, do you have your binary running on your new server yet? Did 
you try installing the Ubuntu libstdc++5 package?
Dockimbel
13-Feb-2010
[3547]
I've tried that but it doesn't work, it requires to downgrade several 
other key packages like gcc-base, messing up the whole system. Anyway, 
it's no more an issue to me now, I've droppped View completely in 
all my webapps replacing with third-parties libs or services (like 
ReCaptcha).
Kaj
13-Feb-2010
[3548]
That's very odd. It should just install as a compatibility library. 
Did you really try the Ubuntu package, or just the Debian one?
Dockimbel
13-Feb-2010
[3549]
Just the Debian one.
Gabriele
20-Feb-2010
[3550x2]
Linux View 2.7.7:


>> view layout [box snow effect [draw [fill-pen black pen none shape 
[move 0x6 'line 6x6 'line 0x-12]]]]
Segmentation fault
same test works correctly with 2.7.6
Henrik
20-Feb-2010
[3552]
RAMBO
Gabriele
21-Feb-2010
[3553]
I want to make sure it's not just my setup/distro. Is it working 
for anyone?
PeterWood
21-Feb-2010
[3554]
I tried to download the LIbc6 View 2.7.7 from the main download page 
to check. The file name is http://www.rebol.com/downloads/v277/rebol-view-277-4-2.tar.gz
but it contained this :
REBOL/View 2.7.6.4.2 15-Mar-2008
Copyright 2000-2008 REBOL Technologies.  All rights reserved.
REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM
Henrik
22-Feb-2010
[3555]
Carl should be notified on R3 chat about that.
Graham
22-Feb-2010
[3556]
What's wrong?
Henrik
22-Feb-2010
[3557]
wrong View version packaged.
PeterWood
22-Feb-2010
[3558x2]
I thought it might have been done in response to the error Gabriele 
posted.
I post a message to Carl on R3 when I'm back at the Linux machine.