Skip to content
Gary R. Van Sickle edited this page Oct 23, 2016 · 7 revisions

Welcome to the UniversalCodeGrep (ucg) wiki!

OS X Support

As of this 2016-05-03 commit, ucg builds under Apple's OS X Mavericks (version 10.9). It depends only on the argp-standalone and pcre packages from Homebrew. Currently, no OS X ucg binaries or tarballs are available, but building from a git clone is easy. From the root of your git clone:

$ brew update
$ brew install pcre argp-standalone
$ autoreconf -i
$ mkdir build
$ cd build
$ ../configure
$ make
$ make check
(and if all the tests pass...)
$ make install

No tests in the test suite should unexpectedly fail, though the performance tests will be skipped and there is one expected failure. While there are no known OS X-specific issues, please note that none of the core developers (well, me) has direct access to an OS X machine; if you do find any issues, please file as detailed an issue report as you can.

PC-BSD Support

As of this 2016-05-03 commit, ucg builds under PC-BSD 10.3. Since this distro is based on FreeBSD 10.3, it is likely ucg also builds on that platform, but this is untested. Currently, no PC-BSD ucg binaries or tarballs are available, but building from a git clone is easy. From the root of your git clone:

$ autoreconf -i
$ mkdir build
$ cd build
$ ../configure LDFLAGS='-Wl,-rpath=/usr/local/lib/gcc48'
$ make
$ make check
(and if all the tests pass...)
$ make install

No tests in the test suite should unexpectedly fail, though the performance tests will be skipped and there is one expected failure. While there are no known PC-BSD-specific issues, please note that BSD support is still considered experimental; if you do find any issues, please file as detailed an issue report as you can. And a Gold Star to anyone who can tell my why gcc 4.8 on this platform can't find its own libraries without an explicit -rpath.