Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1608

Building Xerces-c on Mac OS X

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0
    • Build
    • None
    • Macintosh powerpc Mac OS X
      Darwin Kernel Version 8.6.0
      Compilers- gcc and g++

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            ganeshkumar Ganesh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: