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
17-Feb-2009
[2662]
Just download the drivers first
Kaj
17-Feb-2009
[2663]
RobertS, I know two people using REBOL on Eee with Linux. What are 
your issues?
Gabriele
18-Feb-2009
[2664]
Graham, funny, I did the opposite, bought an eee Box, reformatted 
and installed Linux...
Kaj
18-Feb-2009
[2665]
:-)
Graham
18-Feb-2009
[2666]
Gabriele, that's odd ... the linux versions are cheaper!  And i have 
quite a few spare XP licenses ...
BrianH
19-Feb-2009
[2667x2]
It depends on which country you live in. Installing XP on it is not 
a simple task though - you need to PXE boot your installer.
The XP installer often has problems with USB-connected drives, in 
my experience. It's simpler to clean up the OEM XP install.
Graham
19-Feb-2009
[2669]
Booted fine with my USB DVD writer
BrianH
20-Feb-2009
[2670x2]
Cool.
I recommend awxLink if you want to use it with XP - it's a lot easier 
than trying to get software to install on D itself.
Gabriele
21-Feb-2009
[2672]
G: there was no Linux version of the Box (notice, not eee PC, eee 
Box).
Graham
21-Feb-2009
[2673x2]
G: ahh.... never met anyone who bought one of those.  They already 
come with embedded linux, was that enough?  :)
wasn't ...
Kaj
22-Feb-2009
[2675]
Two Linuxes is better than one :-)
Gabriele
22-Feb-2009
[2676]
That wasn't enough, that box needs to run a View program (and basically 
just that, though since now it's there it also runs Skype etc.). 
It was a replacement for a old (10 years old, and it was low spec 
back then) PC that literally exploded.
Anton
22-Feb-2009
[2677]
Capacitors ?
Gabriele
23-Feb-2009
[2678]
probably, it was the power supply. i didn't open it is there really 
was no point. the pc still works after replacing the power supply 
with one I had around, though i don't think it would last more than 
a couple months, and it's too old to be used for anything.
Anton
23-Feb-2009
[2679]
RIP
Kaj
23-Feb-2009
[2680]
Syllable can probably raise it from the dead :-)
Graham
23-Feb-2009
[2681]
Those power supplies can make a rather loud bang with smoke etc :)
Gabriele
24-Feb-2009
[2682]
Kaj, possible, but I have no use for it at this point. The installed 
OS right now is Xubuntu, which is slow to boot etc. but once booted 
runs REBOL fine enough.
Robert
15-Mar-2009
[2683x4]
I normally don't install development tools on my production servers. 
I just install pre-compiled packages. This works good most of the 
time.
But how to handle source-only packages? I have an other system with 
everything on place. But how to do the install on the production 
server?
The makefiles won't run (because compiler versions etc. is checked) 
and deriving what to install where is not straight forward to derive 
from makefiles.
Any idea how to best do it?
Anton
15-Mar-2009
[2687x2]
What would be good to know is what new files are added during an 
installation. So maybe you could compile & install on your other 
system with development tools in place, then examine which files 
were added, then copy them to the production server.
To achieve the above you need to do 2 things:

1) Log files that were modified or added during the compile/installation 
(or otherwise find them after the installation).
2) Copy to the production server.
Robert
15-Mar-2009
[2689]
Well... yes, but that's quite heavy. But maybe the only way to handle 
it.
Anton
15-Mar-2009
[2690x4]
To do 1, it may help to use this console command after an install.

 alias recent='find . -type f -printf '\''%TY-%Tm-%Td/%TT %p\n'\'' 
 | sort'
We can't be the only ones wondering how to do this, so I will check 
google for a tool to monitor installs....
1)  inotify - Looks promising. Requires programming, but user-land 
tools have been created http://inotify-tools.sourceforge.net/
2)  kfsmd  -  Looks good too. The example output seems minimalistic 
- just what is needed for this job.
Robert
15-Mar-2009
[2694]
Anton, thanks, I'll take a look
Gabriele
16-Mar-2009
[2695x3]
What distribution is that? Both rpm and dpkg allow you to build a 
binary package from a source package automatically.
If both machines have the same distros, you can compile on one and 
install the binary package in the other.
if you have different distros/versions it can be a bit more complicated, 
depending on dependencies and so on.
Robert
16-Mar-2009
[2698]
I use debian. How can I create such a binary package from a source 
package? Any reference to this?
Kaj
16-Mar-2009
[2699x2]
Is there a Debian-format source package? Then creating the binary 
version shouldn´t be hard, although I don´ t know the command
If you don´t have a Debian package, then it would be quite a lot 
of work to create one
Izkata
16-Mar-2009
[2701x2]
check out dpkg-buildpackage
never did such a thing myself, though
Anton
17-Mar-2009
[2703]
Robert, here it mentions 'pbuilder (Personal Builder)'
http://en.wikipedia.org/wiki/Debian_build_toolchain
Oldes
17-Mar-2009
[2704]
Is it possible to run rebview without xserver? I have all required 
libs:
ldd rebview
        linux-gate.so.1 =>  (0xb7fd4000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7ee2000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7ed4000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb7e84000)
        libXaw.so.7 => /usr/lib/libXaw.so.7 (0xb7e2a000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7e15000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7d5b000)

        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7cf1000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7ccc000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7cc7000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7cbc000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7b8a000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7b87000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7b82000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7b79000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7b60000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb7b50000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7b3c000)
        /lib/ld-linux.so.2 (0xb7fd5000)
but Rebol halts on error:
** User Error: Bad face in screen pane!
** Near: size-text self
Dockimbel
17-Mar-2009
[2705]
You need part of Xlib installed to run View. For Debian-based linux, 
I use : 
apt-get install libx11-6 libxaw7 libstdc++5 libfreetype6
Oldes
17-Mar-2009
[2706x2]
There must be something else.. the above I used to get the libs.
I guess it will be something with fonts as the error is in the size-text 
function.
PeterWood
18-Mar-2009
[2708]
What is the character encoding expected by View under Linux?
Anton
18-Mar-2009
[2709]
Well, in Rebol/View 2.7.6.4.2, I can paste the multiply sign (copied 
from ascii-math.r) straight into the console and it shows correctly. 
In a field, however, it shows incorrectly, eg. if I try to paste 
it in the field:
	view layout [f: field]
I get two characters,  'Ã' and a dotted box, displayed instead.

The binary information is correct, it's just not rendered correctly, 
for if back in the console I do:
	probe f/text
then I get the multiply symbol displayed correctly again.

So it looks like View face/text rendering is expecting 8-bit ascii 
of some encoding.
Probably ISO/IEC_8859-1
PeterWood
18-Mar-2009
[2710]
Yes, it will be an 8-bit single character encoding system. I believe 
on Windows, it is the system default CodePage and on Mac it is MacRoman. 


Your message shows the 'square-root' sign in AltME on a Mac and 'Capital 
A with a tilde on top: in Windows.


Perhaps you could describe the first of the two characters displayed.
Anton
18-Mar-2009
[2711]
On more close inspection, what I see here in a Rebol/View 2.7.6.4.2 
view face/text looks very much like ISO/IEC_8859-1.

The A with tilde on top is what I see here in Altme in wine on linux. 
(Makes sense.)