compilation problem caused by boost dependency

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.5
    • Component/s: Build
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      hi,
      The binary packet of mongodb from the website won't run in my linux and it says as below:
      mongo: /lib64/libgcc_s.so.1: version `GCC_4.0.0' not found (required by mongo)
      mongo: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by mongo)
      so I decide to compile mongo myself. An error occured:
      src/mongo/platform/unordered_map.h:52:29: tr1/unordered_map: No such file or directory
      it seems that gcc cannot found the boost header files. but I have set --cpppath param for the scons. I noticed that the path of "unordered_map" is "boost/include/boost/tr1/tr1/unordered_map", and in the source file of mongodb "mongo/platform/unordered_map.h" line 52."#include <tr1/unordered_map>" indicate the path of "unordered_map" is "boost/include/boost/tr1/unordered_map" , so how can i solve the problem?

      Thank you very much.
      Allen

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Allen K
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: