Hi Tim,

On Mar 17, 2005, at 9:20 AM, Tim Arney wrote:

Hi Gareth and James,

James: I'm afraid to say it the next release date hurts a bit more than it helps. I was hoping to have my xerces-c issues resolved within a week.

I should make sure it's clear that my comments about potential release dates were confined to the "new" 3.x Xerces currently being planned (which is where we plan to update the build process). There will likely be a release on the 2.x branch before then, but no major build process improvements are currently planned therein.



I have made a little bit of progress in diagnosing my problem, so maybe you can help me solve it properly so xerces-c supports QNX. If you don't recall, the problem was that I was getting a heap of these errors during configure:

It appears to me that the code you're looking at was a misguided hack to the configure file, possibly not generated by autoconf. configure _should_ be code that is auto-generated from configure.in by autoconf, but I don't believe that's necessarily the case at this point in with Xerces; patches may have been made directly to the auto-generated output.


I would recommend the following course of action, as a test, anyway: simply use autoconf to auto-generate configure on your system from the configure.in input file. On my system, anyway, the output generated for the sed command below is significantly different, and approaches the EOL handling in a different way; I'm running autoconf 2.59 locally. The configure currently shipped with Xerces was originally generated by autoconf 2.13, according to the comment at the top of the file. In any event, using a recent version of autoconf should "ensure" that the generated code supports your platform. YMMV, but autoconf has been around the block a great many times.

Please report back on the success of approach; we might consider the repercussions of shipping an updated configure that's been generated by a more recent autoconf.

-jdb


creating Makefile
sed: file conftest.s1 line 8: Unterminated `s' command
It seems the problem stems from lines 1461-1462 of src/xercesc/configure (under Xerces-C_2_6_0):


if test "$platform"="OS400" || test "$platform" = "OS390";then
DEFS=`sed -f conftest.defs confdefs.h | tr '\n' ' '`

The result seems to be that DEFS spans multiple lines in config.status, which when fed into sed it barfs. So I hacked at it to remove the new line character '\n', resulting in valid Makefiles, but when building I come across some compile errors which I'll look at soon. For a more permanent solution though, I'm not sure if under QNX this conditional statement should be executed, or a different variant?

Cheers,
Tim





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to