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.

Share this on

Download PDFDownload PDF

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

12 Responses to “Fix “checking build system type… Invalid configuration `x86_64-unknown-linux’: machine `x86_64-unknown’ not recognized” on ./configure”

  1. Thibs says:
    Firefox 5.0 Firefox 5.0 Windows XP Windows XP
    Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0

    Hello,

    I’ve try your fix on the same environment and I have following error :

    fix_x86_64-unknown-linux-gnu.sh: 49: aclocal: not found
    fix_x86_64-unknown-linux-gnu.sh: aclocal failed

    Do you have any idea about it ?

    View CommentView Comment
  2. hip0 says:
    Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
    Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

    Hello,

    You will have to install automake.
    (if debian)
    # apt-get install automake
    ( fedora, centos and other redhat derivatives)
    #yum install automake

    Hope this helps 🙂

    Best!
    Georgi

    View CommentView Comment
  3. Thibs says:
    Firefox 5.0 Firefox 5.0 Windows XP Windows XP
    Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0

    Thanks for the tips !

    My other alternative was to use the config.sub file from vpopmail-5.4.33 (just replace config.sub in the root directory of vqadmin-2.3.7)

    View CommentView Comment
  4. Swarnendu Biswas says:
    Firefox 7.0 Firefox 7.0 GNU/Linux x64 GNU/Linux x64
    Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0

    Hi,

    I am facing the following error when executing the script.

    oc/api/Makefile.am:1: CREATE_API_DOCS does not appear in AM_CONDITIONAL
    doc/api/Makefile.am:9: CREATE_API_DOCS does not appear in AM_CONDITIONAL
    doc/api/Makefile.am:39: CREATE_API_DOCS does not appear in AM_CONDITIONAL
    lib/Makefile.am:30: INSTALL_GLIBJ_ZIP does not appear in AM_CONDITIONAL
    lib/Makefile.am:36: BUILD_CLASS_FILES does not appear in AM_CONDITIONAL
    lib/Makefile.am:40: INSTALL_CLASS_FILES does not appear in AM_CONDITIONAL
    lib/Makefile.am:106: REGEN_PARSERS does not appear in AM_CONDITIONAL
    fix_x86_64-unknown-linux-gnu.sh: automake failed

    Any idea how this issue can be resolved?

    View CommentView Comment
  5. Arthur Helfstein Fragoso says:
    Chromium 15.0.874.106 Chromium 15.0.874.106 Ubuntu 11.10 x64 Ubuntu 11.10 x64
    Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Ubuntu/11.10 Chromium/15.0.874.106 Chrome/15.0.874.106 Safari/535.2

    like @Thibs said the file ‘config.sub’ contains the supported CPUs, if it’s an old version, it wont support newer CPUs.

    you can get the latest version of ‘config.sub’ from:
    http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

    just copy the latest version of ‘config.sub’ and replace to the one that’s in the folder of what you are trying to run the ./configure

    good luck to anyone having the same problem 😉

    View CommentView Comment
  6. saza says:
    Firefox 9.0.1 Firefox 9.0.1 Windows XP Windows XP
    Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

    libtoolize –force

    View CommentView Comment
  7. Devraj says:
    Firefox 20.0 Firefox 20.0 Ubuntu x64 Ubuntu x64
    Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0

    I have the following Ubuntu:
    devraj@hpdv2:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 12.04.2 LTS
    Release:    12.04
    Codename:    precise
    devraj@hpdv2:~$
    When i use ./configure , an error occurs, "checking build system type… x86_64-unknown-linux-gnu"
     
    So I used your script  "fix_x86_64-unknown-linux-gnu.s" and get the following:
    devraj@hpdv2:~/sw-xdp/heasoft-6.11/BUILD_DIR$ sh fix_x86_64-unknown-linux-gnu.sh
    autoheader: error: AC_CONFIG_HEADERS not found in configure.in
    fix_x86_64-unknown-linux-gnu.sh: autoheader failed
    devraj@hpdv2:~/sw-xdp/heasoft-6.11/BUILD_DIR$
    Please give some suggestion, as I am not able to install. Thank you very much for the script.

    View CommentView Comment
    • admin says:
      Firefox 3.6.3 Firefox 3.6.3 Windows 7 Windows 7
      Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

      Hi Devraj,

      Something is probably wrong with your autoconf and automake. Check for packages and try to upgrade them and run the script again. Hopefully it would work. Other thing to try is to open files which contain AC_CONFIG_HEADERS and substitute that with AM_CONFIG_HEADERS. To see which files you have it run:
      grep -rli AC_CONFIG_HEADERS *.

      Regards
      Georgi

      View CommentView Comment
  8. George says:
    Google Chrome 22.0.1229.79 Google Chrome 22.0.1229.79 GNU/Linux GNU/Linux
    Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4

    I fixed the issue by executing :  
    ldconfig
     
    and it worked fine!  

    View CommentView Comment
  9. bheemesh says:
    Google Chrome 34.0.1847.131 Google Chrome 34.0.1847.131 Windows 7 Windows 7
    Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36

    # cp /downloads/qmailrocks/vpopmail-5.4.13/config.sub /downloads/qmailrocks/vqadmin-2.3.6/

    this is worked for me, Thanks.

    View CommentView Comment
  10. Shakia Dalecki says:
    Opera 8.50 8.50 Opera 8.50 8.50 Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.50

    A fascinating discussion is worth comment. There's no doubt that that you should write more about this issue, it might not be a taboo matter but generally people do not speak about these issues. To the next! All the best!!

    View CommentView Comment

Leave a Reply

CommentLuv badge