World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
Evgeniy Philippov 15-Jan-2012 [4222x3] | 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 [4245x7] | 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 | |
Ah. It expects a 32-bit ELFCLASS, probably. | |
And I am using a 64-bit OS. | |
Xmu links to .../lib32/... | |
ls /usr/lib32/libXaw* /usr/lib32/libXaw3d.so /usr/lib32/libXaw7.so /usr/lib32/libXaw.so.7 /usr/lib32/libXaw3d.so.6 /usr/lib32/libXaw7.so.7 /usr/lib32/libXaw3d.so.6.1 /usr/lib32/libXaw7.so.7.0.0 Ok | |
I don't know: How to make altme find it? It exists! | |
Kaj 18-Jan-2012 [4252] | Maybe another ldconfig? |
Evgeniy Philippov 18-Jan-2012 [4253x7] | Hmm. Was hacking a bit more. I cannot get ldconfig to be sane and include all file names into its cache, tried all ways it seems. |
ldconfig -p|grep libXaw libXaw3d.so.6 (libc6) => /usr/lib32/libXaw3d.so.6 libXaw3d.so (libc6) => /usr/lib32/libXaw3d.so libXaw.so.7 (libc6,x86-64) => /usr/lib/libXaw.so.7 libXaw.so.7 (libc6) => /usr/lib32/libXaw.so.7 libXaw.so (libc6,x86-64) => /usr/lib/libXaw.so Ok ldconfig -p|grep libXaw7 Ok ls -l /usr/lib32/libXaw* lrwxrwxrwx 1 root root 13 2011-10-08 05:30 /usr/lib32/libXaw3d.so -> libXaw3d.so.6 lrwxrwxrwx 1 root root 15 2011-10-08 05:30 /usr/lib32/libXaw3d.so.6 -> libXaw3d.so.6.1 -rw-r--r-- 1 root root 297332 2010-05-10 02:48 /usr/lib32/libXaw3d.so.6.1 lrwxrwxrwx 1 root root 12 2011-10-08 05:30 /usr/lib32/libXaw7.so -> libXaw7.so.7 lrwxrwxrwx 1 root root 16 2011-10-08 05:30 /usr/lib32/libXaw7.so.7 -> libXaw7.so.7.0.0 -rw-r--r-- 1 root root 373352 2011-02-19 04:17 /usr/lib32/libXaw7.so.7.0.0 lrwxrwxrwx 1 root root 12 2011-10-08 05:30 /usr/lib32/libXaw.so.7 -> libXaw7.so.7 Ok | |
And ld.so.conf includes /usr/lib32/ | |
Kaj: Which 'another' ldconfig? I re-ran ldconfig frequently | |
I re-ran it when all *Xaw7* were already present and /usr/lib32/ was present at ld.so.conf.d/biarch*.conf. After that re-running, *Xaw7* was still missing from its cache. Why? And how to force it into a cache? | |
It seems I need ldconfig sources to understand what is going on with it. | |
too lazy | |
Kaj 18-Jan-2012 [4260x3] | That's what I meant. rerunning ldconfig, if ldd still can't find a library |
You could try setting $LD_LIBRARY_PATH before calling altme, to force the 32 bits libraries to be searched first | |
It's probably empty by default on an Ubuntu derivative | |
Evgeniy Philippov 19-Jan-2012 [4263x3] | Yay this worked! But it's ldconfig's fault to not handle that beforehand |
cat > altme.sh export LD_LIBRARY_PATH=/usr/lib32:$LD_LIBRARY_PATH /home/gouslar/green_meadow/computer_house/AltME/042/altme Ok chmod u+x ./altme.sh Ok ./altme.sh Ok | |
now it works perfectly | |
Evgeniy Philippov 23-Jan-2012 [4266] | Hehe. Just a random fun: on #gnu: <man> hi gnudists! |
Kaj 23-Jan-2012 [4267] | :-) |
Evgeniy Philippov 26-Jan-2012 [4268x4] | hmm. tar is unoptimal on linux. tar shows 20% cpu usage on the following: |
tar -xzvf debian-hurd.img.tar.gz debian-hurd-20111214.img Ok ls -Hl size=3146776576 debian-hurd-20111214.img size=260521812 debian-hurd.img.tar.gz Ok | |
it must show 0.0000(0)1 cpu usage on optimal OS and fs and tar implementation | |
gzip shows 45% cpu while this | |
older newer | first last |