Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7228

Document changes to the build system

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Hello, I'm the maintainer of mongodb in MacPorts, trying to update our port from 3.0.8 to 3.2.3.

      In 3.0.8, we were running scons with --cc=/usr/bin/clang --cxx=/usr/bin/clang++ --c++11 and --libc++. In 3.2.3, the first three arguments do nothing. --c++11 was presumably removed because it was mandatory anyway, and --cc and --cxx are now specified with CC and CXX. But there was nothing in the documentation to tell me this. I did eventually find confirmation about it here:

      https://groups.google.com/forum/m/?fromgroups#!topic/mongodb-dev/cq6bOrKl2Hw

      In 3.0.8, we were also running scons with --cpppath=/opt/local/include and --libpath=/opt/local/lib. This also does nothing in 3.2.3. This must now be specified with CPPPATH and LIBPATH. I found nothing in the documentation about this.

      scons --help does not say anything about these changes.

      In your release notes, change log, wherever, please document changes to your build system. It seems like every time I update to a new version of mongodb, or any software built with scons, I waste hours figuring out how to make things work again. I wish you would switch from scons to a build system that is not so unpredictable, such as autotools, or at least stop changing your build system every version.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            ryandesign Ryan Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 28 weeks, 5 days ago