It says it cannot find the compiler. I guess installing a g++ compiler
might help ;)

I will do this and see what happens.

I also found there is a package for ubuntu libxml-xerces-perl I will
install this until I find out more

I was told to use xerces-c-src_2_6_0.tar.gz and to apply this patch
before building xerces-c-src_2_6_0__DOMWriterImpl-checkFilter.patch

Am I on the right track if I use the ubuntu package and hope that this
patch was put into the later xerces builds?

Regards,
Mark
r...@linuxubuntuserver2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc
# g++ --version
The program 'g++' can be found in the following packages:
 * g++
 * pentium-builder
Try: apt-get install <selected package>
-su: g++: command not found
r...@linuxubuntuserver2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc
#

-----Original Message-----
From: Alberto Massari [mailto:[email protected]] 
Sent: Monday, 18 May 2009 10:20 PM
To: [email protected]
Cc: [email protected]
Subject: Re: xerces for ubuntu

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
#
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to