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

World: r3wp

[Linux] group for linux REBOL users

Pekr
29-Nov-2011
[4189]
Hmm, does not work, so ....
Andreas
29-Nov-2011
[4190x2]
install the ia32-libs thru your package manager, that should be enough
(apt-get install ia32-libs; no idea about zentyal, though)
Pekr
29-Nov-2011
[4192x2]
hmm, following worked for my "Ubuntu":


wget http://ftp.us.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-18_i386.deb

sudo dpkg -i libstdc++5_3.3.6-18_i386.deb
Where should I put my rebol executable ideally?
Andreas
29-Nov-2011
[4194x2]
/usr/local/bin
or /opt/rebol-<version>/bin
Kaj
29-Nov-2011
[4196x2]
libstdc++.so.5 is an antiquated version of the C++ system library, 
for GCC 3. The current version, for GCC 4, is libstdc++.so.6
There's probably still a compatibility package for it in Ubuntu, 
which would be the safe way to install it
Andreas
29-Nov-2011
[4198]
That package is `ia32-libs` on amd64 (pre-multiarch) and `libstdc++5` 
on i386 (and multiarch amd64). Except for Ubuntu 10.04 "Lucid" (the 
current LTS), for which it was decided to drop this ancient version 
of libstdc++ (a decision which was later reversed).
Pekr
30-Nov-2011
[4199]
OK, now my rebcmd starts. The other problem is, where does it look 
for the license.key? It is not recognised, when placed to /usr/local/bin, 
neither when it is placed to the dir from where I invoke rebcmd ...
Pekr
10-Jan-2012
[4200]
novice questions towards Linux shell usage:

$ cd ~/beagleboard_xm
 $ sudo ./mkmmc-android.sh <Your SD card device e.g:/dev/sdc>

1) what does tilda char means on the first line?

2) I was standing right inside the directory, but could not run the 
scrip, unless I put ./ in there too. What does it do?
Henrik
10-Jan-2012
[4201x2]
tilda = your home directory instead of typing /home/blah/

./ is an abbreviation of the current directory and is required, because 
the script is not in your PATH environment variable.
because the script
 => "because the script path"
Pekr
10-Jan-2012
[4203]
ok, thanks. I thought that once I am "standing" in the directory 
(shell shows /home/user/beagleboard_xm), then script in "current-dir" 
is going to be visible. But that is sometimes tricky, I use Midnight 
commande and ctrl+o to switch to console, which puts me sometimes 
in different directory ...
Henrik
10-Jan-2012
[4204]
The only files that are visible to the shell are the ones in PATH. 
once they are visible to PATH, you can enter them directly. I'm thinking 
this is for security reasons to avoid replacing shell commands with 
malicious executables.
Kaj
10-Jan-2012
[4205x2]
Yes
There are places where you could add ./ to your PATH
Dockimbel
10-Jan-2012
[4207x3]
** User Error: REBOL: Cannot obtain default font
** Near: size-text self
Running View on a 11.04 Ubuntu (a user from #red-lang on Freenode). 
Any simple workaround?
(error pops up when launching rebol/view)
GrahamC
10-Jan-2012
[4210]
Maybe some font missing? (Eg. the old, standard X bitmap fonts, you 
may have to emerge them separately as I don't think normal linux 
apps use them anymore.) Regards, Gabriele.


Ta-dah! I didn't have the bitmap fonts in my font path. Running now. 
Now I just have to work out what it is! :) thanks Jonathan.
Dockimbel
10-Jan-2012
[4211x2]
Any Ubuntu package name for those old X bitmap fonts?
Ok, got them from this channel history. Thanks Graham!
GrahamC
10-Jan-2012
[4213]
Google ( and Gabriele ) is your friend :)
Dockimbel
10-Jan-2012
[4214]
Certainly, but as these kind of issues with /View on Linux are pretty 
common, I thought someone would give me the solution right away.
MaxV
11-Jan-2012
[4215]
The packages on http://www.maxvessi.net/rebsite/Linux/index.php
requires to install also the fonts
Gabriele
11-Jan-2012
[4216]
Petr: the one to execute programs for the current directory was the 
AmigaOS.
ddharing
11-Jan-2012
[4217]
I've been using the following commands to fix the Ubuntu 11 font 
problems:

sudo apt-get install xfonts-100dpi
sudo apt-get install xfonts-75dpi
GrahamC
11-Jan-2012
[4218]
We need a Linux Rebol FAQ
Evgeniy Philippov
15-Jan-2012
[4219x6]
I have an Ubuntu Linux 11.04, and altme does not start. I did
I did

sudo aptitude install xfonts-100dpi xfonts-75dpi

and altme042 gives:

** User Error: Bad face in screen pane!
** Near: size-text self
How do I fix that?
I've skimmed the log above and saw a .deb solution, will try it.
I've installed an rebol amd64 .deb, rebooted, now AltME works.
WOOHOO! Now I can live here under Linux!!! :)
Kaj
15-Jan-2012
[4225]
I thought that error is caused by the traditional fixed size fonts 
not being installed, but apparently there's more
Andreas
15-Jan-2012
[4226x2]
Did you restart X after installing the fonts?
Seems you rebooted only after installing the .deb (but not after 
installing the fonts), so I guess that reboot is what really fixed 
it :)
Evgeniy Philippov
15-Jan-2012
[4228x5]
Ah ok. Might happen.
I have one more bug: Clipboard does not work with AltME. I select 
text at AltME, right-click, AltME says "Text copied", but the Ubuntu 
11.04 clipboard doesn't contain anything.
Copying from external windows into AltME works OK.
How do I fix a clipboard issue?
When AltME says "Text copied", the Ubuntu 11.04 (GNOME 2.32.1) clipboard 
is unchanged.
Pekr
15-Jan-2012
[4233]
Problem with clipboard is not related to only Linux version, there 
are some problems even under Windows. Source code to Altme is not 
publicly available, so we can't fix it ourselves. I don't remember 
any hacks to the Linux version of Altme, re clipboard issues, but 
I never used Altme under Linux ....
Kaj
15-Jan-2012
[4234x2]
Linux has two clipboards. AltME looks like it uses the cut/paste 
clipboard, but it actually uses the middle-mouse-button clipboard
It's a disaster. You have to select, then middle click to paste, 
and often you first have to clear the target field even before you 
select the source field
Evgeniy Philippov
15-Jan-2012
[4236x3]
Haha correct! But more than that. You have to select text at AltME, 
you have to right-click the selection at AltME, and then use the 
middle-click at the target text editor at OS (where your text is 
safe to be copied using usual means). As a text editor, gedit can 
be used.
It works ok.
Thank you Kaj!