Hylafax Mailing List Archives

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

[hylafax-users] Compilation errors



In Mac OS X Server I am trying to compile the source but its not working.
Below is the CLI response
[localhost:/src/hylafax-4.1.2] root# ./configure --with-GETTTY="BSD"
--with-CXXFILE="-x c++" --with-TIFFINC="/sw/include"
--with-LIBTIFF="-L/sw/lib -ltiff" --with-TIFFBIN="/sw/bin"
--with-PATH_GSRIP="/sw/bin/gs" --with-PATH_AFM="/sw/share/ghostscript/fonts"

Configuring HylaFAX (tm) (aka FlexFAX) 4.1.2.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
Do they really still make powerpc-apple-darwin5.5 systems?!
Using /usr/bin/cc for a C compiler (set CC to override).
Looks like /usr/bin/cc supports the -g option.
Using " -g" for C compiler options.
Looks like /usr/bin/cc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /usr/bin/cc does not support the -M option for generating
make dependencies; will disable automatic make dependency building.

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).

If such a compiler is in a non-standard location, you can specify its
location in several ways:

    o set the environment variable CXX
    o create a config.local or config.site file that includes a
      definition for CXX
    o supply it on the command line using -with-CXX=<pathname>

If you are trying to use GNU gcc, but you do not have version 2.6.1
or newer, then you must update your compiler (and probably libg++ as
well) before you can compile this software.  Consult the documentation
for information about obtaining an up-to-date version of gcc.

Unrecoverable error!  Once you've corrected the problem rerun this script.
[localhost:/src/hylafax-4.1.2] root#



Let me know if there see anything else I can do to get it to work.

Thanks

Steffan


---------------------------------------------------------------
T E L  6 0 2 . 5 7 9 . 4 2 3 0 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline
Steffan@ExecuChoice.net                             Phoenix, Az
http://www.ExecuChoice.net                                  USA
AIM : SteffanC          ICQ : 57234309
The Executive's Choice in Lasso driven Internet Applications
---------------------------------------------------------------



____________________ 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@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services