Building Xerces-c on Mac OS X
-----------------------------

         Key: XERCESC-1608
         URL: http://issues.apache.org/jira/browse/XERCESC-1608
     Project: Xerces-C++
        Type: Test

  Components: Build  
    Versions: 2.6.0    
 Environment: Macintosh powerpc Mac OS X 
Darwin Kernel Version 8.6.0 
Compilers- gcc and g++
    Reporter: Ganesh Kumar


I built xerces-c on Mac OS X using the compilers gcc and g++. I could build the 
libraries successfully.
But when I tried to build the tests I got the following error:
test -d 
/Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/bin
 || mkdir 
/Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/bin
Building DOMMemTest
make -C DOM/DOMMemTest
mkdir -p 
/Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/tests/DOM/DOMMemTest
c++ -DMACOSX  -L/usr/lib -L/usr/local/lib 
/Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/tests/DOM/DOMMemTest/DOMMemTest.o
 -o 
/Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/bin/DOMMemTest
 
-L/Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/lib
 -lxerces-c
/usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist
/usr/bin/ld: Undefined symbols:
typeinfo for xercesc_2_6::DOMException
typeinfo for xercesc_2_6::XMLException
collect2: ld returned 1 exit status
make[1]: *** 
[/Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/bin/DOMMemTest]
 Error 1
make: *** [dommemtest] Error 2

Unless I build the tests and samples, I cannot be sure that I have built 
xerces-c successfully. Has anyone built xerces-c libraries as well as tests and 
samples successfully on Mac OS X

Thanks
Ganesh

-- 
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