Callum Prentice wrote:
I kicked off a Windows build that's been sitting on my machine for weeks
it fails when trying to compile nsDependentString.cpp with the following
error:
"c:\mozilla\objdir-opt-xulrunner-small\dist\include\string\nsString.h(55)
: fatal error C1083: Cannot open include file: '': No such file or
directory"
That line (this is the same file/line I believe, just in it's original
location:
http://lxr.mozilla.org/mozilla1.8/source/xpcom/string/public/nsString.h#55)
fails because NEW_H is undefined - it looks like NEW_H ought to be set
to '<new>' or '<new.h>' at some point in the build.
Nothing relevant has changed on my machine from the last time I built
successfully from scratch.
Has anyone seen this before and knows what's going on - before I start
to dig into the build logs and see if I can see why NEW_H isn't being
set properly?
I'm guessing you're using Cygwin + MSVC? Well I had the same problem
recently (no idea what actually triggered it, mind), but there are two
solutions I know about:
- I've seen it suggested that reinstalling Cygwin in text-mode for files
has fixed this for some people.
- I did the following:
- find all configure files, and look for "(set)"
- replace with "(set | dos2unix)"
- make sure dos2unix is installed (I think it is part of basefiles
for Cygwin, so should be)
- remove any config.cache files, as this will have been "infected" by
the failed build
- start building as normal
I'll probably get lynched for the second solution, but hey - I didn't
change anything and the build stopped building, and that is what fixed it.
HTH
--
James Ross <[EMAIL PROTECTED]>
ChatZilla Developer
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding