» Poradna » Programy

Configure: error: C compiler cannot create executables

avatar
 | 

Ahoj Lidicky, potreboval bych trosku helpnout, nevim si totiz rady root@Petr:/usr/src/mc-4.6.1#root@Petr:/usr/src/mc-4.6.1# ./configurechecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for gawk... nochecking for mawk... mawkchecking whether make sets $(MAKE)... nochecking whether to enable maintainer-specific portions of Makefiles... nochecking build system type... i686-pc-linuxlibc1checking host system type... i686-pc-linuxlibc1checking for  style  of include used by make... nonechecking for gcc... gccchecking for C compiler default output file name... configure: error: C compiler cannot create executablesSee `config.log' for more details.root@Petr:/usr/src/mc-4.6.1#nevite co je spatne ? ...hledal sem pres googla, ale nic co bych nejak pochopil Predem diky

Mohlo by vás také zajímat

Odpovědi na otázku

 | 

Nejspis vubec nemas gcc nainstalovany.

Souhlasím  |  Nesouhlasím  |  Odpovědět
avatar
 | 

gcc mam, vzdyt je to v te radce napsany viz.: checking for gcc... gcc(pro overeni sem dava apt-get install gcc)

Souhlasím  |  Nesouhlasím  |  Odpovědět
 | 

Dobra. A binutils mas? Co je v tom config.log?

Souhlasím  |  Nesouhlasím  |  Odpovědět
avatar
 | 

podle tohoto textu mam :)root@Petr:/home/djkure# apt-get install binutilsČtu seznamy balíků... HotovoVytvářím strom závislostí... Hotovobinutils je již nejnovější verze.0 aktualizováno, 0 nově instalováno, 0 k odstranění a 0 neaktualizováno.root@Petr:/home/djkure#

Souhlasím  |  Nesouhlasím  |  Odpovědět
 | 

Vystav nekde ten config.log.

Souhlasím  |  Nesouhlasím  |  Odpovědět
avatar
 | 

This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by configure, which wasgenerated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- #### Platform. #### --------- ##hostname = Petruname -m = i686uname -r = 2.6.12-10-386uname -s = Linuxuname -v = #1 Mon Jan 16 17:18:08 UTC 2006/usr/bin/uname -p = unknown/bin/uname -X = unknown/bin/arch = i686/usr/bin/arch -k = unknown/usr/convex/getsysinfo = unknownhostinfo = unknown/bin/machine = unknown/usr/bin/oslevel = unknown/bin/universe = unknownPATH: /usr/local/sbinPATH: /usr/local/binPATH: /usr/sbinPATH: /usr/binPATH: /sbinPATH: /binPATH: /usr/bin/X11## ----------- #### Core tests. #### ----------- ##configure:1395: checking for a BSD-compatible installconfigure:1450: result: /usr/bin/install -cconfigure:1461: checking whether build environment is saneconfigure:1504: result: yesconfigure:1561: checking for gawkconfigure:1590: result: noconfigure:1561: checking for mawkconfigure:1577: found /usr/bin/mawkconfigure:1587: result: mawkconfigure:1597: checking whether make sets $(MAKE)configure:1621: result: noconfigure:1784: checking whether to enable maintainer-specific portions of Makefilesconfigure:1793: result: noconfigure:1815: checking build system typeconfigure:1833: result: i686-pc-linuxlibc1configure:1841: checking host system typeconfigure:1855: result: i686-pc-linuxlibc1configure:1876: checking for  style  of include used by makeconfigure:1904: result: noneconfigure:1975: checking for gccconfigure:1991: found /usr/bin/gccconfigure:2001: result: gccconfigure:2245: checking for C compiler versionconfigure:2248: gcc --version &5gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)Copyright (C) 2005 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY Ukázat celý příspěvek

Souhlasím  |  Nesouhlasím  |  Odpovědět
avatar
 | 

zmena:configure:1561: checking for gawkconfigure:1590: result: noconfigure:1561: checking for gawkconfigure:1590: result: gawk

Souhlasím  |  Nesouhlasím  |  Odpovědět
 | 

Tady je videt chyba:/usr/bin/ld: crt1.o: No such file: No such file or directorycrt1.o se nachazi v baliku libc6-dev. Balik gcc mimochodem libc6-dev doporucuje. Pouzivej aptitude misto apt-get a bude ti instalovat i doporucovane baliky. Taky si muzes nainstalovat balik build-essential, ktery potrebne zavislosti ma.

Souhlasím  |  Nesouhlasím  |  Odpovědět
avatar
 | 

tak jsem udělal to co jsi řekl (apt-get install libv6-dev)když spustim config, tak to tu chybu už nehodí, ale hodí to jinou:checking for GLIB - version >= 1.2.6... no*** The glib-config script installed by GLIB could not be found*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in*** your path, or set the GLIB_CONFIG environment variable to the*** full path to glib-config.configure: error: Test for glib failed.GNU Midnight Commander requires glib 1.2.6 or above.přitom sem ho z netu sosnul a rozbalil. (glib) je to verze 1.2.10-15nevíš co s tim ?

Souhlasím  |  Nesouhlasím  |  Odpovědět
 | 

aptitude install libglib1.2-dev

Souhlasím  |  Nesouhlasím  |  Odpovědět
avatar
 | 

diky, uz to jde, tak este jednou diky moc ... Vsetkym dakujem

Souhlasím  |  Nesouhlasím  |  Odpovědět
avatar
 | 

tak jeste vam nedam pokoj kdyz sem dal ./configure tak vse dopadlo v poradku ... Configuration: Source code location: . Compiler: gcc Compiler flags: -g -O2 File system: Midnight Commander Virtual File System cpiofs, extfs, tarfs, ftpfs, fish Screen library: Included S-Lang library (mcslang) Mouse support: xterm only X11 events support: no With subshell support: yes Internal editor: yes Support for charset: no... ted mam jeden problem :D ... jak ten mc spustit ? ... prikaz mc nefunguje a kdyz sem chtel jeste napsal make a pak make install, tak to stejne neslo

Souhlasím  |  Nesouhlasím  |  Odpovědět
 | 

> kdyz sem chtel jeste napsal make a pak make install, tak to stejne nesloJak presne to neslo?

Souhlasím  |  Nesouhlasím  |  Odpovědět
 |   | 

kdyby sis ho radeji nainstaloval z balicku...

Souhlasím  |  Nesouhlasím  |  Odpovědět

Související témata: Create, Make, Sets, Specific, Googla