logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owens, Brad" <brad.ow...@wachovia.com>
Subject RE: can anyone build log4cxx HEAD in cygwin?
Date Thu, 01 Dec 2005 20:30:04 GMT
I just got further along using the "-Dhas.wchar_t=0" option, but build is
now failing over the xml code:

$ ant -Dos.family=cygwin -Dhas.wchar_t=0 build
Buildfile: build.xml

os-detect:

win-init:

mac-init:

unix-init:

init:

build-apr:

get-apr-src:

untar-apr-src:

os-detect:

win-init:

unix-init:

init:

configure-check:

unix-configure:

win-configure:

configure:

build:
       [cc] Starting dependency analysis for 67 files.
       [cc] 67 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.

build-aprutil:

get-aprutil-src:

untar-aprutil-src:

os-detect:

win-init:

unix-init:

init:

configure-check:

unix-configure:

win-configure:

configure:

build:
       [cc] Starting dependency analysis for 46 files.
       [cc] 46 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.

config-check:

unix-configure:

win-configure:

configure:
     [echo] Configuring with has.wchar_t=0
     [echo] Configuring with logchar_type=utf-8

build:
       [cc] 143 total files to be compiled.
       [cc] In file included from
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.c
pp:20:
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:2
7:25: libxml/tree.h: No such file or directory
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:3
9:2: #error libxml include file found where libxml2 was expected
       [cc] In file included from
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.c
pp:20:
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:5
7: error: expected `)' before "node"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:6
6: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:8
6: error: expected `)' before "document"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:9
9: error: `xmlDocPtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
19: error: expected `)' before "element"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
29: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
46: error: expected `)' before "firstChild"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
52: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
53: error: `xmlNodePtr' does not name a type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:35:
error: expected
 `)' before "node"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:35:
error: expected
 `,' or `;' before "node"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMNodeListPtr
log4cxx::helpers::GnomeXMLDOMNode::getChildN
odes()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:42:
error: `node' u
ndeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:42:
error: (Each un
declared identifier is reported only once for each function it appears in.)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMDocumentPtr
log4cxx::helpers::GnomeXMLDOMNode::getOwnerD
ocument()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:48:
error: `node' u
ndeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: At
global scope:
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:54:
error: expected
 `)' before "document"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:54:
error: expected
 `,' or `;' before "document"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
constructor `lo
g4cxx::helpers::GnomeXMLDOMDocument::GnomeXMLDOMDocument()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:60:
error: class `l
og4cxx::helpers::GnomeXMLDOMDocument' does not have any field named
`document'
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
destructor `vir
tual log4cxx::helpers::GnomeXMLDOMDocument::~GnomeXMLDOMDocument()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:68:
error: `::xmlFr
eeDoc' has not been declared
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:68:
error: `documen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMNodeListPtr
log4cxx::helpers::GnomeXMLDOMDocument::getCh
ildNodes()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:74:
error: `documen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:75:
error: `::xmlDo
cGetRootElement' has not been declared
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual void log4cxx::helpers::GnomeXMLDOMDocument::load(const
log4cxx::File&)':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:85:
error: `documen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:89:
error: `::xmlFr
eeDoc' has not been declared
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:96:
error: `::xmlPa
rseFile' has not been declared
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMElementPtr
log4cxx::helpers::GnomeXMLDOMDocument::getDoc
umentElement()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:111:
error: `docume
nt' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:112:
error: `xmlNod
ePtr' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:112:
error: expecte
d `;' before "element"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:113:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMElementPtr
log4cxx::helpers::GnomeXMLDOMDocument::getEle
mentById(const log4cxx::LogString&, const log4cxx::LogString&)':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:119:
error: `docume
nt' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:120:
error: `xmlNod
ePtr' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:120:
error: expecte
d `;' before "node"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:128:
error: `node'
undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:131:
error: `XML_EL
EMENT_NODE' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:134:
error: ISO C++
 forbids declaration of `type name' with no type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:134:
error: ISO C++
 forbids declaration of `type name' with no type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:133:
error: expecte
d primary-expression before "char"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:133:
error: expecte
d `)' before "char"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: At
global scope:
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:160:
error: expecte
d `)' before "element"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:160:
error: expecte
d `,' or `;' before "element"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMNodeListPtr
log4cxx::helpers::GnomeXMLDOMElement::getChi
ldNodes()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:167:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMDocumentPtr
log4cxx::helpers::GnomeXMLDOMElement::getOwn
erDocument()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:173:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::LogString
log4cxx::helpers::GnomeXMLDOMElement::getTagName()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:179:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::LogString
log4cxx::helpers::GnomeXMLDOMElement::getAttribute(const log4
cxx::LogString&)':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:187:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:191:
error: ISO C++
 forbids declaration of `type name' with no type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:191:
error: ISO C++
 forbids declaration of `type name' with no type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:190:
error: expecte
d primary-expression before "char"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:190:
error: expecte
d `)' before "char"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: At
global scope:
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:200:
error: expecte
d `)' before "firstChild"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:200:
error: expecte
d `,' or `;' before "firstChild"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual int log4cxx::helpers::GnomeXMLDOMNodeList::getLength()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:207:
error: `xmlNod
ePtr' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:207:
error: expecte
d `;' before "child"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:209:
error: `child'
 undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMNodePtr
log4cxx::helpers::GnomeXMLDOMNodeList::item(int)
':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:220:
error: `xmlNod
ePtr' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:220:
error: expecte
d `;' before "child"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:224:
error: `child'
 undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:224:
error: `curren
tChild' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:228:
error: `firstC
hild' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:242:
error: `XML_EL
EMENT_NODE' undeclared (first use this function)
       [cc] In file included from
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\domconfigu
rator.cpp:24:
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:2
7:25: libxml/tree.h: No such file or directory
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:3
9:2: #error libxml include file found where libxml2 was expected
       [cc] In file included from
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\domconfigu
rator.cpp:24:
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:5
7: error: expected `)' before "node"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:6
6: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:8
6: error: expected `)' before "document"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:9
9: error: `xmlDocPtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
19: error: expected `)' before "element"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
29: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
46: error: expected `)' before "firstChild"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
52: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
53: error: `xmlNodePtr' does not name a type

BUILD FAILED
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\build.xml:654: gcc failed with
return code 1

Total time: 2 minutes 19 seconds

-----Original Message-----
From: Andreas Fester [mailto:afester@apache.org] 
Sent: Thursday, December 01, 2005 3:27 PM
To: Log4CXX Dev
Cc: Log4CXX User; Owens, Brad
Subject: Re: can anyone build log4cxx HEAD in cygwin?

> The config and build went fine until the build-apr target, which failed
> due to the "with-apr" variable having the incorrect value.  I tweaked
> line 496 of build.xml to fix the "with-apr" variable to be
> "../apr-${apr.version}/apr-1-config" instead of
> "../apr-${apr.version}/apr--config".

I just reviewed this. Its indeed a cygwin specific part, so I think
this could simply be committed together with my latest build patches.
Please vote ;-)

Regards,

	Andreas

Mime
View raw message