errors sto g++

S. Ksenitelis simos at athena.teiath.gr
Thu Apr 23 00:48:25 EEST 1998



On Wed, 22 Apr 1998, Shadowhunter wrote:

> prospathontas na kano compile kapia progs gia linux
> (sigekrimena to KIRC,moonlight)
> afou trexo to configure gia na ginei to setarisma twn makefiles mou
> vgazei :
> 
> Ravenloft# ./configure
> creating cache ./config.cache
...
> checking for a C++-Compiler...
> checking for g++... g++
> checking whether the C++ compiler (g++  ) works... no
> configure: error: installation or configuration problem: C++ compiler
> cannot create executables.
...
> giati den mou douleuei o g++ ???
> exei kanenas antimetwpisei to idio provlima ????
> an nai as apantisei giati mou exoun ginei ta neura kourelia

Loipon, prvto vhma:

Ftiaxneis ena typiko programma c++ kai dokimazeis ton compiler.

chloe# cat > prog.C
int main( void )
{
	return 0;
}
^D
chloe# g++ -o prog prog.C
chloe# ls -l prog

An ola pane kala, tote o c++ compiler doulevei.
Opote, mpaineis sto "configure" kai tropopoieis thn routina pou elegxei an
o c++ compiler mporei na vgalei ektelesima c++ kai parakapteis ton elegxo.

To pio piuano aitio tou provlimatos einai na xreiazetai na dilvneis thn
bibliouikh libg++.a otan kaneis compilation+linking, diladi:

	g++ -o prog prog.C -lg++

Ayto einai piuano otan kaneis o idios compilation+install mia nea ekdosh
tou gcc kai to libg++.a den einai sto default path.

An to provlima einai ontos ayto, xrhsimopoieise tis parametrous tou
"configure" gia dilvsh tou monopatiou tvn vivliouhkvn. 

Simos KSenitellis

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list