[MacPorts] #54124: guile @2.2.2 won't build on PPC Leopard, Mac OS X 10.5.8, because is uses non-existing /lib/cpp as C preprocessor
MacPorts
noreply at macports.org
Sun May 7 19:41:10 UTC 2017
#54124: guile @2.2.2 won't build on PPC Leopard, Mac OS X 10.5.8, because is uses
non-existing /lib/cpp as C preprocessor
------------------------+---------------------------------------
Reporter: ballapete | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords: tiger leopard snowleopard
Port: guile |
------------------------+---------------------------------------
Comment (by ballapete):
Replying to [comment:3 ryandesign]:
> That reason appears to be that this build system is trying to make
Apple's gcc 4.2.1 use C11, which it does not support. If this build system
requires C11 support, old compilers will have to be blacklisted.
Indeed! From `config.log` (on Snow Leopard):
{{{
configure:6180: checking how to enable C11 support
configure:6183: result: -std=gnu11
configure:6197: checking how to run the C preprocessor
configure:6228: /usr/bin/llvm-gcc-4.2 -std=gnu11 -E -I/opt/local/include
conftest.c
cc1: error: unrecognized command line option "-std=gnu11"
configure:6228: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU Guile"
| #define PACKAGE_TARNAME "guile"
| #define PACKAGE_VERSION "2.2.2"
| #define PACKAGE_STRING "GNU Guile 2.2.2"
| #define PACKAGE_BUGREPORT "bug-guile at gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/guile/"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6228: /usr/bin/llvm-gcc-4.2 -std=gnu11 -E -I/opt/local/include
conftest.c
cc1: error: unrecognized command line option "-std=gnu11"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54124#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list