[xsd-users] xsd compilation problem [SOLVED]

Tomasz Welman tomasz.welman at pl.ibm.com
Thu Sep 9 02:53:40 EDT 2010


Boris Kolpackov <boris at codesynthesis.com> wrote on 09/08/2010 04:28:32 PM:

> Use the files I generated?
> 
> http://www.codesynthesis.com/~boris/tmp/fundamental.hxx
> http://www.codesynthesis.com/~boris/tmp/fundamental.cxx
> 

I've just solved the problem easily.
First what a FreeBSD user have to do is to install GNU m4
(/usr/ports/devel/m4), then download the xsd source with deps,
and in:
build-0.3/m4/m4.make

change:
$(out_base)/%: m4 := m4
to:
$(out_base)/%: m4 := gm4

Then, just run gmake.

Anyway it would be good to add to the documentation, section compilation
dependencies: GNU m4.


PS: Note that on FreeBSD boost is installed in /usr/local/include and 
that's different
from linux, so before running gmake set the CPATH env variable to: 
/usr/local/include


--
Tomasz 'Trog' Welman


More information about the xsd-users mailing list