Newsgroup: it.comp.os.linux.software
Titolo: Errori compilazione Hylafax...

Il mio sistema č: Slackware 4.0 kernel 2.2.13
Hylafax v4.0pl2
Al comando ./configure eseguito come "root" seguono questi messaggi:
**********************************************************************
Reading site-wide parameters from ./config.site.
Hmm, looks like a i686-unknown-linux system.
Using /usr/bin/gcc for a C Compiler (set CC to override).
Looks like /usr/bin/gcc supports the -g option.
Using "-g" for C compiler options.
Looks like /usr/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /usr/bin/gcc supports the -M option for generating make
dependencies.
Using  /usr/bin/gcc for a C++ compiler (set CXX to override).
Looks like /usr/bin/gcc supports the -g option.
Using " -g" for C++ compiler options.
Looks like /usr/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Using /usr/bin/make to configure the software.
Using "include file" syntax for Makefiles.
Looks like make supports "sinclude" for conditional includes.
Using /bin/bash to process command scripts.
Missing C++ runtime support for gcc (/usr/bin/gcc).
Compilation of the following test program failed:
-------------------------------------------------------------
#include "new.h"
int main(){ int* a = new int; *a = 0; delete a; return 0;}
-------------------------------------------------------------
Usually this is because you do not have libg++ installed on your system
or you have installed it in a non-standard location. If you do not have
libg++ installed, then you must install it. If libg++ is installed in a
non-standard location, then you should configure the compiler so that it
will automatically be found.
Unrecoverable error! Once you've corrected the problem rerun this script.
************************************************************************
Il compilatore gcc (dovunque esso sia) funziona. Ma non ho esperienza di
programmazione su linux (che peraltro vorrei cominciare a fare) per capire
meglio il problema.
Un grazie particolare a Giulio Orsero e Roberto Tagliaferri che mi hanno
precedentemente risposto.
Giulio

Missing C++ runtime support for gcc (/usr/bin/gcc).
E' chiaro: ti manca il supporto per c++.
Hai le librerie del tipo libstdc++* installate?
-- 
giu...@pobox.com

 wrote in message 77dcc8.8j.ln@i3...


Cos'altro manca?
Io ho anche
Name        : egcs-c++                 Relocations: (not relocateable)
Description :
This package adds C++ support to the GNU C compiler. It includes
support for most of the current C++ specification, including templates
and exception handling. It does include the static standard C++
library and C++ header files; the library for dynamically linking
programs is available separately.
/usr/bin/c++  + file include
-- 
giu...@pobox.com

 wrote in message cc3dc8.a5n.ln@i3...


g++-egcs-1.1.2 che g++-gcc-2.7.2.3..... non c'è tutto?
Guarda il configure di hylafax, quell'errore lo dà dopo aver provato la
compilazione di
#include "iostream.h"
int main(){ cout << "Hello World!" << endl; return 0;}
Prova a scriverti queste righe e compilarle con c++, vedi se ti dà
messaggi di errore + significativi, magari ti mancano include file.
Non ho mai provato c++, ma da me se faccio:
$ c++ -o prova prova.c++
$ file prova
prova: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically
linked (uses shared libs), not stripped
$
viene compilato bene
-- 
giu...@pobox.com