Re: compiling mozilla xforms (CVS tag FORMS_20040722_BRANCH)

Aaron Reed <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
snpe wrote:
> I have this error in extensions/xforms:
> c++ -o nsXFormsElementFactory.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"
> -DHAVE_DEPENDENT_LIBS  -I../../dist/include/xpcom
> -I../../dist/include/string -I../../dist/include/content
> -I../../dist/include/dom -I../../dist/include/widget
> -I../../dist/include/necko -I../../dist/include/websrvcs
> -I../../dist/include/xforms -I../../dist/include
> -I/u1/mozillaxforms/mozilla/mozilla/dist/include/nspr     -I.
> -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti
> -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
> -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
> -Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED
> -O  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h
> -Wp,-MD,.deps/nsXFormsElementFactory.pp nsXFormsElementFactory.cpp
> In file included from nsXFormsElementFactory.cpp:39:
> nsXFormsElementFactory.h:39:34: nsIXTFElementFactory.h: No such file or
> directory
> In file included from nsXFormsElementFactory.cpp:39:
> nsXFormsElementFactory.h:45: parse error before `{' token
> In file included from nsXFormsElementFactory.cpp:40:
> nsXFormsModelElement.h:39:34: nsIXTFGenericElement.h: No such file or
> directory
> In file included from nsXFormsElementFactory.cpp:40:
> nsXFormsModelElement.h:52: parse error before `,' token
> nsXFormsModelElement.h:60: virtual outside class declaration
> nsXFormsModelElement.h:60: virtual outside class declaration
> nsXFormsModelElement.h:60: parse error before `protected'
> nsXFormsModelElement.h:63: virtual outside class declaration
> nsXFormsModelElement.h:63: virtual outside class declaration
> nsXFormsModelElement.h:63: virtual outside class declaration
> nsXFormsModelElement.h:63: virtual outside class declaration
> nsXFormsModelElement.h:64: virtual outside class declaration
> nsXFormsModelElement.h:64: virtual outside class declaration
> nsXFormsModelElement.h:65: virtual outside class declaration
> nsXFormsModelElement.h:68: virtual outside class declaration
> nsXFormsModelElement.h:69: virtual outside class declaration
> nsXFormsModelElement.h:70: virtual outside class declaration
> nsXFormsModelElement.h:71: virtual outside class declaration
> ....
> nsXnsIXTFGenericElement.h doesn't exists - What is wrong ?
> 
> regards
> 
> 
Could you please verify that you have:
ac_add_options --enable-xtf

in your .mozconfig?

I checked out and built yesterday fine.  I am currently building again 
to see if I get your error.

Thanks,
--Aaron
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.