[ 
http://issues.apache.org/jira/browse/XALANC-467?page=comments#action_12320483 ] 

sdettrick commented on XALANC-467:
----------------------------------


Due to this issue I am unable to build Xalan-C_1_9_0 on linux Fedora core 4 
with gcc 4.0.1.
So I would call the problem "catastropic".

I built xerces 2.6.0 with no errors using:
./runConfigure -plinux -cgcc -xg++ -minmem -rpthread
gmake

But then trying to build xalan-c in a similar way...
./runConfigure -plinux -cgcc -xg++
gmake
... always fails with errors about a private error function:

g++ -O2 -DNDEBUG     -fno-elide-constructors -Wall -fPIC -DLINUX -D_REENTRANT 
-DXALAN_INMEM_MSG_LOADER -c -I/home/sean/code/xml-xalan/c/src 
-I/home/sean/code/xml-xalan/c/include -I../../nls/include 
-I/home/sean/code/xerces-c-src_2_6_0/src/ 
-I/home/sean/code/xerces-c-src_2_6_0/include/xercesc 
-I/home/sean/code/xerces-c-src_2_6_0/include/  -o ../../obj/XPathEvaluator.o 
/home/sean/code/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp
/home/sean/code/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp: In member 
function 'xalanc_1_9::XObjectPtr 
xalanc_1_9::XPathEvaluator::evaluate(xalanc_1_9::DOMSupport&, 
xalanc_1_9::XalanNode*, const xalanc_1_9::XalanDOMChar*, const 
xalanc_1_9::XalanElement*)':
/home/sean/code/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89: 
error: 
'xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const 
xalanc_1_9::ElementPrefixResolverProxy&)' is private
/home/sean/code/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:279: error: 
within this context
/home/sean/code/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp: In member 
function 'xalanc_1_9::XObjectPtr 
xalanc_1_9::XPathEvaluator::evaluate(xalanc_1_9::DOMSupport&, 
xalanc_1_9::XalanNode*, const xalanc_1_9::XPath&, const 
xalanc_1_9::XalanElement*)':
/home/sean/code/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89: 
error: 
'xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const 
xalanc_1_9::ElementPrefixResolverProxy&)' is private
/home/sean/code/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:299: error: 
within this context
/home/sean/code/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp: In member 
function 'xalanc_1_9::XPath* xalanc_1_9::XPathEvaluator::createXPath(const 
xalanc_1_9::XalanDOMChar*)':
/home/sean/code/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89: 
error: 
'xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const 
xalanc_1_9::ElementPrefixResolverProxy&)' is private
/home/sean/code/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:348: error: 
within this context
/home/sean/code/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp: In member 
function 'xalanc_1_9::XPath* xalanc_1_9::XPathEvaluator::createXPath(const 
xalanc_1_9::XalanDOMChar*, xalanc_1_9::DOMSupport&, const 
xalanc_1_9::XalanElement*)':
/home/sean/code/xml-xalan/c/src/xalanc/XPath/ElementPrefixResolverProxy.hpp:89: 
error: 
'xalanc_1_9::ElementPrefixResolverProxy::ElementPrefixResolverProxy(const 
xalanc_1_9::ElementPrefixResolverProxy&)' is private
/home/sean/code/xml-xalan/c/src/xalanc/XPath/XPathEvaluator.cpp:361: error: 
within this context
gmake[1]: *** [../../obj/XPathEvaluator.o] Error 1
gmake[1]: Leaving directory `/home/sean/code/xml-xalan/c/src/xalanc'
gmake: *** [all] Error 2


> Possibility to install local extension functions in XPathEvaluator
> ------------------------------------------------------------------
>
>          Key: XALANC-467
>          URL: http://issues.apache.org/jira/browse/XALANC-467
>      Project: XalanC
>         Type: Improvement
>   Components: XPathC
>  Environment: All
>     Reporter: Erik Rydgren
>     Priority: Minor
>  Attachments: Changes XPathEvaluator.cpp, Changes XPathEvaluator.h, 
> XPathEvaluator.cpp, XPathEvaluator.hpp
>
> There is no way to use local extension function when evaluating XPath through 
> XPathEvaluator.
> David N Bertoni wrote:
> It sounds like we need to add a public member function to XPathEvaluator to 
> install local extension functions.  Can you create a Jira enhancement 
> request, so we don't loose track if it?
> Thanks!
> Dave

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to