[REBOL] Re: Rebol/view as a CGI app
From: mat:b:codeplay at: 10-Jan-2002 10:25
Hello Andrew,
AM> It sounds like your rebol installation is bad. I think that Rebol/View
AM> doesn't like being called %rebolcmd.exe. It's probably trying to install
AM> itself when called by Xitami?
No, that's now what I have done. The command line I quoted works;
#!C:\Rebol\rebolcmd.exe --cgi -s
This really IS Rebol/Command. The above also works if I use just plain
rebol.exe, IE Rebol/Core.
What does NOT work is if I do ANYTHING like the following;
#!C:\Rebol\view\rebol.exe --cgi -s
This just doesn't work. It hangs. Doesn't matter what switches I use
either, I've tried dozens of combinations. I can run the exact path
and my Rebol/View just goes straight into the console and doesn't try
to install itself with the nasty pop up GUI thing.
AM> If you want to run Rebol/View and Rebol/Core at once, consider doing what
AM> I've done, which is to have one directory, like:
AM> %/C/Rebol/
AM> with two subdirectories, inside it like:
AM> %/C/Rebol/View/
AM> and:
AM> %/C/Rebol/Core/
I just leave Rebol/Core and Rebol/Command in the %/C/Rebol/ dir.
AM> Then put Rebol/Core in it's directory and Rebol/View in it's directory.
AM> Then check them out to make sure that both work OK, then try them out again.
They all work, I'm not a complete fool. :)
AM> Be sure that the REBOL_HOME variable in your autoexec.bat file is changed
AM> and that you've rebooted your system. The end result is two Rebol
AM> executables which are at:
AM> %/C/Rebol/Core/Rebol.exe
AM> and:
AM> %/C/Rebol/View/Rebol.exe
AM> Then in the %/C/Rebol/ directory, you can store your Rebol scripts and
AM> it's all tidy and so on.
I didn't know about the REBOL_HOME var actually. Not that it appears
to matter much. I have Rebol/view (pro) registered in the system to
execute scripts without security etc. It works well.
AM> I hope that helps! If not, please let me know, or email the list?
The only solution I can think of is to work out what the hell is
happening with Rebol/View when I'm calling it.
Regards,
Mat Bettinson
Codeplay
Tel: +44 (0)20 7482 3382
140-142 Kentish Town Rd, London, NW1 9QB
http://www.codeplay.com