Portál AbcLinuxu, 12. května 2025 15:43
debian 2.6.26-1-amd64
snazim se nainstalovat jeden program (http://getmangos.com) a trochu se mi to nedari -
toto funguje:
autoreconf --install --force
mkdir objdir
cd objdir
../configure --prefix=/opt/test --sysconfdir=/opt/test --enable-cli --enable-ra --datadir=/opt/test
vse ok, ale pokud zadam misto toho toto (navic export.....):
autoreconf --install --force
mkdir objdir
cd objdir
export CFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 –O3 -g -ggdb -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers"
export CXXFLAGS="-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 –O3 -g -ggdb -pipe -msse3 -fno-strength-reduce -fno-delete-null-pointer-checks -fno-strict-aliasing -frename-registers"
../configure --prefix=/opt/test --sysconfdir=/opt/test --enable-cli --enable-ra --datadir=/opt/test
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
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.
kamos mi rekl, ze ty prikazy jsou dulezite, jenze s nimi to nejde a kamos taky nevi co s tim
tady je config.log - http://pastebin.com/m29ed4bc8
Pls help
muzete me prosim jeste trochu priblizit?
kdyz si aptitudnu gcc, tak mi to hlasi ze mam nainstalovano:
i gcc - Překladač GNU C
i gcc-4.2-base - překladač GNU Compiler Collection (GCC) - (základní balík)
i A gcc-4.3 - The GNU C compiler
i gcc-4.3-base - The GNU Compiler Collection (base package)
i libgcc1 - Knihovna pro překladač GCC
Diky
Odnekud jste to zkopiroval a misto spojovniku -O3 tam mate pomlcku –O3 Takze kompilator to nepovazuje za volbu ale za nazev souboru
Srandovni chyba
supa, diky, doted jsem nevedel ze existuje polovicni pomlcka
Zrejme vam to tam automaticky dostrcil nejaky textovy editor. Graficky to vypada podobne ale verte ze pro gcc a pro prikazovy radek je to dost podstatny rozdil
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.