Subject: Configure of libtool @2.4.6_13 finds a compiler named "no" on Mac OS X 10.4.11

From: Peter Dyballa <[email-masked]>
Date: Sun, 7 Nov 2021 22:25:02 +0100

Hello!

On Mac OS X 10.4.11, Tiger (PPC), configure shows, when trying to install with MacPorts:

checking whether we are using the GNU C++ compiler... yes
checking whether /opt/local/bin/g++-apple-4.2 accepts -g... yes
checking dependency style of /opt/local/bin/g++-apple-4.2... gcc3
checking how to run the C++ preprocessor... /opt/local/bin/g++-apple-4.2 -E
checking for ld used by /opt/local/bin/g++-apple-4.2... /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld
checking if the linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) is GNU ld... no
checking whether the /opt/local/bin/g++-apple-4.2 linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) supports shared libraries... yes
checking for /opt/local/bin/g++-apple-4.2 option to produce PIC... -fno-common -DPIC
checking if /opt/local/bin/g++-apple-4.2 PIC flag -fno-common -DPIC works... yes
checking if /opt/local/bin/g++-apple-4.2 static flag -static works... no
checking if /opt/local/bin/g++-apple-4.2 supports -c -o file.o... yes
checking if /opt/local/bin/g++-apple-4.2 supports -c -o file.o... (cached) yes
checking whether the /opt/local/bin/g++-apple-4.2 linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU Fortran 77 compiler... no
checking whether no accepts -g... no                                        <====
checking whether we are using the GNU Fortran compiler... no
checking whether no accepts -g... no                                        <====
checking for gccgo... no
checking for gcj... no
checking if no supports -fno-rtti -fno-exceptions... (cached) no            <====
checking for no option to produce PIC... -fno-common                        <====
checking if no PIC flag -fno-common works... no                             <====
checking if no static flag -static works... no                              <====
checking if no supports -c -o file.o... no                                  <====
checking if no supports -c -o file.o... (cached) no                         <====
checking whether the no linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) supports shared libraries... yes            <====
checking how to hardcode library paths into programs... immediate
checking for windres... no
checking that generated files are newer than configure... done
configure: creating ./config.status

Config.log contains:

configure:16833: checking whether the /opt/local/bin/g++-apple-4.2 linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) supports shared libraries
configure:16873: result: yes 
configure:17014: checking dynamic linker characteristics
configure:17759: result: darwin8.11.0 dyld
configure:17824: checking how to hardcode library paths into programs
configure:17849: result: immediate
configure:17995: checking for Fortran 77 compiler version
configure:18004: no --version >&5 
./configure: line 1: no: command not found
configure:18015: $? = 127 
configure:18004: no -v >&5 
./configure: line 1: no: command not found
configure:18015: $? = 127 
configure:18004: no -V >&5 
./configure: line 1: no: command not found
configure:18015: $? = 127 
configure:18004: no -qversion >&5 
./configure: line 1: no: command not found
configure:18015: $? = 127 
configure:18024: checking whether we are using the GNU Fortran 77 compiler
configure:18037: no -c -pipe -Os -m32 conftest.F >&5 
./configure: line 1: no: command not found
configure:18037: $? = 127 
configure: failed program was:
|       program main
| #ifndef __GNUC__
|        choke me
| #endif
| 
|       end 
configure:18046: result: no
configure:18052: checking whether no accepts -g
configure:18063: no -c -g conftest.f >&5 
./configure: line 1: no: command not found
configure:18063: $? = 127 
configure: failed program was:
|       program main
| 
|       end 
configure:18071: result: no
configure:21148: checking for Fortran compiler version
configure:21157: no --version >&5 
./configure: line 1: no: command not found
configure:21168: $? = 127
configure:21157: no -v >&5
./configure: line 1: no: command not found
configure:21168: $? = 127
configure:21157: no -V >&5
./configure: line 1: no: command not found
configure:21168: $? = 127
configure:21157: no -qversion >&5
./configure: line 1: no: command not found
configure:21168: $? = 127
configure:21177: checking whether we are using the GNU Fortran compiler
configure:21190: no -c -pipe -Os -m32  conftest.F >&5
./configure: line 1: no: command not found
configure:21190: $? = 127
configure: failed program was:
|       program main
| #ifndef __GNUC__
|        choke me
| #endif
|
|       end
configure:21199: result: no
configure:21205: checking whether no accepts -g
configure:21216: no -c -g  conftest.f >&5
./configure: line 1: no: command not found
configure:21216: $? = 127
configure: failed program was:
|       program main
|
|       end
configure:21224: result: no
configure:24386: checking for gccgo
configure:24416: result: no
configure:26612: checking for gcj
configure:26639: result: no
configure:26746: checking if no supports -fno-rtti -fno-exceptions
configure:26781: result: no
configure:27136: checking for no option to produce PIC
configure:27143: result: -fno-common
configure:27151: checking if no PIC flag -fno-common works
configure:27169: no -c -g -O2 -I/opt/local/include -fno-common conftest.java >&5
./configure: line 1: no: command not found
configure:27173: $? = 127
configure:27186: result: no
configure:27209: checking if no static flag -static works
configure:27237: result: no
configure:27249: checking if no supports -c -o file.o
configure:27270: no -c -g -O2 -I/opt/local/include -o out/conftest2.o conftest.java >&5
./configure: line 1: no: command not found
configure:27274: $? = 127
configure:27296: result: no
configure:27301: checking if no supports -c -o file.o
configure:27348: result: no
configure:27378: checking whether the no linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) supports shared libraries
configure:28598: result: yes
configure:28739: checking how to hardcode library paths into programs
configure:28764: result: immediate
configure:28839: checking for windres
configure:28869: result: no
configure:29169: checking that generated files are newer than configure
configure:29175: result: done
configure:29249: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

--
Greetings

  Pete

Atheism is a non prophet organisation.