World: r3wp
[SDK]
older newer | first last |
Pekr 1-Aug-2006 [586x2] | What does this mean, please? I just tried to upgrade to latest SDK, as I use Command on my Linux Fedora Core 1, and older Rebol does not know 'unless (which is used in sqlite.r driver). But I got following error: ./rebcmd: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory |
I get it only for rebcmd, rebbase, rebol, rebpro are working ... | |
BrianH 1-Aug-2006 [588] | Perhaps only /Command is loading that library. Do you have that library on your system? |
Pekr 1-Aug-2006 [589x3] | yes, but pro already works ... |
I wonder if I will have to upgrade my old Fedora Core 1, or I just can grab the library and put it somewhere? :-) | |
or I will miss fastcgi .... | |
BrianH 1-Aug-2006 [592x2] | Does /Pro load that library? |
Fedora Core 1 is a bit old... | |
Pekr 1-Aug-2006 [594x3] | but not needed now .... (fast cgi), I get my sql query result in some 0.03 sec even for plain cgi ...., which is nice |
yes, pressing enter under the linux midnight commander runs cgi in console. I just can't get it to work from browser, but that might be another problem ... | |
btw, here is ldd rebcmd: [[root-:-linux] bin]# ldd rebcmd# libstdc++-libc6.2-2.so.3 => not found libm.so.6 => /lib/tls/libm.so.6 (0x00d40000) libdl.so.2 => /lib/libdl.so.2 (0x00d64000) libc.so.6 => /lib/tls/libc.so.6 (0x00c05000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00bed000) | |
BrianH 1-Aug-2006 [597] | On Windows, /Pro supports fastcgi - what about on Linux? |
Pekr 1-Aug-2006 [598] | not sure, not tried yet, but good suggestion ... so what is the difference then? Encryption, odbc? |
BrianH 1-Aug-2006 [599] | Command adds encryption, ODBC, Oracle, (slower native) MySQL, and SSL. |
Pekr 1-Aug-2006 [600] | isn't encryption part of /pro too? |
BrianH 1-Aug-2006 [601x2] | After checking, it appears to be. |
Command seems to have an "Encryption Level 2" though, which I would guess is better. | |
Gabriele 2-Aug-2006 [603x2] | libstdc++ is required by AGG |
most likely you just need a symlink from your version of libstdc++ | |
Pekr 2-Aug-2006 [605x2] | dunno what is symlik, so .... :-) well, my friend suggested me to find the library in some rpm and unpack it .... I found it via rmpfind.net |
rebcmd is linked towards AGG? So I can use draw for effects, etc, to produce on images, even if no X-Win is installed? | |
BrianH 2-Aug-2006 [607] | By symlink, he means symbolic link. Enter "man ls" on your Linux command line without the quotes for more info. |
Gabriele 3-Aug-2006 [608x2] | man ln ;) |
petr, yes, it should have the DRAW native afaik. never used command for images myself so i haven't tested any of this. | |
Cyphre 3-Aug-2006 [610] | Pekr: yes, you can use DRAW native in this version of Rebol without X-Win. |
Pekr 7-Aug-2006 [611x2] | how to prevent security dialog in SDK generated app? I surely don't want end user to answer security dialog with mine app :-) |
ok, got it, I need to add it to the app header ... | |
Henrik 7-Aug-2006 [613] | pekr, is that SDK specific? what did you do? |
Pekr 7-Aug-2006 [614x3] | I have not tried it yet, but I tried to load a library ..... |
uh, not sure it was the case, it was one week ago, but I simply go the requestor .... | |
but I think that it is clear now, I need to lower security in header for encap ... | |
Henrik 7-Aug-2006 [617] | didn't know you could do that |
Pekr 7-Aug-2006 [618] | yeah, it is in encap docs :-) |
Henrik 7-Aug-2006 [619] | so it's encap only? |
Pekr 7-Aug-2006 [620] | what do you mean by encap only? |
Henrik 7-Aug-2006 [621] | if it only works with encapped programs, not ordinary scripts... |
Pekr 7-Aug-2006 [622] | you mean the header trick? I think with encap only .... |
Henrik 7-Aug-2006 [623] | ok |
Pekr 7-Aug-2006 [624] | encap: [secure none quiet] ; example from docs ... |
Anton 7-Aug-2006 [625] | Yes, it doesn't make sense for a normal script to be able to lower the security simply in the header :) |
Henrik 7-Aug-2006 [626] | nope, just making sure :-) |
james_nak 8-Aug-2006 [627] | I've have a script that works fine when executed with rebol but errors after being encapped. I know one is supposed to #include source and I suspect something is not being included. Is there a quick way to find out short of adding them all. In case you ask... ** Script Error: Cannot use path on none! value ** Where: insert-event-func ** Near: insert system/view/screen-face/feel/event-funcs :funct :funct Thanks in advance. |
Graham 8-Aug-2006 [628] | missing View ? |
james_nak 9-Aug-2006 [629] | That did cross my mind but I am including that and have tried using all of the encap versions. Maybe I corrupted the them. I should check. |
Anton 10-Aug-2006 [630] | Check how much of that path exists. That full path should exist at the beginning of the script (at least just after you have included view). |
james_nak 10-Aug-2006 [631x2] | Thanks Anton and Graham. I forgot my own first rule of programming: "When all is said and done, it's probably 'User Error.' |
My memory stick that I use did not have enough space for the resulting file! Encap, rather than complaining just wrote what it could. After making some space, it did its job. I did locate some words that were not yet defined so I did a "Search in files" to look for where they might be in the sdk/source files. Finding them I "#include"'d the source and wow, now it works. So Graham you were right. It was missing View. And Anton, next time I will check the path; that's a much quicker way to proceed. It all makes sense now that I'm on the other side of success. | |
Anton 10-Aug-2006 [633] | Glad that it was something simple :) |
Rondon 14-Aug-2006 [634] | Hi Folks. I'd Like to customize the window title for my rebol encaped programs.. not with rebview, but rebcommand.. The program is a cgi .exe encapsulated. but the window title, when I run it out of the browser appears "Rebol -". Can I change that ? |
Graham 14-Aug-2006 [635] | have to use a windows library call. |
older newer | first last |