Subject: RE: What does "Machine not recognized" when checking host system
To: 'Frederick Bruckman' <fb@enteract.com>
From: Fischer, Roger <RFischer@PanAmSat.com>
List: tech-pkg
Date: 04/30/1999 13:28:50
On Fri, 30 Apr 1999, Fischer, Roger wrote:

> But I ran ltconfig manually, and it seemed to recognize my system, so I
> don't know why it couldn't find the host system type when I was building
> kdebase.
> 
> :  max# ./ltconfig ltmain.sh
> :  checking host system type... m68k-apple-netbsd1.3.2

What's in "config.log"? That should tell you the last command that
failed, probably an invokation of ltconfig, a shell script? (I'm
guessing.) If you then repeat the command that failed, prefixed with
"bin/sh -x", it should get you even closer to the actual error.


The last command in /work/kdebase-1.1/config.log is
  "configure:1894: checking whether ln -s works"

I think that last command works fine.
It appears (to me) that its the invocation of ltconfig along with the
invalid configuration that appears to cause the error.


max# make | tee make03.log &
[1] 6498 6499
max# >> Checksum OK for kdebase-1.1.tar.bz2.
===>  Extracting for kdebase-1.1
===>  kdebase-1.1 depends on file: /usr/pkg/bin/msgfmt - found
===>  kdebase-1.1 depends on executable: gmake - /usr/pkg/bin/gmake found
===>  kdebase-1.1 depends on file: /usr/pkg/bin/bzcat - found
===>  kdebase-1.1 depends on installed package: Mesa-3.0 - Mesa-3.0  found
===>  kdebase-1.1 depends on installed package: kdelibs-1.1 - kdelibs-1.1
found
===>  kdebase-1.1 depends on installed package: xpm-3.4k - xpm-3.4k  found
>> Checksum OK for kdebase-1.1.tar.bz2.
===>  Extracting for kdebase-1.1
===>  kdebase-1.1 depends on file: /usr/pkg/bin/msgfmt - found
===>  kdebase-1.1 depends on executable: gmake - /usr/pkg/bin/gmake found
===>  kdebase-1.1 depends on file: /usr/pkg/bin/bzcat - found
===>  kdebase-1.1 depends on installed package: Mesa-3.0 - Mesa-3.0  found
===>  kdebase-1.1 depends on installed package: kdelibs-1.1 - kdelibs-1.1
found
===>  kdebase-1.1 depends on installed package: xpm-3.4k - xpm-3.4k  found
===>  Patching for kdebase-1.1
===>  Applying NetBSD patches for kdebase-1.1
===>  Configuring for kdebase-1.1
creating cache ./config.cache
checking host system type... Invalid configuration `--netbsd': machine `-'
not recognized
checking target system type... Invalid configuration `--netbsd': machine `-'
not recognized
checking build system type... Invalid configuration `--netbsd': machine `-'
not recognized
checking for a BSD compatible install... /usr/bin/install -c -o bin -g bin
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for a C-Compiler... cc
checking whether the C compiler (cc -g -I/usr/pkg/include -I/usr/pkg/include
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib
-Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -g -I/usr/pkg/include -I/usr/pkg/include
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib
-Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... cc -E
checking for a C++-Compiler... 
checking for g++... g++
checking whether the C++ compiler (g++ -g -I/usr/pkg/include
-I/usr/pkg/include  -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C++ compiler (g++ -g -I/usr/pkg/include
-I/usr/pkg/include  -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking how to run the C++ preprocessor... g++ -E
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/bin/nm -p
checking command to parse /usr/bin/nm -p output... no
checking whether ln -s works... yes
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.