Portál AbcLinuxu, 27. dubna 2024 05:57


Dotaz: nezdar kompilace bash aj.

stanyjol avatar 15.7.2008 09:21 stanyjol | skóre: 13
nezdar kompilace bash aj.
Přečteno: 231×
Odpovědět | Admin
Příloha:
zkoušel jsem zkompilovat nejake programy, mc, bash, dhcp, ale vse konci nezdarem, viz. log - priloha
Slackware 8.1 - 486

Using username "root".
root@192.168.1.1's password:
Last login: Tue Jul 15 08:14:12 2008
Linux 2.4.36.6.
root@server2:~# mc
kompilace bash
root@server2:/tmp/bash-2.05a# ./configure
checking build system type... configure: error: cannot guess build type; you must specify one
root@server2:/tmp/bash-2.05a#
kompilace DHCP
root@server2:/tmp/bash-2.05a# root@server2:/tmp/dhcp-4.0.0# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
root@server2:/tmp/dhcp-4.0.0#
kompilace MC
root@server2:/tmp/dhcp-4.0.0# root@server2:/tmp/mc-4.6.0# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i486-pc-linux-gnulibc1
checking host system type... i486-pc-linux-gnulibc1
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
root@server2:/tmp/mc-4.6.0#

Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

stanyjol avatar 15.7.2008 09:58 stanyjol | skóre: 13
Rozbalit Rozbalit vše Re: nezdar kompilace bash aj.
Odpovědět | | Sbalit | Link | Blokovat | Admin
zajimalo by me jestli chybi doinstalovat nejake programy nebo knihovny (ikdyz ty by mely byt vsechny)
15.7.2008 10:30 cynik
Rozbalit Rozbalit vše Re: nezdar kompilace bash aj.
Odpovědět | | Sbalit | Link | Blokovat | Admin
Podle hlasky z logu:
/usr/i386-slackware-linux/bin/ld: cannot open crt1.o: No such file or directory
to vypada jakoby chybelo crt1.o (ja ho mam v /usr/lib). Pokud tam bude (coz je pravdepodobne) tak bych típnul na nejak spatne nastavene cesty ke knihovnam (asi) v /etc/ld.so.conf. Taky by mohlo pomoct specifikovat primo cestu ke knihovne:
./configure LDFLAGS=-L/usr/lib
Zvlastni ale je, ze by mel jak mc tak dhcp stejny problem...

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.