[ Disko-Mafija! @ 07.10.2002. 10:35 ] @
| Skinuo sam sa neta zanimljiv programcic (od 'samo' 10 Bb source-a) koji se zove celestia......uglavnom kada krenem za instalacijom, tj. prvo ./configure, on mi prijavi greshku:
.
.
.
.
.
checking for c++ ...c++
checking whether C++ compiler(c++) works.....no
configure: error: installation or configuration problem : C++ compiler cannot create executables
:(
|
[ random @ 07.10.2002. 12:46 ] @
Pogledaj u config.log.
[ Disko-Mafija! @ 07.10.2002. 13:03 ] @
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:598: checking for a BSD compatible install
configure:651: checking whether build environment is sane
configure:708: checking whether make sets ${MAKE}
configure:754: checking for working aclocal
configure:767: checking for working autoconf
configure:780: checking for working automake
configure:793: checking for working autoheader
configure:806: checking for working makeinfo
configure:846: checking host system type
configure:874: checking for gcc
configure:987: checking whether the C compiler (gcc ) works
configure:1003: gcc -o conftest conftest.c 1>&5
configure:1029: checking whether the C compiler (gcc ) is a cross-compiler
configure:1034: checking whether we are using GNU C
configure:1043: gcc -E conftest.c
configure:1062: checking whether gcc accepts -g
configure:1103: checking for c++
configure:1135: checking whether the C++ compiler (c++ ) works
configure:1151: c++ -o conftest conftest.C 1>&5
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
configure: failed program was:
#line 1146 "configure"
#include "confdefs.h"
int main(){return(0);}
i shta onda???
[ Goran Rakić @ 07.10.2002. 13:13 ] @
da li imas gcc, g++ i c++ lib-ove?
[ Disko-Mafija! @ 07.10.2002. 15:04 ] @
Naravno da imam.......inache , gcc je 2.96 , onaj shto ide uz rh7.3
[ Goran Rakić @ 07.10.2002. 15:19 ] @
a u paketu (dir-u) postoji confdefs.h? Probaj da u drektorijumu napravis mali c++ prog pa da ga rucno kompajliras.
[ Disko-Mafija! @ 07.10.2002. 18:14 ] @
ima confdefs.h ...kojii ima samo dve linije........i to neshto nebitno...........
[ caboom @ 07.10.2002. 22:34 ] @
cuj... ti imas gcc, time i g++, ali nemas libstdc++... obicno se razdvajaju paketi u tom smislu da ako imas gcc ne znaci da imas obavezno libstdc++, pogledaj sta sve zapravo imas instalirano.
[ Disko-Mafija! @ 07.10.2002. 23:52 ] @
gcc sam ruchno instalirao, i imam libstdc++......ali, sada nije u tome problem..........uspeo sam da prebrodim pochetni problem (tj. problem zbog kojeg je postavljena tema...) i to sa
CXX='gcc -03" ./configure................i onda odradi do kraja , ali 'make' mi prijavi grashku tipa
'gcc : nepoznata opcija -03' ..............error [2] bla, bla,bla........................
shta sad da radim???
[ random @ 08.10.2002. 16:32 ] @
Probaj da umesto "03" (nula-tri) staviš "O3" (o-tri). ;o)
Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.