Hylafax Mailing List Archives

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

[hylafax-users] Configuring on AIX 5.3.0



When I attempt to configure on an AIX 5.3.0.0 system I get the following
error


Configuring HylaFAX (tm) (aka FlexFAX) 4.2.0.

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.
I'm always happy to encounter another powerpc-ibm-aix5.3.0.0 system.
Using /usr/local/bin/gcc for a C compiler (set CC to override).
Looks like /usr/local/bin/gcc supports the -g option.
Using " -g" for C compiler options.
Looks like /usr/local/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /usr/local/bin/gcc supports the -M option for generating make dependencies.
Using /usr/local/bin/g++ for a C++ compiler (set CXX to override).
Looks like /usr/local/bin/g++ supports the -g option.
Using " -g" for C++ compiler options.
Looks like /usr/local/bin/g++ has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Using /bin/make to configure the software.
Using "include file" syntax for Makefiles.
Using /bin/ksh to process command scripts.

Missing C++ runtime support for g++ (/usr/local/bin/g++).

Compilation of the following test program failed:

----------------------------------------------------------
#include "iostream.h"
int main(){ cout << "Hello World!" << endl; return 0;}
----------------------------------------------------------

Usually this is because you do not have a standard C++ library
installed on your system or you have installed it in a non-standard
location.  If you do not have a C++ library installed, then you must
install it.  If it is installed in a non-standard location, then you
should configure the compiler so that it will automatically be found.

(For recent gcc releases this is libstdc++, for older gcc - libg++)

Unrecoverable error!  Once you've corrected the problem rerun this script.


I am using gcc 3.4.3 with the following specs

*asm:
-u %{maix64:-a64 %{!mcpu*:-mppc64}} %(asm_cpu)

*asm_debug:


*asm_final:


*asm_options:
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}

*invoke_as:
%{!S:-o %|.s |
 as %(asm_options) %m.s %A }

*cpp:
%{posix: -D_POSIX_SOURCE}	  %{ansi: -D_ANSI_C_SOURCE}			  %{maix64: -D__64BIT__}			  %{mpe: -I/usr/lpp/ppe.poe/include}		  %{pthread: -D_THREAD_SAFE}

*cpp_options:
%(cpp_unique_options) %1 %{m*} %{std*} %{ansi} %{W*&pedantic*} %{w} %{f*} %{g*:%{!g0:%{!fno-working-directory:-fworking-directory}}} %{O*} %{undef}

*cpp_debug_options:
%{d*}

*cpp_unique_options:
%{C|CC:%{!E:%eGCC does not support -C or -CC without -E}} %{!Q:-quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}} %{trigraphs} %{remap} %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{E|M|MM:%W{o*}}

*trad_capable_cpp:
cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}

*cc1:


*cc1_options:
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*} %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi} %{v:-version} %{pg:-p} %{p} %{f*} %{undef} %{Qn:-fno-ident} %{--help:--help} %{--target-help:--target-help} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-param*}

*cc1plus:


*link_gcc_c_sequence:
%G %L %G

*endfile:


*link:
-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect   %{static:-bnso %(link_syscalls) } %{shared:-bM:SRE %{!e:-bnoentry}}   %{!maix64:%{!shared:%{g*: %(link_libg) }}} %{maix64:-b64}   %{mpe:-binitfini:poe_remote_main}

*lib:
%{pg:-L/lib/profiled -L/usr/lib/profiled}   %{p:-L/lib/profiled -L/usr/lib/profiled}   %{!maix64:%{!shared:%{g*:-lg}}}   %{mpe:-L/usr/lpp/ppe.poe/lib -lmpi -lvtd}   %{pthread:-lpthreads} -lc

*libgcc:
%{static|static-libgcc:libgcc.a%s libgcc_eh.a%s}%{!static:%{!static-libgcc:%{!shared:%{!shared-libgcc:libgcc.a%s libgcc_eh.a%s}%{shared-libgcc:-lgcc_s%M libgcc.a%s}}%{shared:-lgcc_s%M}}}

*startfile:
%{!shared:   %{maix64:%{pg:gcrt0_64%O%s}%{!pg:%{p:mcrt0_64%O%s}%{!p:crt0_64%O%s}}}   %{!maix64:     %{pthread:%{pg:gcrt0_r%O%s}%{!pg:%{p:mcrt0_r%O%s}%{!p:crt0_r%O%s}}}     %{!pthread:%{pg:gcrt0%O%s}%{!pg:%{p:mcrt0%O%s}%{!p:crt0%O%s}}}}}

*switches_need_spaces:


*cross_compile:
0

*version:
3.4.3

*multilib:
. !pthread !mcpu=common !mcpu=power !mcpu=powerpc;pthread pthread !mcpu=common !mcpu=power !mcpu=powerpc;common !pthread mcpu=common !mcpu=power !mcpu=powerpc;power !pthread !mcpu=common mcpu=power !mcpu=powerpc;powerpc !pthread !mcpu=common !mcpu=power mcpu=powerpc;pthread/common pthread mcpu=common !mcpu=power !mcpu=powerpc;pthread/power pthread !mcpu=common mcpu=power !mcpu=powerpc;pthread/powerpc pthread !mcpu=common !mcpu=power mcpu=powerpc;

*multilib_defaults:
mcpu=common

*multilib_extra:


*multilib_matches:
mcpu=power mcpu=power;mcpu=power2 mcpu=power;mcpu=power3 mcpu=powerpc;mcpu=power4 mcpu=powerpc;mcpu=powerpc mcpu=powerpc;mcpu=rios1 mcpu=power;mcpu=rios2 mcpu=power;mcpu=rsc mcpu=power;mcpu=rsc1 mcpu=power;mcpu=rs64a mcpu=powerpc;mcpu=601 mcpu=powerpc;mcpu=602 mcpu=powerpc;mcpu=603 mcpu=powerpc;mcpu=603e mcpu=powerpc;mcpu=604 mcpu=powerpc;mcpu=604e mcpu=powerpc;mcpu=620 mcpu=powerpc;mcpu=630 mcpu=powerpc;pthread pthread;mcpu=common mcpu=common;mcpu=power mcpu=power;mcpu=powerpc mcpu=powerpc;

*multilib_exclusions:


*multilib_options:
pthread mcpu=common/mcpu=power/mcpu=powerpc

*linker:
collect2

*link_libgcc:
%D

*md_exec_prefix:


*md_startfile_prefix:


*md_startfile_prefix_1:


*startfile_prefix_spec:


*sysroot_suffix_spec:


*sysroot_hdrs_suffix_spec:


*cpp_default:


*asm_cpu:
%{!mcpu*: %{!maix64:   %{mpower: %{!mpower2: -mpwr}}   %{mpower2: -mpwr2}   %{mpowerpc*: %{!mpowerpc64: -mppc}}   %{mpowerpc64: -mppc64}   %{!mpower*: %{!mpowerpc*: %(asm_default)}}}} %{mcpu=common: -mcom} %{mcpu=power: -mpwr} %{mcpu=power2: -mpwr2} %{mcpu=power3: -m620} %{mcpu=power4: -m620} %{mcpu=powerpc: -mppc} %{mcpu=rios: -mpwr} %{mcpu=rios1: -mpwr} %{mcpu=rios2: -mpwr2} %{mcpu=rsc: -mpwr} %{mcpu=rsc1: -mpwr} %{mcpu=rs64a: -mppc} %{mcpu=601: -m601} %{mcpu=602: -mppc} %{mcpu=603: -m603} %{mcpu=603e: -m603} %{mcpu=604: -m604} %{mcpu=604e: -m604} %{mcpu=620: -m620} %{mcpu=630: -m620}

*asm_default:
-mcom

*link_syscalls:
-bI:/lib/syscalls.exp

*link_libg:
-bexport:/usr/lib/libg.exp

*link_command:
%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:    %(linker) %l %{pie:} %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r}    %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}    %{static:} %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate:-lgcov}    %{!nostdlib:%{!nodefaultlibs:%(link_gcc_c_sequence)}}    %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}

Please help


Yhank you

horwitz@xxxxxxxxxxxxx (Samuel A Horwitz)

Mon May 23 10:24:07 EDT 2005

This file contains information that was captured from running the configure
script.  Lines that begin with a "+" are command lines echoed by the
shell.  Other lines are the output of commands; usually the contents of
test case files or the output from compilers.  If configure does the
wrong thing, use the information captured here to aid in debugging.

+ . ./config.site
TARGET: powerpc-ibm-aix5.3.0.0
RELEASE: 3
+ cat dummy.c
main(int argc, char* argv) { exit(0); }
+ cat xgnu.c
#ifdef __GNUC__
yes;
#endif
+ egrep yes
+ gcc -E xgnu.c
+ 2>& 5
yes;
+ gcc -o dummy dummy.c
+ /usr/local/bin/gcc -g -c dummy.c
+ cat dummy.c
#define ansiIDENT(a) a
#define ansiCAT(a,b) a##b
A=ansiCAT(ANSI,CPP);
+ grep ANSICPP
+ /usr/local/bin/gcc -E dummy.c
A=ANSICPP;
+ cat dummy.c
#ifdef __ANSI_CPP__
yes
#else
no
#endif
+ grep no
+ /usr/local/bin/gcc -E dummy.c
no
+ cat dummy.c
main(int argc, char* argv) { exit(0); }
+ grep ^dummy.o[ 	]*:[ 	]*dummy.c
+ /usr/local/bin/gcc -c -M dummy.c
dummy.o: dummy.c
+ cat dummy.C
class foo {
public:
    struct bar {
	int a;
	bar();
    };
    foo();
};
foo::bar::bar() { a = 0; }
foo::foo() { bar x; }
int main() { foo t; return 0; }
+ cat xgnu.c
#ifdef __GNUC__
yes;
#endif
+ egrep yes
+ g++ -E xgnu.c
+ 2>& 5
yes;
+ g++ -o dummy dummy.C
+ /usr/local/bin/g++ -c -g dummy.C
+ cat dummy.C
#define ansiIDENT(a) a
#define ansiCAT(a,b) a##b
A=ansiCAT(ANSI,CPP);
+ grep ANSICPP
+ /usr/local/bin/g++ -E dummy.C
A=ANSICPP;
+ grep no
+ /usr/local/bin/g++ -E dummy.C
no
+ cat dummy.C
/* this comment should be stripped */
something else just in case
and another line also
+ grep comment
+ /usr/local/bin/g++ -E dummy.C
+ cat dummy.C
int main()
{
    bool success = false;
    return 0;
}
+ /usr/local/bin/g++ dummy.C
+ cat confMakefile
include xmakeinc
all:
+ make -f confMakefile
Target "all" is up to date.
+ cat confMakefile
sinclude xMakedepend
all:
+ make -f confMakefile
"confMakefile", line 1: make: Dependency line needs colon or double colon operator.
make: Fatal errors encountered -- cannot continue.
+ cat dummy.C
#include "new.h"
struct foo {
    int x;
    foo();
    ~foo();
};
foo::foo() {}
foo::~foo() {}
int main()
{
    foo* ptr = 0;
    foo* a = new(ptr) foo;
    a->x = 0;
    delete a;
    return 0;
}
+ /usr/local/bin/g++ -o dummy dummy.C
In file included from /usr/local/include/g++-v3/backward/new.h:33,
                 from dummy.C:1:
/usr/local/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
+ make -f confMakefile t
	/usr/local/bin/g++        -D__ANSI_CPP__ -I. -I. -I././regex -I.  -I././util -I/usr/local/include -g -O  t.c++
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory
In file included from /usr/local/include/g++-v3/backward/iostream.h:31,
                 from t.c++:1:
/usr/local/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/include/sys/m_types.h:40,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/sys/types.h:220,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/stdio.h:349,
                 from /usr/local/include/g++-v3/cstdio:52,
                 from /usr/local/include/g++-v3/powerpc-ibm-aix4.2.1.0/bits/c++io.h:35,
                 from /usr/local/include/g++-v3/bits/fpos.h:44,
                 from /usr/local/include/g++-v3/iosfwd:46,
                 from /usr/local/include/g++-v3/ios:44,
                 from /usr/local/include/g++-v3/ostream:45,
                 from /usr/local/include/g++-v3/iostream:45,
                 from /usr/local/include/g++-v3/backward/iostream.h:32,
                 from t.c++:1:
/usr/include/sys/vm_types.h:51: syntax error before `;' token
/usr/include/sys/vm_types.h:52: syntax error before `;' token
/usr/include/sys/vm_types.h:73: syntax error before `;' token
/usr/include/sys/vm_types.h:74: syntax error before `;' token
/usr/include/sys/vm_types.h:75: syntax error before `;' token
/usr/include/sys/vm_types.h:76: syntax error before `;' token
/usr/include/sys/vm_types.h:77: syntax error before `;' token
/usr/include/sys/vm_types.h:82: syntax error before `;' token
/usr/include/sys/vm_types.h:103: syntax error before `;' token
/usr/include/sys/vm_types.h:105: syntax error before `;' token
/usr/include/sys/vm_types.h:154: 'ulong32int64_t' is used as a type, but is not 
   defined as a type.
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/sys/types.h:220,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/stdio.h:349,
                 from /usr/local/include/g++-v3/cstdio:52,
                 from /usr/local/include/g++-v3/powerpc-ibm-aix4.2.1.0/bits/c++io.h:35,
                 from /usr/local/include/g++-v3/bits/fpos.h:44,
                 from /usr/local/include/g++-v3/iosfwd:46,
                 from /usr/local/include/g++-v3/ios:44,
                 from /usr/local/include/g++-v3/ostream:45,
                 from /usr/local/include/g++-v3/iostream:45,
                 from /usr/local/include/g++-v3/backward/iostream.h:32,
                 from t.c++:1:
/usr/include/sys/m_types.h:69: syntax error before `;' token
In file included from /usr/local/include/g++-v3/powerpc-ibm-aix4.2.1.0/bits/c++io.h:35,
                 from /usr/local/include/g++-v3/bits/fpos.h:44,
                 from /usr/local/include/g++-v3/iosfwd:46,
                 from /usr/local/include/g++-v3/ios:44,
                 from /usr/local/include/g++-v3/ostream:45,
                 from /usr/local/include/g++-v3/iostream:45,
                 from /usr/local/include/g++-v3/backward/iostream.h:32,
                 from t.c++:1:
/usr/local/include/g++-v3/cstdio:108: `fgetpos' not declared
/usr/local/include/g++-v3/cstdio:118: `fsetpos' not declared
In file included from /usr/local/include/g++-v3/ctime:51,
                 from /usr/local/include/g++-v3/cwchar:51,
                 from /usr/local/include/g++-v3/bits/fpos.h:45,
                 from /usr/local/include/g++-v3/iosfwd:46,
                 from /usr/local/include/g++-v3/ios:44,
                 from /usr/local/include/g++-v3/ostream:45,
                 from /usr/local/include/g++-v3/iostream:45,
                 from /usr/local/include/g++-v3/backward/iostream.h:32,
                 from t.c++:1:
/usr/include/time.h:234: `clockid_t' was not declared in this scope
/usr/include/time.h:234: parse error before `*' token
/usr/include/time.h:235: `clockid_t' was not declared in this scope
/usr/include/time.h:235: parse error before `*' token
/usr/include/time.h:236: `clockid_t' was not declared in this scope
/usr/include/time.h:236: parse error before `*' token
/usr/include/time.h:237: type specifier omitted for parameter `clockid_t'
/usr/include/time.h:237: parse error before `*' token
/usr/include/time.h:242: `clockid_t' was not declared in this scope
/usr/include/time.h:242: parse error before `*' token
/usr/include/time.h:251: `clockid_t' was not declared in this scope
/usr/include/time.h:251: parse error before `,' token
In file included from /usr/local/include/g++-v3/ctime:51,
                 from /usr/local/include/g++-v3/cwchar:51,
                 from /usr/local/include/g++-v3/bits/fpos.h:45,
                 from /usr/local/include/g++-v3/iosfwd:46,
                 from /usr/local/include/g++-v3/ios:44,
                 from /usr/local/include/g++-v3/ostream:45,
                 from /usr/local/include/g++-v3/iostream:45,
                 from /usr/local/include/g++-v3/backward/iostream.h:32,
                 from t.c++:1:
/usr/include/time.h:288: parse error before `*' token
/usr/include/time.h:289: parse error before `*' token
/usr/include/time.h:290: parse error before `*' token
/usr/include/time.h:292: syntax error before `(' token
/usr/include/time.h:294: parse error before `*' token
/usr/include/time.h:295: parse error before `*' token
/usr/include/time.h:297: parse error before `*' token
In file included from /usr/local/include/g++-v3/bits/fpos.h:45,
                 from /usr/local/include/g++-v3/iosfwd:46,
                 from /usr/local/include/g++-v3/ios:44,
                 from /usr/local/include/g++-v3/ostream:45,
                 from /usr/local/include/g++-v3/iostream:45,
                 from /usr/local/include/g++-v3/backward/iostream.h:32,
                 from t.c++:1:
/usr/local/include/g++-v3/cwchar:65: conflicting types for `typedef struct 
   mbstate_t mbstate_t'
/usr/include/wchar.h:69: previous declaration as `typedef char*mbstate_t'
In file included from /usr/local/include/g++-v3/cstring:51,
                 from /usr/local/include/g++-v3/bits/char_traits.h:44,
                 from /usr/local/include/g++-v3/ios:46,
                 from /usr/local/include/g++-v3/ostream:45,
                 from /usr/local/include/g++-v3/iostream:45,
                 from /usr/local/include/g++-v3/backward/iostream.h:32,
                 from t.c++:1:
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/string.h:218: declaration
   of C function `wchar_t* wcstok(wchar_t*, const wchar_t*)' conflicts with
/usr/include/wchar.h:272: previous declaration `wchar_t* wcstok(wchar_t*, const 
   wchar_t*, wchar_t**)' here
In file included from /usr/include/sys/resource.h:57,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/sys/wait.h:54,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/stdlib.h:231,
                 from /usr/local/include/g++-v3/cstdlib:52,
                 from /usr/local/include/g++-v3/bits/stl_algobase.h:67,
                 from /usr/local/include/g++-v3/memory:54,
                 from /usr/local/include/g++-v3/string:48,
                 from /usr/local/include/g++-v3/bits/localefwd.h:49,
                 from /usr/local/include/g++-v3/ios:48,
                 from /usr/local/include/g++-v3/ostream:45,
                 from /usr/local/include/g++-v3/iostream:45,
                 from /usr/local/include/g++-v3/backward/iostream.h:32,
                 from t.c++:1:
/usr/include/sys/time.h:93: 'suseconds_t' is used as a type, but is not defined 
   as a type.
/usr/include/sys/time.h:103: 'int32_t' is used as a type, but is not defined as 
   a type.
/usr/include/sys/time.h:104: 'int32_t' is used as a type, but is not defined as 
   a type.
/usr/include/sys/time.h:113: 'int64_t' is used as a type, but is not defined as 
   a type.
/usr/include/sys/time.h:114: 'int32_t' is used as a type, but is not defined as 
   a type.
/usr/include/sys/time.h:343: 'suseconds_t' is used as a type, but is not 
   defined as a type.
/usr/include/sys/time.h:351: 'int32_t' is used as a type, but is not defined as 
   a type.
/usr/include/sys/time.h:352: 'int32_t' is used as a type, but is not defined as 
   a type.
/usr/include/sys/time.h:359: 'int64_t' is used as a type, but is not defined as 
   a type.
/usr/include/sys/time.h:360: 'int32_t' is used as a type, but is not defined as 
   a type.
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/sys/signal.h:277,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/sys/wait.h:58,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/3.1/include/stdlib.h:231,
                 from /usr/local/include/g++-v3/cstdlib:52,
                 from /usr/local/include/g++-v3/bits/stl_algobase.h:67,
                 from /usr/local/include/g++-v3/memory:54,
                 from /usr/local/include/g++-v3/string:48,
                 from /usr/local/include/g++-v3/bits/localefwd.h:49,
                 from /usr/local/include/g++-v3/ios:48,
                 from /usr/local/include/g++-v3/ostream:45,
                 from /usr/local/include/g++-v3/iostream:45,
                 from /usr/local/include/g++-v3/backward/iostream.h:32,
                 from t.c++:1:
/usr/include/sys/context.h:172: 'sigset64_t' is used as a type, but is not 
   defined as a type.
make: The error code from the last command is 1.


Stop.


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