Dirk Heinrichs wrote:
Hi,

building groff (from openpkg 2.4.0) give this error message during configure:

+ /nokia/du_rd_01/apps/lib/openpkg/bash ./configure --prefix=/nokia/du_rd_01/apps
checking for gcc... /nokia/du_rd_01/apps/bin/cc
checking for C compiler default output file name... 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 /nokia/du_rd_01/apps/bin/cc accepts -g... yes
checking for /nokia/du_rd_01/apps/bin/cc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether /nokia/du_rd_01/apps/bin/c++ accepts -g... yes
checking that C++ compiler can compile simple program... yes
checking that C++ static constructors and destructors are called... no
configure: error: a working C++ compiler is required
error: Bad exit status from /nokia/du_rd_01/apps/RPM/TMP/rpm-tmp.611 (%build)

config.log says:

configure:2648: checking that C++ static constructors and destructors are called configure:2685: /nokia/du_rd_01/apps/bin/c++ -o conftest -O2 -pipe conftest.cc >&5
/usr/ccs/bin/ld: Unrecognized argument: +init
/usr/ccs/bin/ld: Usage:  /usr/ccs/bin/ld [options] [flags] files
collect2: ld returned 1 exit status
configure:2688: $? = 1
configure: program exited with status 1

Does anybody know what's going wrong?

Thanx...

        Dirk

I'm getting the exact same thing, although GROFF compiled/installed just fine on my 11.00 box. It doesn't seem to matter what I change the c++ compile to either.

Doug
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to