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

World: r3wp

[Linux] group for linux REBOL users

Volker
12-Sep-2005
[209x6]
about special settings (user.r) i would write a short script dumping 
system/options and system/script. running from cgi. That should show 
the pathes.
i guess user.r is at users home, not sure where that is with their 
cgi-settings. on a new rebol 
 >> get-env "HOME"
== "/home/volker"
works too.
where are sub-script? rebol makes a cd to the current script. So 
you can use relative addresses from there. just make a subdir %lib/ 
where the script is.
call: i have 2.6.0.4.2 and call is there. IIRC thats the real release, 
not even beta.
when i upload things, i use a builder-script which takes my local 
installation and replaces some things, like the shebang. then i copy 
that result to the server. you could make a config-script, 
 exe: %/usr/local/bin/rebol
 data: %/svr/www/my-dir/
  ..
let them adjust that and run the builder.

Also it makes sense to not hard-wire most pathes, but put them in 
a config too and load them at runtime. but does not work with the 
shebang, it must be hardcoded in the script.
happy installing ;)
Pekr
12-Sep-2005
[215]
thanks a lot! :-)
Volker
12-Sep-2005
[216]
(about shebang, dont forget to mention that little "-c" or "-cs"!!)
Kaj
16-Sep-2005
[217x2]
You can keep your scripts unchanged with this shebang line:
#! /usr/bin/env rebol
Volker
6-Oct-2005
[219]
what is a good client for bittorrent? i want to help seeding a bit, 
but not to have lots of btdownloadcurses open.
Pekr
6-Oct-2005
[220x2]
I use Azureus ....
self updating java client. Some folks found it slow and eating too 
much CPU cycles, but no problem here at all ...
Volker
6-Oct-2005
[222]
cpu-cycles would be a problem here i guess. but will look, thanks.
Pekr
6-Oct-2005
[223x2]
but that was reported some xyz versions before. They do regular updates, 
it is really a nice app, having auto-updates for itself and its plug-ins, 
simply a joy to use - that is how apps should work - install just 
once and then have it up-to-date for ages ...
ah, did not noticed I am in linux group, sorry. But Azureus is JAVA 
based, hopefully it will work with linux too ...
Volker
6-Oct-2005
[225]
should, thats why i did not notice it could be wrong :)
Alan
6-Oct-2005
[226]
I tried playing the presentation on Mandrake and all I got was the 
vid/no sound ? Which player are you guys using that will play a mp4 
?
Volker
6-Oct-2005
[227x2]
mplayer.
but Gabriele says vlc works, except of version 0.8
Gabriele
6-Oct-2005
[229]
mplayer is probably the best on linux.
Alan
6-Oct-2005
[230]
tried mplayer and all I got was the vid/no sound-yet it does play 
a mp3 ?
Volker
6-Oct-2005
[231]
do you have all the plugins? it uses some codecs from windows. compiled 
mine myself, based on some tutorial. maybe distros has not everything 
due to ip?
Alan
6-Oct-2005
[232]
will check,thanks ! still a newbie in the Linux world-have a Linux 
user group meeting tonite :)
Volker
6-Oct-2005
[233]
i have a /usr/lib/win32 full of such codes. and there where one or 
two other dirs mentioned too. IIRC xine suggested to download the 
mplayer-codes too, althought i installed from distro.
Gabriele
6-Oct-2005
[234x3]
mplayer should not need the win codecs for mp4.
maybe your mandrake is just a bit old.
try to download mpeg4ip, it is a mp4-only player/encoder. that should 
in theory work...
Alan
6-Oct-2005
[237]
have 10.1 not the very newest but $ is tight right now
Gabriele
6-Oct-2005
[238]
(IMHO you should donwload Ubuntu, it will keep itself updated and 
it is easy to use - though gnome based)
Alan
6-Oct-2005
[239x3]
also i can not get View 1.3.? to install it does not make a ./rebol 
dir ?
problem with most Linux distro is that I have a dual cpu and most 
don't support dual cpus :(
on XP right now other wise I could check as I write
Volker
6-Oct-2005
[242x3]
google "mplayer mp4 mandrake"

The solution (hopefully): install something more: http://archives.free.net.ph/message/20050925.165309.a1ed86e6.en.html

your problem: http://archives.free.net.ph/message/20050924.022642.ef5dfed6.en.html
about dual cpu: i guess thats wrong. usually distros have multiple 
kernels and you need one with smp in the name. should be as simple 
as telling the package-manager what you want. (in theorie, never 
tested smp, but on debian changed kernel for other reasons that way.
ubuntu sounds good. there is a kubuntu or something beased on kde. 
also, dont know about ubuntu, but on debian if i would install a 
kde-program without having kde, it would suggest a lot packeages, 
and 100mb later i would have everything including desktop i guess.
Henrik
6-Oct-2005
[245]
it's about the same for ubuntu, except they usually use the latest 
packages. I had gnome 2.12 the day before it came out officially.
Tomc
6-Oct-2005
[246]
so with ubuntu what do I do about the missing lib to run altme
Henrik
6-Oct-2005
[247]
tomc: I have the same problem, btw.
Volker
6-Oct-2005
[248x4]
install something ;)
there is also a trick with linking new library to old library, but 
i forgot the details.
http://www.debian.org/distrib/packages, at the bottom you can enter 
a filename and usually get its package. most libs have compat-somethings. 
i guess the packages on ubuntu are similar, and that they have a 
similar page. (my link shows in german here, i guess thats some smartness. 
you should see something in your language).
my debian-altme runs some month know, so i forgot what i did exactly, 
sorry.
Tomc
6-Oct-2005
[252]
I have not spent 3 seconds looking into it yet. just hoping to spend 
my time some other way :)
Henrik
6-Oct-2005
[253]
this used to be something with libxaw6, but I have it installed...
Volker
6-Oct-2005
[254x2]
what does altme say if you run it from the commandline?
hmm, is altme 1.0.2 current or did i miss an update?
Henrik
6-Oct-2005
[256]
symbol lookup error: /usr/lib/libXaw.so.6: undefined symbol: xawPrintShellWidgetClass
Tomc
6-Oct-2005
[257]
I am not where that machine is so cant really help
Volker
6-Oct-2005
[258]
the interesting thing is usually the .so.6, which is the version-number. 
you can install multiple versions of libs, and altme wants an old 
one.