Do you have the g++ compiler installed? What happens if you type "g++ --version" in a terminal console?

Alberto

Mark Gregory ha scritto:

Hi,

I’m trying to compile xerces version 2_6_0 for ubuntu and I get an error message. I would appreciate thoughts on how to move forward. I have been told to use this version of xerces. I have ubuntu server running.

Regards, Mark

r...@linuxubuntuserver2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc# ./runConfigure -p linux -xg++ -cgcc -P /usr/local/xerces

Generating makefiles with the following options ...

Platform: linux

C Compiler: gcc

C++ Compiler: g++

Message Loader: inmem

Net Accessor: socket

Transcoder: native

Thread option: pthread

bitsToBuild option: 32

Extra compile options:

Extra link options:

Extra configure options: --prefix=/usr/local/xerces

Debug is OFF

creating cache ./config.cache

checking for gcc... gcc

checking whether the C compiler (gcc -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET ) works... yes

checking whether the C compiler (gcc -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking for c++... g++

checking whether the C++ compiler (g++ -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET ) works... no

configure: error: installation or configuration problem: C++ compiler cannot create executables.

r...@linuxubuntuserver2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc#


Reply via email to