configure:5529: checking how to run the C preprocessor configure:5560: clang -E conftest.c configure:5560: $? = 0 configure:5574: clang -E conftest.c conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found #include <ac_nonexistent.h> ^~~~~~~~~~~~~~~~~~ 1 error generated. configure:5574: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Sage"
> On May 12, 2020, at 10:55 AM, Dima Pasechnik <dimp...@gmail.com> wrote: > > Could you post config.log ? > Apparently clang failed a test.... > > > On Tue, 12 May 2020, 18:19 Robert Baertsch, <robert.baert...@skytran.com > <mailto:robert.baert...@skytran.com>> wrote: > Hmm. my gcc / clang version is 11.0 is newer. I wonder why it is trying to > install gcc? > > $ gcc --version > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 > Apple clang version 11.0.0 (clang-1100.0.33.17) > Target: x86_64-apple-darwin18.7.0 > Thread model: posix > InstalledDir: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > > > On May 11, 2020, at 2:17 PM, 'Justin C. Walker' via sage-devel > > <sage-devel@googlegroups.com <mailto:sage-devel@googlegroups.com>> wrote: > > > > > > > >> On May 11, 2020, at 12:08 , Robert Baertsch <robert.baert...@skytran.com > >> <mailto:robert.baert...@skytran.com>> wrote: > >> > >> [gcc-7.4.0] In file included from > >> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/sysctl.h:83:0, > >> [gcc-7.4.0] from ../../src/gcc/config/darwin-driver.c:30: > >> [gcc-7.4.0] > >> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/ucred.h:94:2: > >> error: '_Atomic' does not name a type > >> [gcc-7.4.0] _Atomic u_long cr_ref; /* reference count */ > >> [gcc-7.4.0] ^~~~~~~ > >> [gcc-7.4.0] make[6]: *** [darwin-driver.o] Error 1 > >> [gcc-7.4.0] make[5]: *** [all-stage2-gcc] Error 2 > >> [gcc-7.4.0] make[4]: *** [stage2-bubble] Error 2 > >> [gcc-7.4.0] make[3]: *** [all] Error 2 > > > > FWIW, I built sage 8.9 on 10.14.6 without problems, and sage’s gcc was not > > built. I have Xcode 10.2.1 installed, and gcc tells me that it’s > > > > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > > --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1 > > Apple LLVM version 10.0.1 (clang-1001.0.46.4) > > Target: x86_64-apple-darwin18.7.0 > > Thread model: posix > > InstalledDir: > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > > > > The fact that the installation is trying to build gcc means that either you > > don’t have it installed, or it’s way out of date. I think gcc 7.4 is way > > old for macOS 10.14. > > > > You could try installing the command-line tools for Xcode 10.2.1 and see > > what happens. > > > > HTH > > > > Justin > > > > -- > > Justin C. Walker, Curmudgeon-At-Large > > Institute for the Absorption of Federal Funds > > -------- > > If you're not confused, > > You're not paying attention > > -------- > > > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to sage-devel+unsubscr...@googlegroups.com > > <mailto:sage-devel%2bunsubscr...@googlegroups.com>. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/sage-devel/7A7D01F2-FB68-48B8-99C2-62D261603A87%40mac.com > > > > <https://groups.google.com/d/msgid/sage-devel/7A7D01F2-FB68-48B8-99C2-62D261603A87%40mac.com>. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com > <mailto:sage-devel%2bunsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/948660E5-F515-4E9C-B435-F63FB2C84F38%40skytran.com > > <https://groups.google.com/d/msgid/sage-devel/948660E5-F515-4E9C-B435-F63FB2C84F38%40skytran.com>. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com > <mailto:sage-devel+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CAAWYfq2q%3D78YV3KnDsJc5Y_%2Bgh2s%2BU%3DkTDRwtaqacEF3AwrHnQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/sage-devel/CAAWYfq2q%3D78YV3KnDsJc5Y_%2Bgh2s%2BU%3DkTDRwtaqacEF3AwrHnQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/D0D10492-4DFA-474B-B878-5C2758C5BECC%40skytran.com.