[xsd-users] Building xsd+dep

Jon Winn jon.k.winn at rrd.com
Fri Nov 13 19:59:42 EST 2015


I believe I have all the dependencies installed now, but when I do *make* in
the xsd-4.0.0 directory, I get hit immediately with this error:

$ make verbose=1
g++ -I/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd
-I/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd     -g  -I
/home/lpjkw1/local/include -I /apps/xerces_3.1.2/include -I
/apps/powerstream/pdev/jwinn/libxsd-frontend-2.0.0 -I
/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd  -o
/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd/xsd.o -c
/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd/xsd.cxx
/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd/xsd.cxx:23:32: error:
cxx/tree/options.hxx: No such file or directory
/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd/xsd.cxx:24:34: error:
cxx/parser/options.hxx: No such file or
directory/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd/xsd.cxx:34:23: error:
options.hxx: No such file or directory
In file included from /apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd/xsd.cxx:26:
/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd/cxx/tree/generator.hxx:30:
error: 'options' has not been declared
In file included from /apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd/xsd.cxx:27:
/apps/powerstream/pdev/jwinn/xsd-4.0.0/xsd/cxx/parser/generator.hxx:30:
error: 'options' has not been declared
.....

​Any ideas?  JKW​


On Thu, Nov 12, 2015 at 8:05 AM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Hi Jon,
>
> Jon Winn <jon.k.winn at rrd.com> writes:
>
> > I'm trying to build xsd from source so I cloned the xsd+dep git repo.
>
> xsd+dep in the repository is an "overlay". You have to actually copy
> all the "dependencies" into it before it can be built. Here is the
> fragment of the script that assembles xsd+dep:
>
> cd xsd+dep
> git archive master | tar -x -C ../xsd-$v+dep
> cd ../xsd-$v+dep
> rsync -aq --copy-unsafe-links ../xsd-$v/ xsd/
> cd ..
>
> # Copy libcult
> #
> rsync -aq --copy-unsafe-links ../cutl/libcutl-$cv/ xsd-$v+dep/libcutl/
>
> # Copy libxsd-fe
> #
> rsync -aq --copy-unsafe-links libxsd-frontend-$xfv/
> xsd-$v+dep/libxsd-frontend/
>
> # Install build
> #
> make -C ../build/build-$bv install_inc_dir=`pwd`/xsd-$v+dep install
>
> In this light, if your goal is to be able to keep building the latest
> repository, then xsd+dep is probably not very useful. It will be more
> straightforward to just clone and build all the dependencies individually.
>
> Boris
>


More information about the xsd-users mailing list