[OpenAFS-devel] Building openafs on SmartOS?

Harald Barth haba@kth.se
Fri, 01 Nov 2013 15:11:56 +0100 (CET)


> My goal is to get OpenAFS built on SmartOS (with the eventual plan
> to make the somewhat neglected build in pkgsrc -- or at least my own
> fork of Joyent's pkgsrc repo -- work again, as I'd like to be able
> to make SmartMachines OpenAFS clients. However, it looks like
> there's still a hard dependency on Sun Studio for Solaris-based
> builds.

Or even worse, the install location of /opt/SUNWspro/ for it.

See the result of find . -type f | xargs grep 'SUNWspro'

You probably have to write some more stuff in acinclude.m4 and rebuild
confgure. Then the question is which param file is chosen (of all the
ones in src/config).

> Do I have to do anything cute to make OpenAFS build on a
> Solaris-derivative without Studio?

To start with, that depends if your derivative still makes
./build-tools/config.guess to says its *solaris*. I don't think the
OpenAFS build system currently works with something that says its
solaris and gcc, independet of then the kernel module would work with
the kernel in question.

Harald.