PDA

View Full Version : Script Compiler settings


Kanu
01-28-07, 05:58 PM
Hi Friends,

I have worked with MIVA Script Compiler on Windows but I have no idea about the configuration of MIVA Script Compiler on Linux. I would request you to flash some lights on this.

My Flavor: Fedore Core 6, MIVA Script Compiler 5.04, MIVA VM 5.06

Thanks in advance!

cagdas
01-28-07, 11:30 PM
Typically the only configuration you need is to put your executables (mvc, mvasm and mvc1) in a directory included in your path like /usr/local/bin. You also need to put the libraries in a directory and point MVC_LIB environment variable to that directory. You can put that in your global profile in /etc/profile for it to take place for all users. For example, if you placed the libraries in /usr/local/mvc/lib, you would add

export MVC_LIB=/usr/local/mvc/lib

in your /etc/profile.

Kanu
01-29-07, 04:59 AM
Thanks Cag!

I will try it and will let you know about the result.

Kanu
01-29-07, 01:34 PM
Hello Cag!

I have put the mvc, mvc1 and mvasm in /usr/loacl/bin/mivascript/ and I have put the builtins in /usr/loacl/bin/mivascript/builtins so here is the contents of my /usr/loacl/bin/mivascript/
mvc
mvc1
mvasm
/builtins

After that I have edited #vi .bash_profile and put the line
export MVC_LIB=/usr/loacl/bin/mivascript/builtins but I am still not able to compile the scripts. Please let me know if I am missing anything.

Thanks in advance.

cagdas
01-30-07, 08:23 AM
I assume /usr/loacl is a typo in your post and you mean /usr/local.

You need to place the mvc, mvasm and mvc1 directly under the /usr/local/bin, not /usr/local/bin/mivascript.

Kanu
01-31-07, 05:18 AM
Hi Cag!

I was successfully able to configure it. Thanks a ton!