Yes, I struck the same problem.

The cause is that the "config.guess" module which tries to figure out the
type of the host machine isn't figuring out the CPU type.
For HP at least, the host system type should work out to be
CPUTYPE-hp-hpuxVERSION, where CPUTYPE is "hppa1.0", "hppa1.1" or "hppa2.0"
depending upon the version of PA-RISC cpu in your machine (assuming it is a
PA-RISC!).

My machine type (as reported by uname -m) is "9000/800", which is a
PA-RISC2.0, but is not recognised by config.guess. I fixed the problem by
editing config.guess to insert a "9000/800" entry at the appropriate point
(line 372 in file that comes with Xerces v1_0_1). There are two copies of
this file (src and samples).

There are other ways to fix the problem, eg specifying "./configure -host
'hppa2.0-hp-hpux10.20' ", but that means not using "runConfigure". Also,
specifying -host option means knowing what PA-RISC version you have, while
fixing config.guess at the suggested line tells config.guess that it IS a
PA-RISC, while letting the version be dynamically determined.

Does anyone else out there know who might be interested in information about
missing host types in config.guess? Is this a problem to report to Xerces,
or to the autoconf people?

Regards,
Simon Kitching

> -----Original Message-----
> From: Anne Laure Bourg [SMTP:[EMAIL PROTECTED]
> Sent: Monday, January 03, 2000 5:45 PM
> To:   [EMAIL PROTECTED]
> Subject:      problem while building samples
> 
> Hello,
> 
> Using the XML4c parser under HP UX 11, I get a problem while compiling
> samples:
> after ./runConfigure -p hp-11 -c aCC -x aCC,
> 
> I get the following error :
> 
> checking host system type... Invalid configuartion '-hp-hpux11.00':machine
> 
> '-hp' not recognized
> 
> Thanks for your help
> 
> Anne-Laure

Reply via email to