XML LIB

Hi All.

Are there any XML 1.0 support functions for QNX 4?

TIA

Augie

On 2006-07-12 01:22:14 +1000, “Augie” <augiehenriques@hotmail.com> said:

Hi All.

Are there any XML 1.0 support functions for QNX 4?

We use libxml2 (www.xmlsoft.org)

Rob Rutherford
Ruzz Technology

Rob,

Thanks. I found libxml2, but I had trouble installing.

I ran ./configure and a got an error…

configure: error: no acceptable ld found in $PATH.

Did you get this error?

I set a symbolic link for ld to wlib and still I get the problem.

TIA

Augie

“Robert Rutherford” <ruzz@NoSpamPlease.ruzz.com> wrote in message
news:2006071321490416807-ruzz@NoSpamPleaseruzzcom…

On 2006-07-12 01:22:14 +1000, “Augie” <> augiehenriques@hotmail.com> > said:

Hi All.

Are there any XML 1.0 support functions for QNX 4?


We use libxml2 (> www.xmlsoft.org> )

Rob Rutherford
Ruzz Technology

On 2006-07-13 23:14:41 +1000, “Augie” <augiehenriques@hotmail.com> said:

Rob,

Thanks. I found libxml2, but I had trouble installing.

I ran ./configure and a got an error…

configure: error: no acceptable ld found in $PATH.

We use version 2.6.14 which is from September 2004. We have had no need
to update (but we are not exactly heavy users of the lib).

It builds OK for us with the following configure command:

$ CC=cc CXX=CC LD=cc CPP=“cc -E” CXXCPP=“CC -E” CFLAGS="-mf -j -zp4 -5r"
CXXFLAGS="-mf -j -zp4 -5r" ./configure

Augie I will email you a copy that is built from this.

Rob Rutherford
Ruzz Technology

Rob,

Thanks. I got the configure to work.

When I typed ‘make’ it had nothing to do.

Which Makefile do we use (where is it)?

TIA

Augie

“Robert Rutherford” <ruzz@NoSpamPlease.ruzz.com> wrote in message
news:2006071714040916807-ruzz@NoSpamPleaseruzzcom…

On 2006-07-13 23:14:41 +1000, “Augie” <> augiehenriques@hotmail.com> > said:

Rob,

Thanks. I found libxml2, but I had trouble installing.

I ran ./configure and a got an error…

configure: error: no acceptable ld found in $PATH.


We use version 2.6.14 which is from September 2004. We have had no need to
update (but we are not exactly heavy users of the lib).

It builds OK for us with the following configure command:

$ CC=cc CXX=CC LD=cc CPP=“cc -E” CXXCPP=“CC -E” CFLAGS="-mf -j -zp4 -5r"
CXXFLAGS="-mf -j -zp4 -5r" ./configure

Augie I will email you a copy that is built from this.

Rob Rutherford
Ruzz Technology

On Mon, 17 Jul 2006 08:04:09 +0400, Robert Rutherford
<ruzz@NoSpamPlease.ruzz.com> wrote:

It builds OK for us with the following configure command:

$ CC=cc CXX=CC LD=cc CPP=“cc -E” CXXCPP=“CC -E” CFLAGS="-mf -j -zp4 -5r"

CXXFLAGS="-mf -j -zp4 -5r" ./configure
If I do this for v2.6.26 the “./configure” fails with "error:

C++ preprocessor “CC” fails sanity check" message.

However, if I do just “./configure” - it completes OK.
Then I need to change this:
— libxml2-2.6.26/xmlwriter.c 2006-04-27 12:09:22.000000000 +0400
+++ libxml2-2.6.26-QNX4/xmlwriter.c 2006-08-02 19:21:40.000000000 +0400
@@ -38,7 +38,11 @@
#ifdef HAVE___VA_COPY
#define VA_COPY(dest,src) __va_copy(dest, src)
#else

  • #ifdef QNX
  • #define VA_COPY(dest,src) memcpy(dest, src, sizeof(dest))
    
  • #else
    #define VA_COPY(dest,src) (dest) = (src)
  • #endif
    #endif
    #endif
    #endif

The “make” now goes on and on untill I get the error from my compiler
“Internal limit exceeded, try splitting ‘testapi.c’ into smaller modules”.
Indeed, the ‘testapi.c’ is over 1.5MB, a biggie one!

What would you suggest?
I’m on Watcom C v10.6B + Security Patch.

Tony.

On Wed, 02 Aug 2006 19:43:59 +0400, Tony <mts.spb.suxx@mail.ru> wrote:

If I do this for v2.6.26 the “./configure” fails with “error:
C++ preprocessor “CC” fails sanity check” message.
I tryed your environment settings with v2.6.14 - the same “./configure”'s

error message about failng sanity check.

Yet again, running the “./configure” on itself allows to start "make"ing
the library. This one compiles but I’m not shure if it is usable: the
“make check” produces lots of suspicious messages and I see some
“Segmentation fault” in process…

The library (v2.6.14 one) is around 2.9MB.

Please comment.
(And if possible - send me your binaries, please!)

Tony.

Robert,

I finally gave up and made up my own make file.

I was able to make the lib after changing a few things in some of the files,
specially the config.h

Thank you very much for all your help.

Best Regards,

Augie

“Robert Rutherford” <ruzz@NoSpamPlease.ruzz.com> wrote in message
news:2006071714040916807-ruzz@NoSpamPleaseruzzcom…

On 2006-07-13 23:14:41 +1000, “Augie” <> augiehenriques@hotmail.com> > said:

Rob,

Thanks. I found libxml2, but I had trouble installing.

I ran ./configure and a got an error…

configure: error: no acceptable ld found in $PATH.


We use version 2.6.14 which is from September 2004. We have had no need to
update (but we are not exactly heavy users of the lib).

It builds OK for us with the following configure command:

$ CC=cc CXX=CC LD=cc CPP=“cc -E” CXXCPP=“CC -E” CFLAGS="-mf -j -zp4 -5r"
CXXFLAGS="-mf -j -zp4 -5r" ./configure

Augie I will email you a copy that is built from this.

Rob Rutherford
Ruzz Technology