HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Problems installing hylafax on a RedHat 9 server

This is a problem with configure and gcc-3.3.x. It is fixed in 4.2.0.


On 2004.07.20 23:53 Jose Miguel Lopez Coronado wrote:
I'm having some problems during the install of hylafax on my RedHat 9.
have installed it in other computers with the same distro, but now I
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 {
    struct bar {
        int a;
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>

____________________ 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*

Project hosted by iFAX Solutions