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

World: r3wp

[Linux] group for linux REBOL users

Kaj
29-Nov-2011
[4197]
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!
MaxV
18-Jan-2012
[4239]
Did you find the Linux Rebol packages useful?
Evgeniy Philippov
18-Jan-2012
[4240x3]
Which ones?
lubuntu (light ubuntu) problems.

sudo green_meadow/computer_house/AltME/042/altme 
[sudo] password for gouslar: 

green_meadow/computer_house/AltME/042/altme: error while loading 
shared libraries: libXaw7.so.7: wrong ELF class: ELFCLASS64
Ok
ldd green_meadow/computer_house/AltME/042/altme 
	linux-gate.so.1 =>  (0xf77b5000)
	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf766a000)

 libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf7657000)
	libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xf75fa000)
	libXaw7.so.7 => not found
	libXmu.so.6 => not found

 libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf750f000)

 libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf7478000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf744d000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7448000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf742a000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf72ae000)
	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf728f000)
	libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf7285000)
	libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf726b000)
	/lib/ld-linux.so.2 (0xf77b6000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7256000)
	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7252000)

 libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf724b000)
	libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf7244000)
Ok
lsb_release -dr
Description:	Ubuntu 11.10
Release:	11.10
Ok
uname -asm

Linux greenmeadow 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 
UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Ok


How do I fix missing "libXaw7.so.7" and "libXmu.so.6"?
My Ubuntu 11.04 apt repos broke completely with no prev. reason, 
so I installed lubuntu oneiric
Dockimbel
18-Jan-2012
[4243]
Evgeniy: try with `apt-get install libxaw7 libxmu6`.
MaxV
18-Jan-2012
[4244]
Try this link  http://www.maxvessi.net/rebsite/Linux/index.php
Evgeniy Philippov
18-Jan-2012
[4245x2]
Still no luck with both methods. I can investigate this myself, just 
too currently lazy to do it.
A report about my adventures:

sudo aptitude install libxaw7 libxmu6
[sudo] password for gouslar: 

0 packages installed, updated or deleted. 0 bytes of archives received.
Ok
sudo aptitude search libxaw7 libxmu6

i A libxaw7                         - X11 Athena Widget library  
               

p   libxaw7-dbg                     - X11 Athena Widget library (debug 
package) 

p   libxaw7-dev                     - X11 Athena Widget library (development 
hea

i A libxmu6                         - X11 miscellaneous utility library 
        

p   libxmu6-dbg                     - X11 miscellaneous utility library 
(debug p
Ok
sudo ldconfig
Ok
ldd 042/altme 
...
	libXaw7.so.7 => not found
	libXmu.so.6 => not found
...
Ok
ls /usr/lib/i386-linux-gnu/libXmu*
No such file(s).
Ok
ls /usr/lib/i386-linux-gnu/libXaw*
No such file(s).
Ok

Then, I installed rebol-2.7.8.4.3-4.amd64.deb from maxvessi.net.

(GTK-DEBI installer was saying to 47 additional packages, then it 
hung before downloaded anything. I killed some processes it created. 
Then I re-ran gdebi, it said all dependencies of 'rebol' are satisfied 
and installed 'rebol' quickly.)

Then, I re-ran:

ldd 042/altme 
...
	libXaw7.so.7 => not found
	libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf75c3000)
...
Ok
sudo aptitude install libXaw7 libxaw7-dbg libxaw7-dev
...it installed 21 new package...
Ok
ldd 042/altme 
...
	libXaw7.so.7 => not found
...
Ok
042/altme 

altme: error while loading shared libraries: libXaw7.so.7: wrong 
ELF class: ELFCLASS64
Ok