- Linux configuration gnu error
- ./configure -> Invalid configuration `x86_64-unknown-linux-gnu’ #1
- Comments
- livibetter commented Feb 17, 2016
- hananeam1991 commented Apr 9, 2019
- kapilgarg1996 commented May 3, 2021
- how to fix configure: error: C compiler cannot create executables
- 5 Answers 5
- Error «gnu/stubs-32.h: No such file or directory» while compiling Nachos source code
- 11 Answers 11
Linux configuration gnu error
Установил на новый компьютер операционную систему Fedora Core 6 x64 bit. При попытке установить некоторые программы из исходных кодов возникают ошибки при конфигурировании Make файла. Сначала запуск ./configure для программы trafshow завершился так:
root@mail trafshow-5.2.3]# ./configure
checking build system type. Invalid configuration `x86_64-pc-linux-gnuoldld’: machine `x86_64-pc’ not recognized
configure: error: /bin/sh ./config.sub x86_64-pc-linux-gnuoldld failed
Затем, при попытке установить vqadmin произошло примерно то же самое:
[root@mail vqadmin-2.3.6]# ./configure
checking for a BSD-compatible install. /usr/bin/install -c
checking whether build environment is sane. yes
/downloads/qmailrocks/vqadmin-2.3.6/missing: Unknown `—run’ option
Try `/downloads/qmailrocks/vqadmin-2.3.6/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-linuxoldld’: machine `x86_64-unknown’ not recognized
configure: error: /bin/sh ./config.sub x86_64-unknown-linuxoldld failed
Кто знает, почему это происходит? Помогите разобраться, как это лечить!
Оглавление |
|
Сообщения по теме | [Сортировка по времени | RSS] |
1. «./configure в некоторых программах завершается с ошибкой» | + / – | |
Сообщение от vic | ||
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору |
2. «./configure в некоторых программах завершается с ошибкой» | + / – | |
Сообщение от andrystepa | ||
А установка 32 битной версии ОС может исправить ситуацию? Или она на железо ругается? | ||
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору |
3. «./configure в некоторых программах завершается с ошибкой» | + / – | |
Сообщение от vic | ||
Да какое-там железо)) На железо только драйверы могут ругаться, остальной софт абстрагирован от железа системой. 32-битка может поможет. А может другие грабли вылезут. Если есть виртуальная машина — проверить за 5 мин можно. А так переставлять придется. Или искать портированную версию если она существует (авторы этих утилиты должны были позаботится об этом, если не забросили их). p.s. trafshow на FC5 32bit x86 конфигурится и компилится без проблем. Проверил=) | ||
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору |
4. «./configure в некоторых программах завершается с ошибкой» | + / – | |
Сообщение от andrystepa | ||
| ||
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору |
6. «./configure в некоторых программах завершается с ошибкой» | + / – | |
Сообщение от Sect0R | ||
Сделай | ||
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору |
5. «./configure в некоторых программах завершается с ошибкой» | + / – | |
Сообщение от GloryS | ||
| ||
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору |
7. «./configure в некоторых программах завершается с ошибкой» | + / – | |
Сообщение от mist | ||
Источник ./configure -> Invalid configuration `x86_64-unknown-linux-gnu’ #1Commentslivibetter commented Feb 17, 2016This is the first time I saw this error: I tried autoreconf and got these warning, don’t think it’s related and didn’t work, still got the same message above afterwards: It worked. After that, I checked the config.guess and config.sub , they were last copyright 1999. And I just realized freesweep was from that time, too. Time to update the last century build tool? The text was updated successfully, but these errors were encountered: hananeam1991 commented Apr 9, 2019/Bureau/PACK-ALIZE/alize-core-master$ make kapilgarg1996 commented May 3, 2021@livibetter I faced this issue while installing cgicc and the same solution worked. But i didn’t understand why old files were causing this issue ? Источник how to fix configure: error: C compiler cannot create executablesand this is the config.log my system is ubuntu 14.04 and the system details say the os is 32 bit. any help would be great as the compiler fails on anytime I try to use it, not just with this install. 5 Answers 5My guess would be that you have the basic C compiler installed, but not the headers for the standard library. Try: [Edit: this produces similar symptoms, but wasn’t the case here. The CFLAGS answers appear to be correct.] From the config.log : The option is -O3 with the letter O , not the number 0 (zero). So, you should run, as given in the README: Looks like your CFLAGS has a zero instead of capital O. That is invalid, and causing the compilation to fail. You can fix it, but really, look for a later version of the package which has been fixed. I was having this exact same problem trying to install tivodecode on a base build of Linux Mint 17.3. I tried the: command but with no effect. So I tried: to install the latest C headers. I tried the ./configure command again with no variables and all went well. The make and make install commands also completed successfully. My recommendation is to make sure the latest C headers are installed and then run your ./configure command. Источник Error «gnu/stubs-32.h: No such file or directory» while compiling Nachos source codeI am trying to install Nachos on my laptop and I have Ubuntu 11.04 on the laptop. The code is in C and so to build it I assume I will need cross compiler. This is where my problem is. I downloaded the source code of the MIPS cross compiler using the command and I unzipped it using This is okay, but when I try to build the source code of the nachos os, using make, I get this error — I am trying to follow the instructions given over here — http://mll.csie.ntu.edu.tw/course/os_f08/217.htm and everything is working fine except when I try to use make. 11 Answers 11You’re missing the 32 bit libc dev package: On Ubuntu it’s called libc6-dev-i386 — do sudo apt-get install libc6-dev-i386 . See below for extra instructions for Ubuntu 12.04. On Red Hat distros, the package name is glibc-devel.i686 (Thanks to David Gardner’s comment). On CentOS 5.8, the package name is glibc-devel.i386 (Thanks to JimKleck’s comment). On CentOS 6 / 7, the package name is glibc-devel.i686 . On SLES it’s called glibc-devel-32bit — do zypper in glibc-devel-32bit . On Gentoo it’s called sys-libs/glibc — do emerge -1a sys-libs/gcc [source] (Note : One may use equery to confirm this is correct; do equery belongs belongs /usr/include/gnu/stubs-32.h ) On ArchLinux, the package name is lib32-glibc — do pacman -S lib32-glibc . Are you using Ubuntu 12.04? There is a known problem that puts the files in a non standard location. You’ll also need to do: somewhere before you build (say in your .bashrc). If you are also compiling C++ code, you will also need the 32 bit stdc++ library. If you see this warning: On Ubuntu you will need to do sudo apt-get install g++-multilib On CentOS 5 you will need to do yum install libstdc++-devel.i386 On CentOS 6 you will need to do yum install libstdc++-devel.i686 Please feel free to edit in the packages for other systems. Источник |