On 27 Jun 2002 19:43:00 -0700, Achain wrote:

>
>Could someone who is able to build warpzilla without errors
>please review my environment variables, or show me your
>environment variables?
>Following is my batch file to set environment variables
>instead of "setmozenv gcc".
> = = =
snip
>SET 
>PATH=F:\EMX\bin;F:\GLIBIDL\GLIB\emx\bin;F:\GLIBIDL\LIBIDL\emx\bin;F:\AUTOCONF\bin;F:\MOZTOOLS;F:\EMX\bin;D:\MPTN\BIN;D:\IBMCOM;D:\IBMLAN\NETPROG;D:\MUGLIB;D:\IBMGSK40\BIN;D:\IBMGSK\BIN;D:\TCPIP\BIN;D:\OS2;D:\OS2\SYSTEM;D:\OS2\INSTALL;D:\OS2\APPS;

One problem is having f:\emx\bin in the path twice. This is a bug in setmozenv.cmd 
where \emx\bin is added twice. If using setmozenv.cmd to setup your enviroment this 
section needs to be edited
/* REM *** EMX settings **** */
if buildtype = 'gcc' then /* GCC */
DO
'SET PATH=%EMX%\bin;%GLIB%\emx\bin;%LIBIDL%\emx\bin;%PATH%'

to
'SET PATH=%GLIB%\emx\bin;%LIBIDL%\emx\bin;%PATH%'

%MOZTOOLS% should come before %EMX%\bin

Also as Henry pointed out you should have %HOME% set. I'd advice creating a directory 
such as \home instead of using /usr as all kinds of programs use %HOME% for storing 
configuration files etc.
Dave, one of the crazy canucks



Reply via email to