[xsd-users] Building xsd+dep

Boris Kolpackov boris at codesynthesis.com
Thu Nov 12 10:05:58 EST 2015


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