Since version 9.1, git is no longer available from cvs on pgfoundry. Development has switched to using git. The primary git repository is git://github.com/marcmunro/veil.git
To checkout from git, create a suitable directory and do:
git clone git://github.com/marcmunro/veil.git
An alternative repository is also available here: git@bloodnok.com:veil.git
$ pg_config --pgxs
To build the postgres extensions, simply run make with no target:
$ make
To build the veil documentation (the documentation you are now reading) use make docs.
Note that the build system deliberately avoids using make recursively. Search the Web for "Recursive Make Considered Harmful" for the reasons why. This makes the construction of the build system a little different from what you may be used to. This may or may not turn out to be a good thing. Feedback is welcomed.
make install
. make install
shared_preload_libraries = '<path to shared library>/veil.so' custom_variable_classes = 'veil' #veil.dbs_in_cluster = 1 #veil.shared_hash_elems = 32 #veil.shmem_context_size = 16384
The three configuration options, commented out above, are:
make regress
or make check
(after installing and configuring Veil) to run this. You will need superuser access to Postgres in order to create the regression test database. The regression test assumes you will have a postgres superuser account named the same as your OS account. If pg_hba.conf disallows "trust"ed access locally, then you will need to provide a password for this account in your .pgpass file (see postgres documentation for details).The regression tests are all contained within the regress directory and are run by the regress.sh shell script. Use the -h option to get fairly detailed help.
$ make clean; make VEIL_DEBUG=1 all
This is a transient feature and not as pervasive as it could be. If you need help with debugging please contact the author.