linux user group brescia

immagine del castello

Archivio della mailing list

cosa mi serve per compilare babytrans

Sarlak sarlak a libero.it
Sab 10 Feb 2001 10:04:55 UTC
ciao a tutti,
ho dei problemi con babytrans che, per chi non lo sapesse, non e' un
brasiliano minorenne travestito, ma un programma simile al babylon
translator che c'e' su windoze.
Dunque, il ./configure va apparentemente a buon fine, vi posto alcuni
estratti dell'output, quelli che mi fanno venire dei dubbi:

checking whether to enable maintainer-specific portions of Makefiles... no
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking if C++ library include stringstream... no

ecco una parte dell'output del comando make:

In file included from main.cc:37:
fred_sstream:41: ANSI C++ forbids declaration `ostrstream' with no type
fred_sstream:41: invalid use of `::'
fred_sstream:41: parse error before `;'
fred_sstream: In method `class string std::ostringstream::str() const':
fred_sstream:45: `oss' undeclared (first use this function)
fred_sstream:45: (Each undeclared identifier is reported only once
fred_sstream:45: for each function it appears in.)
fred_sstream: At top level:
fred_sstream:56: `ostream' undeclared in namespace `std'
fred_sstream:56: `os' was not declared in this scope
fred_sstream:56: parse error before `::'
fred_sstream:57: `std::operator <<(...)' must have an argument of class or
enumerated type
fred_sstream:57: `std::operator <<(...)' must take exactly two arguments
fred_sstream: In function `class ostream & std::operator <<(...)':
fred_sstream:58: `os' undeclared (first use this function)
main.cc: At top level:
main.cc:40: `istream' not declared
main.cc:41: `ostream' not declared
main.cc:42: `ofstream' not declared
main.cc:43: `string' not declared
main.cc:44: `endl' not declared
main.cc:46: `cout' not declared
main.cc:47: `cerr' not declared
In file included from main.cc:64:
libbab.h:31: `list' not declared
libbab.h:32: `ifstream' not declared
In file included from main.cc:66:
file_parser.h:34: `vector' not declared
main.cc: In function `void app_translate_word(const string &)':
main.cc:804: `cout' undeclared in namespace `std' 

Poi ovviamente la compilazione non va a buon fine.
Come posso rimediare a quel:
"checking if C++ library include stringstream... no"
che secondo me e' la causa di tutti i mali?

Grazie.

Ciao,
Tiziano.

-- 

"La televisione è quell'apparecchio che·permette a persone 
che non hanno niente·da fare, 
di guardare gente che non sa fare niente" 



Maggiori informazioni sulla lista Lug