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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 3.2.3
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

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

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

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: