I found that I set envirnment variable MAKEDIR in c:\autoexec.bat to be c:\lxh\temp\mozilla, so this definition replace that defined by Nmake, now the mozilla is compiling crazily, I think it will be ok this time, thank you.
but the rebuild time is too long, If I should use "nmake -f makefile.win install" instead? will it a little faster? John Morrison wrote: >lambliu wrote: > >>It seems like the macro MAKEDIR lost the capability of recursive, >>so it try to cd in c:\lxh\temp\mozilla\src instead >> c:\lxh\temp\mozilla\modules\libreg\src >>Do I need set some envirnment variables or download some tools? >> >>anyone can help me? >> > >Have you carefully followed http://www.mozilla.org/build/win32.html? >You've probably missed one or more requirements listed there. > >John > > > > >>lamb liu wrote: >> >>>this error happened when nmake try to build for target "export" >>>there are a lot of target named "export" in ../mozilla/config/rulus.mak, >>>who knows which one take effective,or what is the procedure it execute? >>>anyone know where can I get detailed information of nmake syntax? >>>thanks in ahead! >>>lambliu wrote: >>> >>>>I try to build mozilla on windows 2k, but the nmake report this error: >>>>/cygdrive/c/lxh/temp/mozilla/string >>>>+++ make: exporting headers @..\..\config\makecopy.exe nsAFlatString.h >>>>nsAlgorit >>>>hm.h nsAPromiseString.h nsAReadableString.h nsAString.h >>>>nsAStringGenerator.h nsA >>>>WritableString.h nsBufferHandle.h nsBufferHandleUtils.h nsCharTraits.h >>>>nsDepende >>>>ntConcatenation.h nsDependentString.h nsDependentSubstring.h >>>>nsFragmentedString. >>>>h nsLiteralString.h nsPrintfCString.h nsPrivateSharableString.h >>>>nsPromiseFlatStr >>>>ing.h nsReadableUtils.h nsSharableString.h nsSharedBufferList.h >>>>nsSlidingString. >>>>h nsStringDefines.h nsStringFragment.h nsStringFwd.h nsStringIterator.h >>>>nsString >>>>IteratorUtils.h nsStringTraits.h nsXPIDLString.h ..\..\dist\include >>>>+++ make: export in mhy c:\lxh\temp\mozilla\ lllllllllsrc public src >>>>obsolete >>>>/cygdrive/c/lxh/temp/ >>>>mozilla >>>>NMAKE : fatal error U1077: 'cd' : return code '0x1' >>>>Stop. >>>>NMAKE : fatal error U1077: '"C:\2kprograms\Microsoft Visual >>>>Studio\VC98\bin\NMAK >>>>E.EXE"' : return code '0x2' >>>>Stop. >>>>NMAKE : fatal error U1077: '"C:\2kprograms\Microsoft Visual >>>>Studio\VC98\bin\NMAK >>>>E.EXE"' : return code '0x2' >>>>Stop. >>>>NMAKE : fatal error U1077: '"C:\2kprograms\Microsoft Visual >>>>Studio\VC98\bin\NMAK >>>>E.EXE"' : return code '0x2' >>>>Stop. >>>>all the directory nmake try to cd in exist, this error still exist even >>>>after I modified corresponding makefile.win >>>>and remove the directory names deriving errors ( the subsequent >>>>directory trigger same error) >>>>so it looks like some buffer error happened and windows can not cd to >>>>some directory af >>>>ter executed a lot of >>>>commands, who can help me? >>>> >
