You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Mark Gregory <mg...@gt.com.au> on 2009/05/17 11:52:46 UTC

Looking for a patch file

I have been told I need to find
xerces-c-src_2_3_0-DOMWriterImpl-checkFilter.patch 

 

I have googled it and cannot find it. I would appreciate your help
finding this file. If you know where it is please tell me. If you have
it, then I would appreciate it as a zip file.

 

Regards

Mark Gregory

 


xerces patch for ubuntu?

Posted by Mark Gregory <mg...@gt.com.au>.
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

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


xerces patch for ubuntu?

Posted by Mark Gregory <mg...@gt.com.au>.
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

RE: xerces for ubuntu

Posted by Mark Gregory <mg...@gt.com.au>.
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
root@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
root@LINUXUBUNTUServer2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc
#

-----Original Message-----
From: Alberto Massari [mailto:amassari@datadirect.com] 
Sent: Monday, 18 May 2009 10:20 PM
To: c-dev@xerces.apache.org
Cc: c-users@xerces.apache.org
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
>
>
root@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.
>
>
root@LINUXUBUNTUServer2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc
#
>


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


RE: xerces for ubuntu

Posted by Mark Gregory <mg...@gt.com.au>.
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
root@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
root@LINUXUBUNTUServer2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc
#

-----Original Message-----
From: Alberto Massari [mailto:amassari@datadirect.com] 
Sent: Monday, 18 May 2009 10:20 PM
To: c-dev@xerces.apache.org
Cc: c-users@xerces.apache.org
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
>
>
root@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.
>
>
root@LINUXUBUNTUServer2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc
#
>


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: xerces for ubuntu

Posted by Alberto Massari <am...@datadirect.com>.
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
>
> root@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.
>
> root@LINUXUBUNTUServer2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc#
>


Re: xerces for ubuntu

Posted by Alberto Massari <am...@datadirect.com>.
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
>
> root@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.
>
> root@LINUXUBUNTUServer2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc#
>


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: XML-xerces

Posted by Jason Stewart <ja...@gmail.com>.
Hi Mark,

The p-dev list is for Xerces-Perl, you're likely to get more help there.

Just off the top of my head, it seems you are using Perl 5.10 and
there are still unresolved issues getting the Xerces code to compile
with Perl 5.10...

Cheers, jas.

On Thu, May 21, 2009 at 9:52 AM, Mark Gregory <mg...@gt.com.au> wrote:
> I have tried to compile XML-Xerces-2.6.0-2.tar.gz and get the following
> error
> I would appreciate ideas. Environment is ubuntu server and
> build-essentials
> xerces-c-src_2_6_0.tar.gz installed successfully
>
> root@LINUXUBUNTUServer2009:/usr/local/src/XML-Xerces-2.6.0-2# more
> make.log
> make[1]: Entering directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
> make[1]: Leaving directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
> g++ -c  -I. -IHandler -I/usr/local/xerces/include -w
> -DXML_USE_NATIVE_TRANSCODER
>  -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
> -DXML_USE_NETACCESSOR_SOCKET -
> D_REENTRANT -DDEBIAN -D_GNU_SOURCE -O   -DVERSION=\"2.6.0-2\"
> -DXS_VERSION=\"2.6
> .0-2\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Xerces.cpp
> Xerces.cpp:970: error: expected unqualified-id before string constant
> Xerces.cpp:971: error: expected initializer before \u2018*\u2019 token
> Xerces.cpp:976: error: \u2018SwigPerlWrapperPtr\u2019 does not name a
> type
> Xerces.cpp:77000: error: too many initializers for
> \u2018swig_command_info\u2019
> Xerces.cpp:77000: error: too many initializers for
> \u2018swig_command_info\u2019
>
>

Re: XML-xerces

Posted by Alberto Massari <am...@datadirect.com>.
 From what I understand, you are building the Perl wrapper for Xerces-C; 
you should ask this question on p-dev@xerces.apache.org.

Alberto


Mark Gregory ha scritto:
> I have tried to compile XML-Xerces-2.6.0-2.tar.gz and get the following
> error
> I would appreciate ideas. Environment is ubuntu server and
> build-essentials
> xerces-c-src_2_6_0.tar.gz installed successfully
>
> root@LINUXUBUNTUServer2009:/usr/local/src/XML-Xerces-2.6.0-2# more
> make.log
> make[1]: Entering directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
> make[1]: Leaving directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
> g++ -c  -I. -IHandler -I/usr/local/xerces/include -w
> -DXML_USE_NATIVE_TRANSCODER
>  -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
> -DXML_USE_NETACCESSOR_SOCKET -
> D_REENTRANT -DDEBIAN -D_GNU_SOURCE -O   -DVERSION=\"2.6.0-2\"
> -DXS_VERSION=\"2.6
> .0-2\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Xerces.cpp
> Xerces.cpp:970: error: expected unqualified-id before string constant
> Xerces.cpp:971: error: expected initializer before \u2018*\u2019 token
> Xerces.cpp:976: error: \u2018SwigPerlWrapperPtr\u2019 does not name a
> type
> Xerces.cpp:77000: error: too many initializers for
> \u2018swig_command_info\u2019
> Xerces.cpp:77000: error: too many initializers for
> \u2018swig_command_info\u2019
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: XML-xerces

Posted by Jason Stewart <ja...@gmail.com>.
Hi Mark,

The p-dev list is for Xerces-Perl, you're likely to get more help there.

Just off the top of my head, it seems you are using Perl 5.10 and
there are still unresolved issues getting the Xerces code to compile
with Perl 5.10...

Cheers, jas.

On Thu, May 21, 2009 at 9:52 AM, Mark Gregory <mg...@gt.com.au> wrote:
> I have tried to compile XML-Xerces-2.6.0-2.tar.gz and get the following
> error
> I would appreciate ideas. Environment is ubuntu server and
> build-essentials
> xerces-c-src_2_6_0.tar.gz installed successfully
>
> root@LINUXUBUNTUServer2009:/usr/local/src/XML-Xerces-2.6.0-2# more
> make.log
> make[1]: Entering directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
> make[1]: Leaving directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
> g++ -c  -I. -IHandler -I/usr/local/xerces/include -w
> -DXML_USE_NATIVE_TRANSCODER
>  -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
> -DXML_USE_NETACCESSOR_SOCKET -
> D_REENTRANT -DDEBIAN -D_GNU_SOURCE -O   -DVERSION=\"2.6.0-2\"
> -DXS_VERSION=\"2.6
> .0-2\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Xerces.cpp
> Xerces.cpp:970: error: expected unqualified-id before string constant
> Xerces.cpp:971: error: expected initializer before \u2018*\u2019 token
> Xerces.cpp:976: error: \u2018SwigPerlWrapperPtr\u2019 does not name a
> type
> Xerces.cpp:77000: error: too many initializers for
> \u2018swig_command_info\u2019
> Xerces.cpp:77000: error: too many initializers for
> \u2018swig_command_info\u2019
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: p-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: p-dev-help@xerces.apache.org


Re: XML-xerces

Posted by Alberto Massari <am...@datadirect.com>.
 From what I understand, you are building the Perl wrapper for Xerces-C; 
you should ask this question on p-dev@xerces.apache.org.

Alberto


Mark Gregory ha scritto:
> I have tried to compile XML-Xerces-2.6.0-2.tar.gz and get the following
> error
> I would appreciate ideas. Environment is ubuntu server and
> build-essentials
> xerces-c-src_2_6_0.tar.gz installed successfully
>
> root@LINUXUBUNTUServer2009:/usr/local/src/XML-Xerces-2.6.0-2# more
> make.log
> make[1]: Entering directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
> make[1]: Leaving directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
> g++ -c  -I. -IHandler -I/usr/local/xerces/include -w
> -DXML_USE_NATIVE_TRANSCODER
>  -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
> -DXML_USE_NETACCESSOR_SOCKET -
> D_REENTRANT -DDEBIAN -D_GNU_SOURCE -O   -DVERSION=\"2.6.0-2\"
> -DXS_VERSION=\"2.6
> .0-2\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Xerces.cpp
> Xerces.cpp:970: error: expected unqualified-id before string constant
> Xerces.cpp:971: error: expected initializer before \u2018*\u2019 token
> Xerces.cpp:976: error: \u2018SwigPerlWrapperPtr\u2019 does not name a
> type
> Xerces.cpp:77000: error: too many initializers for
> \u2018swig_command_info\u2019
> Xerces.cpp:77000: error: too many initializers for
> \u2018swig_command_info\u2019
>
>
>   


XML-xerces

Posted by Mark Gregory <mg...@gt.com.au>.
I have tried to compile XML-Xerces-2.6.0-2.tar.gz and get the following
error
I would appreciate ideas. Environment is ubuntu server and
build-essentials
xerces-c-src_2_6_0.tar.gz installed successfully

root@LINUXUBUNTUServer2009:/usr/local/src/XML-Xerces-2.6.0-2# more
make.log
make[1]: Entering directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
make[1]: Leaving directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
g++ -c  -I. -IHandler -I/usr/local/xerces/include -w
-DXML_USE_NATIVE_TRANSCODER
 -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET -
D_REENTRANT -DDEBIAN -D_GNU_SOURCE -O   -DVERSION=\"2.6.0-2\"
-DXS_VERSION=\"2.6
.0-2\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Xerces.cpp
Xerces.cpp:970: error: expected unqualified-id before string constant
Xerces.cpp:971: error: expected initializer before \u2018*\u2019 token
Xerces.cpp:976: error: \u2018SwigPerlWrapperPtr\u2019 does not name a
type
Xerces.cpp:77000: error: too many initializers for
\u2018swig_command_info\u2019
Xerces.cpp:77000: error: too many initializers for
\u2018swig_command_info\u2019


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


XML-xerces

Posted by Mark Gregory <mg...@gt.com.au>.
I have tried to compile XML-Xerces-2.6.0-2.tar.gz and get the following
error
I would appreciate ideas. Environment is ubuntu server and
build-essentials
xerces-c-src_2_6_0.tar.gz installed successfully

root@LINUXUBUNTUServer2009:/usr/local/src/XML-Xerces-2.6.0-2# more
make.log
make[1]: Entering directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
make[1]: Leaving directory `/usr/local/src/XML-Xerces-2.6.0-2/Handler'
g++ -c  -I. -IHandler -I/usr/local/xerces/include -w
-DXML_USE_NATIVE_TRANSCODER
 -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET -
D_REENTRANT -DDEBIAN -D_GNU_SOURCE -O   -DVERSION=\"2.6.0-2\"
-DXS_VERSION=\"2.6
.0-2\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Xerces.cpp
Xerces.cpp:970: error: expected unqualified-id before string constant
Xerces.cpp:971: error: expected initializer before \u2018*\u2019 token
Xerces.cpp:976: error: \u2018SwigPerlWrapperPtr\u2019 does not name a
type
Xerces.cpp:77000: error: too many initializers for
\u2018swig_command_info\u2019
Xerces.cpp:77000: error: too many initializers for
\u2018swig_command_info\u2019


RE: xerces for ubuntu

Posted by Mark Gregory <mg...@gt.com.au>.
I found that g++ was not installed in the package manager

Installing it now

Regards
Mark

-----Original Message-----
From: Mark Gregory [mailto:mgregory@gt.com.au] 
Sent: Monday, 18 May 2009 10:30 PM
To: Joseph Bane; c-users@xerces.apache.org; c-dev@xerces.apache.org
Subject: RE: xerces for ubuntu

Hi,

 

libc6-dev is installed - it says version 2.9-4ubuntu6

The libc6-i386-dev is not in the synaptics package manager

 

regards,

Mark

 

 

From: Joseph Bane [mailto:Joseph.Bane@jax.org] 
Sent: Monday, 18 May 2009 10:18 PM
To: c-users@xerces.apache.org; c-dev@xerces.apache.org; Mark Gregory
Subject: Re: xerces for ubuntu

 

Mark,
You probably need to install libc6-i386-dev (or libc-dev for whatever
arch you are using). Check here:
http://ubuntuforums.org/showthread.php?t=17033

Cheers.
~Joe


On 5/18/09 8:10 AM, "Mark Gregory" <mg...@gt.com.au> wrote:

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


----
Joseph Bane
UMaine CS Intern
Dr. Matthew Hibbs' Lab
The Jackson Laboratory
600 Main Street
Bar Harbor, ME 04609
joseph.bane@jax.org


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


RE: xerces for ubuntu

Posted by Mark Gregory <mg...@gt.com.au>.
I found that g++ was not installed in the package manager

Installing it now

Regards
Mark

-----Original Message-----
From: Mark Gregory [mailto:mgregory@gt.com.au] 
Sent: Monday, 18 May 2009 10:30 PM
To: Joseph Bane; c-users@xerces.apache.org; c-dev@xerces.apache.org
Subject: RE: xerces for ubuntu

Hi,

 

libc6-dev is installed - it says version 2.9-4ubuntu6

The libc6-i386-dev is not in the synaptics package manager

 

regards,

Mark

 

 

From: Joseph Bane [mailto:Joseph.Bane@jax.org] 
Sent: Monday, 18 May 2009 10:18 PM
To: c-users@xerces.apache.org; c-dev@xerces.apache.org; Mark Gregory
Subject: Re: xerces for ubuntu

 

Mark,
You probably need to install libc6-i386-dev (or libc-dev for whatever
arch you are using). Check here:
http://ubuntuforums.org/showthread.php?t=17033

Cheers.
~Joe


On 5/18/09 8:10 AM, "Mark Gregory" <mg...@gt.com.au> wrote:

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


----
Joseph Bane
UMaine CS Intern
Dr. Matthew Hibbs' Lab
The Jackson Laboratory
600 Main Street
Bar Harbor, ME 04609
joseph.bane@jax.org


Re: xerces for ubuntu

Posted by Joseph Bane <Jo...@jax.org>.
On 5/18/09 8:29 AM, "Mark Gregory" <mg...@gt.com.au> wrote:

libc6-dev is installed - it says version 2.9-4ubuntu6
The libc6-i386-dev is not in the synaptics package manager

Try installing the "build-essential" package. That should take care of the dependencies. There are some helpful tips in that forum link I sent you. I also agree that having GCC installed is a good idea.

Cheers.
~Joe

----
Joseph Bane
UMaine CS Intern
Dr. Matthew Hibbs' Lab
The Jackson Laboratory
600 Main Street
Bar Harbor, ME 04609
joseph.bane@jax.org

RE: xerces for ubuntu

Posted by Mark Gregory <mg...@gt.com.au>.
Hi,

 

libc6-dev is installed - it says version 2.9-4ubuntu6

The libc6-i386-dev is not in the synaptics package manager

 

regards,

Mark

 

 

From: Joseph Bane [mailto:Joseph.Bane@jax.org] 
Sent: Monday, 18 May 2009 10:18 PM
To: c-users@xerces.apache.org; c-dev@xerces.apache.org; Mark Gregory
Subject: Re: xerces for ubuntu

 

Mark,
You probably need to install libc6-i386-dev (or libc-dev for whatever
arch you are using). Check here:
http://ubuntuforums.org/showthread.php?t=17033

Cheers.
~Joe


On 5/18/09 8:10 AM, "Mark Gregory" <mg...@gt.com.au> wrote:

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


----
Joseph Bane
UMaine CS Intern
Dr. Matthew Hibbs' Lab
The Jackson Laboratory
600 Main Street
Bar Harbor, ME 04609
joseph.bane@jax.org


RE: xerces for ubuntu

Posted by Mark Gregory <mg...@gt.com.au>.
Hi,

 

libc6-dev is installed - it says version 2.9-4ubuntu6

The libc6-i386-dev is not in the synaptics package manager

 

regards,

Mark

 

 

From: Joseph Bane [mailto:Joseph.Bane@jax.org] 
Sent: Monday, 18 May 2009 10:18 PM
To: c-users@xerces.apache.org; c-dev@xerces.apache.org; Mark Gregory
Subject: Re: xerces for ubuntu

 

Mark,
You probably need to install libc6-i386-dev (or libc-dev for whatever
arch you are using). Check here:
http://ubuntuforums.org/showthread.php?t=17033

Cheers.
~Joe


On 5/18/09 8:10 AM, "Mark Gregory" <mg...@gt.com.au> wrote:

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


----
Joseph Bane
UMaine CS Intern
Dr. Matthew Hibbs' Lab
The Jackson Laboratory
600 Main Street
Bar Harbor, ME 04609
joseph.bane@jax.org


Re: xerces for ubuntu

Posted by Joseph Bane <Jo...@jax.org>.
Mark,
You probably need to install libc6-i386-dev (or libc-dev for whatever arch you are using). Check here: http://ubuntuforums.org/showthread.php?t=17033

Cheers.
~Joe


On 5/18/09 8:10 AM, "Mark Gregory" <mg...@gt.com.au> wrote:

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

----
Joseph Bane
UMaine CS Intern
Dr. Matthew Hibbs' Lab
The Jackson Laboratory
600 Main Street
Bar Harbor, ME 04609
joseph.bane@jax.org

xerces for ubuntu

Posted by Mark Gregory <mg...@gt.com.au>.
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

 

root@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.

root@LINUXUBUNTUServer2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc
#


RE: Looking for a patch file

Posted by Mark Gregory <mg...@gt.com.au>.
I have found the files,

 

Thank you

Mark Gregory

 

From: Mark Gregory [mailto:mgregory@gt.com.au] 
Sent: Sunday, 17 May 2009 7:53 PM
To: c-users@xerces.apache.org; c-dev@xerces.apache.org
Subject: Looking for a patch file

 

I have been told I need to find
xerces-c-src_2_3_0-DOMWriterImpl-checkFilter.patch 

 

I have googled it and cannot find it. I would appreciate your help
finding this file. If you know where it is please tell me. If you have
it, then I would appreciate it as a zip file.

 

Regards

Mark Gregory

 


xerces for ubuntu

Posted by Mark Gregory <mg...@gt.com.au>.
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

 

root@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.

root@LINUXUBUNTUServer2009:/usr/local/src/xerces-c-src_2_6_0/src/xercesc
#


RE: Looking for a patch file

Posted by Mark Gregory <mg...@gt.com.au>.
I have found the files,

 

Thank you

Mark Gregory

 

From: Mark Gregory [mailto:mgregory@gt.com.au] 
Sent: Sunday, 17 May 2009 7:53 PM
To: c-users@xerces.apache.org; c-dev@xerces.apache.org
Subject: Looking for a patch file

 

I have been told I need to find
xerces-c-src_2_3_0-DOMWriterImpl-checkFilter.patch 

 

I have googled it and cannot find it. I would appreciate your help
finding this file. If you know where it is please tell me. If you have
it, then I would appreciate it as a zip file.

 

Regards

Mark Gregory