![]() |
Try install gcc-c++. --- Jose Miguel Lopez Coronado <jmlopez@xxxxxxxxxxx> wrote: > Hello. > I'm having some problems during the install of > hylafax on my RedHat 9. I > have installed it in other computers with the same > distro, but now I was > interested in compiling it from the source > (.tar.gz). When I run the > ./configure command I obtain the following result: > 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../configure: line 782: [: -gt: unary > operator expected > ./configure: line 785: [: -eq: unary operator > expected > ./configure: line 782: [: -gt: unary operator > expected > ./configure: line 785: [: -eq: unary operator > expected > > Cannot locate a suitable C++ compiler. > > We attempted to compile the following test program: > > ---------------------------------------------------------- > class foo { > public: > struct bar { > int a; > bar(); > }; > foo(); > }; > foo::bar::bar() { a = 0; } > foo::foo() { bar x; } > int main() { foo t; return 0; } > ---------------------------------------------------------- > > with these compilers: > > g++ gcc CC NCC DCC gcc2 xlC > > but none of them were successful. > > To build this software you need a C++ compiler that > supports a > reasonably modern version of C++. In particular the > compiler must > support nested types and process temporary variables > according to the > ANSI Reference Manual (the ARM). > I've tried to pass the location of my g++ program to > the script in the > command line but the result was the same. > > Any idea? > > Thanks in advance. > -- > Jose Miguel Lopez Coronado > <jmlopez@xxxxxxxxxxxxxxxxxxxxx> > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*