[xsd-users] Question about xsd

Gregorio Arvilla Gregorio.Arvilla at epvgroup.com
Tue Jan 23 15:30:58 EST 2007


Hello Boris,

If I generate code for a xsd schema on a Windows machine and then
move that generated code to the HP-UX machine, what do I need to
install on the HP-UX machine to use that code?

Gregorio





-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: Tuesday, January 23, 2007 1:04 PM
To: Gregorio Arvilla
Cc: xsd-users
Subject: Re: [xsd-users] Question about xsd


Hi Gregorio,

Gregorio Arvilla <Gregorio.Arvilla at epvgroup.com> writes:

> I regret to say that I have not been able to compile xsd on
> a HP-UX 11.00 machine. I don't have a lot of experince on
> UNIX environments and I'm learning everything I can about them.

Building XSD can be quite involving especially on older UNIX systems
without GNU tools (gcc, make, etc.), like HP-UX 11.00.


> The project requires that I use the aCC compiler and the
> Korn shell.

Your project probably requires that you use aCC to build *your*
code. It does not really matter what the XSD compiler itself is
built with. I don't think you will be able to build XSD using aCC3
that comes on PA-RISC systems (you might be able to do that with
aCC6 which comes on IA-64). So the idea here is to build the compiler
using GCC and compile the generated code with aCC.


> I followed the build instructions from
> http://www.codesynthesis.com/projects/xsd/extras/build-unix.xhtml.
> I have not even been able to compile the first package, build-0.2.2.tar.bz2,
> this is what I get:
>
> # make install install_prefix=/users/greg/xsd_codeSynthesis/build-0.2.2
> Make: Cannot read or get .  Stop.

You need GNU make (besides other GNU tools) which is covered in the
"Prerequisites" section of the instructions you refer above.

I think at this point it will be much easier for you to compile your
schemas on a different box (e.g., Windows) and simply move them to
HP-UX.


hth,
-boris




More information about the xsd-users mailing list