groff
[Top][All Lists]
Advanced

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

[Groff] compiling error 1.18.1


From: Danny Borghi
Subject: [Groff] compiling error 1.18.1
Date: Fri, 24 Oct 2003 17:27:05 +0200

I launch ./configure in Solaris 8 intel with gcc 3.2.3 or 2.95.3
but this is a message that exit:????
Consider that i compile samba or other package without error.
 
# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required
#
WHY THIS????
This is the content of config.log:
 
# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required
# pg config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
It was created by configure, which was
generated by GNU Autoconf 2.54.  Invocation command line was
 
  $ ./configure
 
## --------- ##
## Platform. ##
## --------- ##
 
hostname = eutron
uname -m = i86pc
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108529-07
 
/usr/bin/uname -p = i386
/bin/uname -X     = System = SunOS
Node = eutron
Release = 5.8
KernelID = Generic_108529-07
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
 
/bin/arch              = i86pc
/usr/bin/arch -k       = i86pc
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
 
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/ccs/bin
PATH: /usr/ucb
PATH: /usr/local/bin
PATH: /usr/local/lib
PATH: /usr/openwin/bin
PATH: /usr/dt/bin
PATH: /opt/CITapp/bin
 

## ----------- ##
## Core tests. ##
## ----------- ##
 
configure:1284: checking for gcc
configure:1300: found /usr/local/bin/gcc
configure:1310: result: gcc
configure:1552: checking for C compiler version
configure:1555: gcc --version </dev/null >&5
gcc (GCC) 3.2.3
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
configure:1558: $? = 0
configure:1560: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.2.3/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ldd
Thread model: posix
gcc version 3.2.3
configure:1563: $? = 0
configure:1565: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1568: $? = 1
configure:1588: checking for C compiler default output
configure:1591: gcc    conftest.c  >&5
configure:1594: $? = 0
configure:1628: result: a.out
configure:1633: checking whether the C compiler works
configure:1639: ./a.out
configure:1642: $? = 0
configure:1657: result: yes
configure:1664: checking whether we are cross compiling
configure:1666: result: no
configure:1669: checking for suffix of executables
configure:1671: gcc -o conftest    conftest.c  >&5
configure:1674: $? = 0
configure:1697: result:
configure:1703: checking for suffix of object files
configure:1721: gcc -c   conftest.c >&5
configure:1724: $? = 0
configure:1743: result: o
configure:1747: checking whether we are using the GNU C compiler
configure:1768: gcc -c   conftest.c >&5
configure:1771: $? = 0
configure:1774: test -s conftest.o
configure:1777: $? = 0
configure:1789: result: yes
configure:1795: checking whether gcc accepts -g
configure:1813: gcc -c -g  conftest.c >&5
configure:1816: $? = 0
configure:1819: test -s conftest.o
configure:1822: $? = 0
configure:1832: result: yes
configure:1849: checking for gcc option to accept ANSI C
configure:1906: gcc  -c -g -O2  conftest.c >&5
configure:1909: $? = 0
configure:1912: test -s conftest.o
configure:1915: $? = 0
configure:1932: result: none needed
configure:1950: gcc -c -g -O2  conftest.c >&5
conftest.c:2: syntax error before "me"
configure:1953: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2103: checking for g++
configure:2119: found /usr/local/bin/g++
configure:2129: result: g++
configure:2145: checking for C++ compiler version
configure:2148: g++ --version </dev/null >&5
g++ (GCC) 3.2.3
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
configure:2151: $? = 0
configure:2153: g++ -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.2.3/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ldd
Thread model: posix
gcc version 3.2.3
configure:2156: $? = 0
configure:2158: g++ -V </dev/null >&5
g++: argument to `-V' missing
 
configure:2161: $? = 1
configure:2164: checking whether we are using the GNU C++ compiler
configure:2185: g++ -c   conftest.cc >&5
configure:2188: $? = 0
configure:2191: test -s conftest.o
configure:2194: $? = 0
configure:2206: result: yes
configure:2212: checking whether g++ accepts -g
configure:2230: g++ -c -g  conftest.cc >&5
configure:2233: $? = 0
configure:2236: test -s conftest.o
configure:2239: $? = 0
configure:2249: result: yes
configure:2289: g++ -c -g -O2  conftest.cc >&5
configure:2292: $? = 0
configure:2295: test -s conftest.o
configure:2298: $? = 0
configure:2320: g++ -c -g -O2  conftest.cc >&5
configure: In function `int main()':
configure:2312: `exit' undeclared (first use this function)
configure:2312: (Each undeclared identifier is reported only once for each
   function it appears in.)
configure:2323: $? = 1
configure: failed program was:
#line 2307 "configure"
#include "confdefs.h"
 
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:2289: g++ -c -g -O2  conftest.cc >&5
configure:2292: $? = 0
configure:2295: test -s conftest.o
configure:2298: $? = 0
configure:2320: g++ -c -g -O2  conftest.cc >&5
configure:2323: $? = 0
configure:2326: test -s conftest.o
configure:2329: $? = 0
configure:2360: checking that C++ compiler can compile simple program
configure:2421: g++ -o conftest -g -O2   conftest.cc  >&5
configure:2424: $? = 0
configure:2426: ./conftest
ld.so.1: ./conftest: fatal: libstdc++.so.5: open failed: No such file or directy
./configure: line 1:  7995 Killed                  ./conftest$ac_exeext
configure:2429: $? = 137
configure: program exited with status 137
configure: failed program was:
#line 2403 "configure"
#include "confdefs.h"
 
extern "C" {
  void _exit(int);
}
int i;
struct A {
  char dummy;
  A() { i = 1; }
  ~A() { if (i == 1) _exit(0); }
};
A a;
int main() { return 1; }
 
configure:2438: result: no
configure:2439: error: a working C++ compiler is required
 
## ---------------- ##
## Cache variables. ##
## ---------------- ##
 
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
 
## ----------------- ##
## Output variables. ##
## ----------------- ##
 
BROKEN_SPOOLER_FLAGS=''
CC='gcc'
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
DEFS=''
DVIPRINT=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA=''
INSTALL_INFO=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBM=''
LIBOBJS=''
LIBS=''
LN_S=''
LP=''
LPQ=''
LPR=''
LTLIBOBJS=''
OBJEXT='o'
OTHERDEVDIRS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PAGE=''
PATH_SEPARATOR=':'
PERLPATH=''
PSPRINT=''
RANLIB=''
SHELL='/bin/bash'
SH_SCRIPT_SED_CMD=''
TTYDEVDIRS=''
YACC=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
g=''
groff_top_builddir='/export/home/rete/source1.18.1groff/groff-1.18.1'
gs=''
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
make_html=''
make_install_html=''
mandir='${prefix}/man'
oldincludedir='/usr/include'
pnmcrop=''
pnmcut=''
pnmtopng=''
prefix='NONE'
program_transform_name='s,x,x,'
psselect=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sys_tmac_prefix=''
sysconfdir='${prefix}/etc'
target_alias=''
tmac_wrap=''
 
## ----------- ##
## confdefs.h. ##
## ----------- ##
 
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#endif
#ifdef __cplusplus
#include <stdlib.h>
 
configure: exit 1
 
Thank you very much for suggestion.
Danny Borghi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]