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
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:
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.
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........................