You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by OBD <1b...@gmail.com> on 2011/11/10 13:10:32 UTC

Building xerces on HP-UX using gcc

Has anybody tried building xerces on HP-UX (11.00) using gcc?
Can somebody be kind enough to tell me how to proceed (if it is at all
possible)?


Thanks for any information.

Re: Building xerces on HP-UX using gcc

Posted by OBD <1b...@gmail.com>.
On 11 November 2011 00:34, Dantzler, DeWayne C
<de...@boeing.com> wrote:
> Hello
>
> The Xerces documentation http://xerces.apache.org/xerces-c/build-3.html on configuring and building Xerces is extremely helpful. I built and installed xerces on HP-UX using the aCC compiler using the configure script(comes in the download) with the following invocation: Note, I needed to get xerces to work with the curl library, so I have extra configure options which you will not need. You need to decide where to place things for your system. I choose /site/sw/ots on my system.
>
> (1) ./configure --prefix=/site/sw/ots/xerces/xerces-c-3.0.1 --exec-prefix=/site/sw/ots/xerces/xerces-c-3.0.1 CXX=/opt/aCC/bin/aCC CXXFLAGS="-Aa -mt -g" CPPFLAGS="-I/site/sw/ots/curl/curl-7.19.6/include"  --enable-netaccessor-curl
> --with-curl=/site/sw/ots/curl/curl-7.19.6
>
> (2) /site/sw/ots/gmake/make-3.81/bin/gmake
> (3) /site/sw/ots/gmake/make-3.81/bin/gmake check (optional)
> (4) /site/sw/ots/gmake/make-3.81/bin/gmake install
>
>
> Hope this helps


Thanks DeWayne, I could get xerces built.

-OBD

RE: Building xerces on HP-UX using gcc

Posted by "Dantzler, DeWayne C" <de...@boeing.com>.
Hello

The Xerces documentation http://xerces.apache.org/xerces-c/build-3.html on configuring and building Xerces is extremely helpful. I built and installed xerces on HP-UX using the aCC compiler using the configure script(comes in the download) with the following invocation: Note, I needed to get xerces to work with the curl library, so I have extra configure options which you will not need. You need to decide where to place things for your system. I choose /site/sw/ots on my system.

(1) ./configure --prefix=/site/sw/ots/xerces/xerces-c-3.0.1 --exec-prefix=/site/sw/ots/xerces/xerces-c-3.0.1 CXX=/opt/aCC/bin/aCC CXXFLAGS="-Aa -mt -g" CPPFLAGS="-I/site/sw/ots/curl/curl-7.19.6/include"  --enable-netaccessor-curl  
--with-curl=/site/sw/ots/curl/curl-7.19.6 

(2) /site/sw/ots/gmake/make-3.81/bin/gmake
(3) /site/sw/ots/gmake/make-3.81/bin/gmake check (optional)
(4) /site/sw/ots/gmake/make-3.81/bin/gmake install


Hope this helps

-----Original Message-----
From: neerajcd@gmail.com [mailto:neerajcd@gmail.com] On Behalf Of OBD
Sent: Thursday, November 10, 2011 4:15 AM
To: c-users@xerces.apache.org
Subject: Re: Building xerces on HP-UX using gcc

On 10 November 2011 17:40, OBD <1b...@gmail.com> wrote:
> Has anybody tried building xerces on HP-UX (11.00) using gcc?
> Can somebody be kind enough to tell me how to proceed (if it is at all
> possible)?
>
>
> Thanks for any information.
>

For the record, I am trying to build xercer 2.8.


-OBD

Re: Building xerces on HP-UX using gcc

Posted by OBD <1b...@gmail.com>.
On 10 November 2011 17:40, OBD <1b...@gmail.com> wrote:
> Has anybody tried building xerces on HP-UX (11.00) using gcc?
> Can somebody be kind enough to tell me how to proceed (if it is at all
> possible)?
>
>
> Thanks for any information.
>

For the record, I am trying to build xercer 2.8.


-OBD