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

World: r3wp

[Linux] group for linux REBOL users

Graham
10-May-2010
[3684x2]
It's the only english Rebol web forum out there ...
I see above that Gab was having segmentation faults with linux using 
draw.  Was that resolved?
BudzinskiC
12-May-2010
[3686]
I've tried REBOL with 3 Linux distributions now (Arch Linux, Puppy 
Linux, Ubuntu) and the Fedora version of REBOL is always the one 
that works best. Is there even a Linux distribution that works with 
the Libc6 version? Maybe it would be a good idea to mention on the 
download site "You probably want to download the Fedora version" 
to make this easier for new users and maybe also rename the Fedora 
download since it doesn't work for just Fedora.
Graham
12-May-2010
[3687]
Good idea ...
Maxim
25-May-2010
[3688x2]
help!   how do I get rebol on linux to start without trying to open 
a setup window?
I get:

** User Error: Bad face in screen pane!
** Near: size-text self


everytime I start any /view capable rebol from a remote terminal 
(I'm not in a desktop).   


I need the view capabilities (to-image, draw), but not the windowing.
I tried creating an empty user.r file in the rebol directory and 
in my user's home, but that didn't change anything.
Izkata
25-May-2010
[3690x2]
I think that's due to initializing system/view/screen-face - it may 
not actually be trying to open a view window...
I ended up just downloading a /core version to avoid it
Andreas
25-May-2010
[3692]
same as you would on windows, i guess: "rebol-view --noinstall --noviewtop"
Maxim
25-May-2010
[3693x2]
ah  I'll try that
does anyone know where the "no viewtop on startup information" is 
information is stored ?  my memory is quite rusty.
Izkata
25-May-2010
[3695]
Looks like ~/.rebol/view/desktop/prefs.r, "desktop: true/false"
Claude
25-May-2010
[3696]
rebol simply in console mode => rebcmdview -vs
Maxim
26-May-2010
[3697]
thanks everyone  :-)
Graham
29-May-2010
[3698]
I'm trying to get rebcmd running on Suse Enterprise 10 and it complains 
of a missing libXaw7.so.7
Where can I get this from?
Gabriele
29-May-2010
[3699x3]
hmm, seems to give only Moblin results: http://software.opensuse.org/search?q=libXaw
but, it could be because the library is included in some other package 
and the search is not "deep".
debian has a libxaw7 package... http://packages.debian.org/lenny/libxaw7
Graham
29-May-2010
[3702x5]
I'm downloading this one ... xorg-x11-libs-7.2-103.src.rpm hope it 
is there!
crap .. full of bz2
The file is in those debian packages ..but how to open a deb in Suse?
Give up ... wasted a few hours on this
Fixed ... reverted to 2.7.6
Graham
30-May-2010
[3707]
I'm trying to execute /usr/bin/pdflatex from Apache2

pdflatex is owned by root
and Apache2 runs as nobody??

I'm guessing why this doesn't work ....
PeterWood
30-May-2010
[3708]
Is Apache user www ?
Gabriele
30-May-2010
[3709x2]
there is no special reason why nobody would not be able to run pdflatex, 
in principle. there may be security rules in effect though (most 
distribution come with some kind of security extension to the usual 
Unix stuff), I wouldn't be surprised if Apache was being restricted 
to what it can do to avoid default installs being easily vulnerable.
you should search around on the web - I'm sure someone else in the 
world did what you're trying to do as well.
caelum
30-May-2010
[3711]
Hi, I have just joined. Is there a way to increase the font size 
on my screen. I can barely read this text?
Henrik
30-May-2010
[3712]
try clicking the A icon in the icon bar above the text area.
caelum
30-May-2010
[3713]
Clicking on the A icon? Ahah! Got it. Thanks Henrik.
Graham
30-May-2010
[3714x7]
I found this at http://www.wikipublisher.org/wiki/Wikipublisher/InstallationExperiences


Well - I’ve just tracked it down. As you predicted in your comments 
on 00098 this is nothing to do with the XSLTPROC errors - it is all 
to do with PDFLATEX. The script was being prevented from doing the 
necessary by SELINUX, which controls access not just by permissions 
(which were sufficiently open) but by running process. A command


chcon -R -h -t httpd_sys_script_rw_t /usr/share/texmf/* has opened 
things up enough to sort it out.
but that doesn't do anything on ubuntu
On the twiki site http://twiki.org/cgi-bin/view/Plugins/GenPDFLatexAddOn

I found this

#  Setup the Latex rendering software


    * Ensure that a latex document preparation system is available to 
    the user name (uid) running the twiki web server.

    * Install any custom latex style files needed. The best suggestion 
    is to create a local texmf tree accessible by the server. For example, 
    for an apache server running as 'nobody' on a linux system:

          o create the directory /home/nobody/texmf/tex/latex, with reasonable 
          permissions.

          o Place the custom .cls and .sty latex files in this directory

          o as user root or nobody, run texhash /home/nobody/texmf to create 
          the ls-R latex database file for the /home/nobody/texmf/ tree.
I documented my installation so can anyone see if I did anything 
wrong?
http://rebol.wik.is/Wikipublisher
What is a pity is that this software uses Apache2, php5, and perl 
scripts to achieve the outcome when potentially it could all be done 
by Rebol.
there might even be some java there too that transforms the wiki 
markup to xml
Graham
31-May-2010
[3721]
Fixed my wikipublisher install ... the default config was for mac 
and I had to use the linux one
caelum
3-Jun-2010
[3722]
Does anyone know which linux distros the SDK works on? I had it working 
on Ubuntu 9.10. After upgrading to 10.04 nothing worked. I have installed 
the required libraries, which did the trick on 9.10. Did not work 
on 10.04. I might have to revert to 9.10 just to get my Rebol programmes 
working again.
Graham
3-Jun-2010
[3723x2]
64 bit?
2.7.6 or 2.7.7 ?
caelum
3-Jun-2010
[3725]
64 bit, Ubuntu 10.04, Kernal 2.6.32-22-generic, Gnome 2.30.0.
Graham
4-Jun-2010
[3726x3]
presumably the 32bit libraries are loaded ?
LDD ?
this is funny http://cr.yp.to/daemontools/start.html
Maxim
4-Jun-2010
[3729]
a perfect example of why I love to hate linux in general.
BrianH
4-Jun-2010
[3730]
Qi Ben NanoNote http://sharism.cc/Now we have a need for MIPS Linux 
builds for REBOL :)
caelum
5-Jun-2010
[3731]
Thanks Graham, the 32-bit libraries were not loaded.  This sent me 
on a 24-hour excursion into Ubuntu Linux land where I discovered 
all kinds of things about loading 32-bit libraries into a 64-bit 
operating system that I never thought I needed to know.  After much 
exploration, several trips up and down the Ubuntu Linux technical 
Amazon, I eventually found in a dark, murky backwater the exact technical 
information I needed to complete my journey:


https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/431091?comments=all

On successful completion of the obligatory wget command

cd /tmp

wget http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb
dpkg-deb -x ia32-libs_2.7ubuntu6.1_amd64.deb ia32-libs
sudo cp ia32-libs/usr/lib32/libstdc++.so.5.0.7 /usr/lib32/
cd /usr/lib32
sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5


And the other commands above, I was delighted to find that rebcmdview 
now works on Ubuntu 10.04 on my laptop.  So, once again, thank you 
Graham for pointing me in the right direction.  I would never have 
figured this out for myself without the 32-bit library information. 
Much appreciated.
Graham
5-Jun-2010
[3732]
You're welcome.
NickA
5-Jun-2010
[3733]
Thanks for posting that caelum!  Do you mind if I repost those instructions 
in the tutorial at http://re-bol.com?