Fix "checking build system type... Invalid
configuration `x86_64-unknown-linux': machine `x86_64-unknown' not
recognized" on ./configure
I'm trying to compile vqadmin on x86_amd64 (64 bit Debian) and I
got error during
./configure . The error I got is as
follows:
debian:~/vqadmin-2.3.7# ./configure
--enable-cgibindir=/var/www/mail/cgi-bin
-enable-htmldir=/var/www/mail/ --enable-isoqlog=y
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/downloads/vqadmin-2.3.7/missing: Unknown `--run' option
Try `/downloads/vqadmin-2.3.7/missing --help' for more
information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... Invalid configuration
`x86_64-unknown-linux': machine `x86_64-unknown' not
recognized
So my compile failed with:
checking build system type... Invalid configuration
`x86_64-unknown-linux': machine `x86_64-unknown' not
recognized
Thanksfully, there is a tiny script which originally is part of the
CVS project. I've modified a bit the script to remove few lines of
code which are not necessery. The
`x86_64-unknown-linux':
machine `x86_64-unknown' not recognized fix script
fix_x86_64-unknown-linux-gnu.sh
is here
To fix up the broken configure all required is:
debian:~/vqadmin-2.3.7# sh
fix_x86_64-unknown-linux-gnu.sh
Next on I could compile normally again
vqadmin just
fine.