World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
Evgeniy Philippov 18-Jan-2012 [4242] | 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 [4268x11] | 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 | |
Are there desktop gadgets sitting on the screen background and screen foreground etc available on Linux, who knows? | |
Is there such a desktop environment? | |
The article http://www.scribd.com/doc/55687428/Gadgetsattributes the first use of the word gadget regarding the software to AmigaOS. | |
I want +"screengadgets" +software +linux --- but there's NONE!!! :( | |
SHIT. GTK+ 3.x now supports CSS. machines get slower and slower with all of that stupid architects | |
http://library.gnome.org/misc/release-notes/3.2/ | |
I discard GTK+ into a trashcan with such directions of development. Qt supports CSS either. Trashcan, too. | |
Dockimbel 26-Jan-2012 [4279] | I guess that's why people are sticking with GTK+ 2.x. |
Evgeniy Philippov 26-Jan-2012 [4280x2] | m.: EFL has a set of pretty light libraries --- what's EFL? --- m., this? http://www.enlightenment.org/p.php?p=about/eflThe Enlightenment Foundation Libraries (EFL) |
this url is an interesting stuff. One can program graphics bypassing X | |
Kaj 26-Jan-2012 [4282x2] | Is that so? EFL was always built on X |
The design also has limitations with threading/multi-core and hardware rendering | |
Evgeniy Philippov 26-Jan-2012 [4284x5] | look at the diagram. EFL can either work with X or without X |
the diagram below (the more complex one) document ways with no X | |
hardware rendering --- it has OpenGL, FrameBuffer and some other no-X ways... i don't know | |
re: threading/multicore i don't know | |
I mean no-X OpenGL and no-X Framebuffer. Maybe that diagram is misleading but maybe it is not misleading | |
Kaj 26-Jan-2012 [4289x3] | It does seem to be less limited than it used to be. Although DirectFB figures in the text, but not in the diagrams |
I considered it for a Red binding, but GTK has many more advanced third-party widget projects | |
Also, GTK is cross-platform. The EFL diagram vaguely mentions Win32/CE but mainly it still seems to be tied to Linux and maybe BSD | |
older newer | first last |