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 James Berry <jb...@apache.org> on 2005/02/25 00:47:22 UTC
Road to 3.0: and update autoconf status
Just to keep a little excitement going here, I've got a bit of status
on one of the projects for "Xerces 3".
Xerces is building and running tests in a generic autotools-style build
using autoconf/automake/libtool!
- Uses a single large automake generated makefile to build the
entire Xerces src directory.
- Additional automake makefiles for obj, tests, (and samples)
Some benefits of these can be seen already:
- the end of runConfigure: ./configure knows how to pick the
compiler and recognize the platform and other attributes.
- the end of XERCESCROOT: Test programs are generated with
shell-wrappers by libtool to do this for you.
- Support for auto-selection of missing functions, (stricmp, etc.)
- Built-in support for creation of dist archives.
This can't be, and won't be, completed until we move to svn, fork the
trunk, and start work on refactoring more of the platform-level
support, but it's a hopeful start.
-jdb
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Road to 3.0: and update autoconf status
Posted by Gareth Reakes <ga...@parthenoncomputing.com>.
Hey,
Very nice :) Will be fantastic. We have started planning how to
integrate XInclude and are waiting for SVN to start.
Gareth
James Berry wrote:
>
> On Feb 24, 2005, at 4:17 PM, Jay Berkenbilt wrote:
>
>> James Berry <jb...@apache.org> wrote:
>>
>>> Just to keep a little excitement going here, I've got a bit of status
>>> on one of the projects for "Xerces 3".
>>> Xerces is building and running tests in a generic autotools-style
>>> build using autoconf/automake/libtool!
>>> - Uses a single large automake generated makefile to build the
>>> entire Xerces src directory.
>>> - Additional automake makefiles for obj, tests, (and samples)
>>
>> Sounds like another benefit will be the easy creation of static
>> libraries. Is this the plan? Various people have asked for this
>> and/or posted patches to create them.
>
>
> Yes, you can build/install the library as either a shared library or a
> static library. autoconf/libtool supports this out of the box.
>
> -jdb
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Road to 3.0: and update autoconf status
Posted by James Berry <jb...@apache.org>.
On Feb 24, 2005, at 4:17 PM, Jay Berkenbilt wrote:
> James Berry <jb...@apache.org> wrote:
>> Just to keep a little excitement going here, I've got a bit of status
>> on one of the projects for "Xerces 3".
>> Xerces is building and running tests in a generic autotools-style
>> build using autoconf/automake/libtool!
>> - Uses a single large automake generated makefile to build the
>> entire Xerces src directory.
>> - Additional automake makefiles for obj, tests, (and samples)
> Sounds like another benefit will be the easy creation of static
> libraries. Is this the plan? Various people have asked for this
> and/or posted patches to create them.
Yes, you can build/install the library as either a shared library or a
static library. autoconf/libtool supports this out of the box.
-jdb
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Road to 3.0: and update autoconf status
Posted by Jay Berkenbilt <ej...@ql.org>.
James Berry <jb...@apache.org> wrote:
> Just to keep a little excitement going here, I've got a bit of status
> on one of the projects for "Xerces 3".
>
> Xerces is building and running tests in a generic autotools-style
> build using autoconf/automake/libtool!
>
> - Uses a single large automake generated makefile to build the
> entire Xerces src directory.
> - Additional automake makefiles for obj, tests, (and samples)
Sounds like another benefit will be the easy creation of static
libraries. Is this the plan? Various people have asked for this
and/or posted patches to create them.
Thanks!
--
Jay Berkenbilt <ej...@ql.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Road to 3.0: and update autoconf status
Posted by James Berry <jb...@apache.org>.
On Feb 25, 2005, at 1:32 AM, Alberto Massari wrote:
> Good job James!
> One of the things I hate about the current structure is that I am
> forced to run runConfigure with the same arguments three times, for
> the sources, the samples and the tests. Will the new ./configure be
> placed in the "c" folder and automatically generate the three
> Makefiles?
> Alberto
Yes, this is how it's set up. There will be a single configure script
in the c directory. It configures a top-level Makefile in the src
directory (which builds the src into some "convenience" libraries), and
additional, recursively called, Makefiles in the obj directory (to
actually build libXerces from the convenience libraries), test
directory (to build the tests), and (not yet written) the samples
directory.
So yes, you'll only need to configure once. You'll only need to "make"
once too, from the top level, to build everything.
Despite the fact that there will be four Makefiles, this is a dramatic
reduction from the number we have currently (with one per directory in
most cases). I subscribe to the belief that it's better to have fewer
Makefiles:
http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html.
-jdb
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Road to 3.0: and update autoconf status
Posted by Gareth Reakes <ga...@parthenoncomputing.com>.
Hey,
The nice thing about the more recent versions of Pathan are that they
integrate properly as DOM suggests. All you have to do is ask for an
implementation with XPath as a feature and you can use the DOM Level 3
XPath Document stuff.
Gareth
James Berry wrote:
>
> On Feb 25, 2005, at 1:33 AM, Gareth Reakes wrote:
>
>> Hey,
>> I have had another thought. Can we add options to include Xalan /
>> Pathan during the build? Either by pointing to where they are or even
>> downloading them? XPath support is frequently asked for and there is
>> no chance we will have it soon.
>> Gareth
>
>
> Hi Gareth. This is certainly possible, and just a matter of the time to
> get it done.
>
> We should be able to add an option:
>
> --with-pathan=/path/to/pathan
>
> or (maybe)
>
> --with-xalan=/...
>
> To our configure script. I already have support for some other external
> software:
>
> --with-curl (enables use of the libcurl netaccessor, yet to be
> written ... ;)
> --with-libwww (enables use of the libwww netaccessor)
>
> -jdb
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Road to 3.0: and update autoconf status
Posted by James Berry <jb...@apache.org>.
On Feb 25, 2005, at 1:33 AM, Gareth Reakes wrote:
> Hey,
> I have had another thought. Can we add options to include Xalan /
> Pathan during the build? Either by pointing to where they are or even
> downloading them? XPath support is frequently asked for and there is
> no chance we will have it soon.
> Gareth
Hi Gareth. This is certainly possible, and just a matter of the time to
get it done.
We should be able to add an option:
--with-pathan=/path/to/pathan
or (maybe)
--with-xalan=/...
To our configure script. I already have support for some other external
software:
--with-curl (enables use of the libcurl netaccessor, yet to be
written ... ;)
--with-libwww (enables use of the libwww netaccessor)
-jdb
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Road to 3.0: and update autoconf status
Posted by Gareth Reakes <ga...@parthenoncomputing.com>.
Hey,
I have had another thought. Can we add options to include Xalan /
Pathan during the build? Either by pointing to where they are or even
downloading them? XPath support is frequently asked for and there is no
chance we will have it soon.
Gareth
Alberto Massari wrote:
> Good job James!
> One of the things I hate about the current structure is that I am forced
> to run runConfigure with the same arguments three times, for the
> sources, the samples and the tests. Will the new ./configure be placed
> in the "c" folder and automatically generate the three Makefiles?
>
> Alberto
>
> At 15.47 24/02/2005 -0800, James Berry wrote:
>
>> Just to keep a little excitement going here, I've got a bit of status
>> on one of the projects for "Xerces 3".
>>
>> Xerces is building and running tests in a generic autotools-style
>> build using autoconf/automake/libtool!
>>
>> - Uses a single large automake generated makefile to build the
>> entire Xerces src directory.
>> - Additional automake makefiles for obj, tests, (and samples)
>>
>> Some benefits of these can be seen already:
>>
>> - the end of runConfigure: ./configure knows how to pick the
>> compiler and recognize the platform and other attributes.
>> - the end of XERCESCROOT: Test programs are generated with
>> shell-wrappers by libtool to do this for you.
>> - Support for auto-selection of missing functions, (stricmp, etc.)
>> - Built-in support for creation of dist archives.
>>
>> This can't be, and won't be, completed until we move to svn, fork the
>> trunk, and start work on refactoring more of the platform-level
>> support, but it's a hopeful start.
>>
>> -jdb
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
>> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Road to 3.0: and update autoconf status
Posted by Alberto Massari <am...@datadirect.com>.
Good job James!
One of the things I hate about the current structure is that I am forced to
run runConfigure with the same arguments three times, for the sources, the
samples and the tests. Will the new ./configure be placed in the "c" folder
and automatically generate the three Makefiles?
Alberto
At 15.47 24/02/2005 -0800, James Berry wrote:
>Just to keep a little excitement going here, I've got a bit of status on
>one of the projects for "Xerces 3".
>
>Xerces is building and running tests in a generic autotools-style build
>using autoconf/automake/libtool!
>
> - Uses a single large automake generated makefile to build the entire
> Xerces src directory.
> - Additional automake makefiles for obj, tests, (and samples)
>
>Some benefits of these can be seen already:
>
> - the end of runConfigure: ./configure knows how to pick the compiler
> and recognize the platform and other attributes.
> - the end of XERCESCROOT: Test programs are generated with
> shell-wrappers by libtool to do this for you.
> - Support for auto-selection of missing functions, (stricmp, etc.)
> - Built-in support for creation of dist archives.
>
>This can't be, and won't be, completed until we move to svn, fork the
>trunk, and start work on refactoring more of the platform-level support,
>but it's a hopeful start.
>
>-jdb
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org