World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
BrianW 14-Aug-2005 [196] | which distro |
Ashley 15-Aug-2005 [197] | Any chance of a world master moving this group under the "Operating Systems" divider? |
Gregg 22-Aug-2005 [198] | Done. |
Pekr 12-Sep-2005 [199x4] | I need to prepare some installation instructions for our polish partner. I will do some scripts to access mySQL on their server, using rebol, but I will not have access to the site. So I want to be well prepared, so they don't get annoyed after writing them tens of times "try that, try this" etc. :-) |
They use Debian. I have Fedora at home. What would I like to ask is - where to put rebol interpreter on Debian? Where to put things like user.r or mysql-protocol.r or whatever other script I produce to them? The path is almost always trouble for me. I e.g. start console and I have to define set-net once again, as it does not use my user.r settings etc. Any insights? | |
has latest beta core available shell access? I will not probably able to solve mySQL 4.0.1 charset conversions using mySQL commands, so I will use 'iconv utility .... need to convert by using externall tool, so I need shell access for that ... | |
thanks a lot ... | |
Maarten 12-Sep-2005 [203x2] | why not use encap |
Then they/you can put one binary *anywhere* in the path | |
Pekr 12-Sep-2005 [205x2] | encap? that could be way to go ... but I am not sure what SDK I have, not probably /Command sdk - do I have shell enabled? :-) |
... hopefully so ... | |
Maarten 12-Sep-2005 [207] | All SDKs have shell, library and encryption. Command adds ODBC/Oracle and SSL (client side) |
Volker 12-Sep-2005 [208x7] | interpreter can be anywhere, usually /usr/local/bin. the shebang (first line, with that #!) needs to point there, but thats not rebol-specific, its the way with every language. |
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. |
older newer | first last |