Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22810

fatal error: 'js-config.h' file not found

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

      scons CCFLAGS='-arch i386' LINKFLAGS='-arch i386' TARGET_ARCH=i386

      Show
      scons CCFLAGS='-arch i386' LINKFLAGS='-arch i386' TARGET_ARCH=i386

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

      3.0.8 built fine for i386 and x86_64. 3.2.3 builds fine for x86_64 but fails as follows for i386:

      In file included from <built-in>:349:
      <command line>:10:10: fatal error: 'js-config.h' file not found
      #include "js-config.h"
               ^
      1 error generated.
      

      Indeed, the file src/third_party/mozjs-38/platform/x86_64/osx/include/js-config.h exists, while the entire directory src/third_party/mozjs-38/platform/i386/osx is missing.

      The release notes for 3.2 say "Starting in 3.2, 32-bit binaries are deprecated and will be unavailable in future releases." This implies 32-bit builds should still be possible with 3.2.x.

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

              Created:
              Updated:
              Resolved: