On Jan 31, 2023, at 01:21, Kenneth Wolcott wrote:
> 
>  I get a different error now when trying to install xemacs:
> 
> *** PANIC *** Configure tests are not working - compiler is broken.
> *** PANIC *** Please examine config.log for compilation errors.

The preceding line was:

:info:configure checking size of short... 0

The config.log says that test failed because:

configure:4511: checking size of short
configure:4525: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 
-I/opt/local/include 
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  
-I/opt/local/include      -L/opt/local/lib -Wl,-headerpad_max_install_names 
-Wl,-no_pie 
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -Xlinker 
-arch -Xlinker arm64  -L/opt/local/lib     conftest.c           1>&5
configure:4519:11: error: implicitly declaring library function 'exit' with 
type 'void (int) __attribute__((noreturn))' 
[-Werror,-Wimplicit-function-declaration]
  if (!f) exit(1);
          ^
configure:4519:11: note: include the header <stdlib.h> or explicitly provide a 
declaration for 'exit'

This is https://trac.macports.org/ticket/61383.

Reply via email to