[OpenAFS-devel] Building openafs on SmartOS?
Coy Hile
Coy.Hile@COYHILE.COM
Fri, 1 Nov 2013 11:55:01 +0000
--_000_46a48849401e482ebb10a7cc6a0a1eb2exch01COYHILECOM_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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. Even when I set CC=3D/opt/local/bin/=
gcc, configure complains that it can't find studio, and suggests that I set=
$SOLARISCC.
If I set SOLARISCC=3D/opt/local/bin/gcc, the build at least begins, but it =
looks like CFLAGS still expects studio, as it starts sending -mt as part of=
CFLAGS (which it apears gcc doesn't understand.)
Do I have to do anything cute to make OpenAFS build on a Solaris-derivative=
without Studio? In a pinch, I could probably hack up a local SmartOS buil=
d that includes the bits from the solaris 11 binary tarball, but that's not=
necessarily maintainable long-term.
-c
--_000_46a48849401e482ebb10a7cc6a0a1eb2exch01COYHILECOM_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html tabindex=3D"0">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<style type=3D"text/css" id=3D"owaParaStyle" style=3D"display: none;">P {ma=
rgin-top:0;margin-bottom:0;}</style>
</head>
<body dir=3D"ltr" fpstyle=3D"1" aria-label=3D"Message body">
<div style=3D"font-family: Tahoma;font-size: 10pt;color: #000000;margin: 0;=
">My goal is to get OpenAFS built on SmartOS (with the eventual plan to mak=
e the somewhat neglected build in pkgsrc -- or at least my own fork of Joye=
nt'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-bas=
ed builds. Even when I set CC=3D/opt/local/bin/gcc, configure complai=
ns that it can't find studio, and suggests that
I set $SOLARISCC.<br>
<br>
If I set SOLARISCC=3D/opt/local/bin/gcc, the build at least begins, but it =
looks like CFLAGS still expects studio, as it starts sending -mt as part of=
CFLAGS (which it apears gcc doesn't understand.)<br>
<br>
Do I have to do anything cute to make OpenAFS build on a Solaris-derivative=
without Studio? In a pinch, I could probably hack up a local SmartOS=
build that includes the bits from the solaris 11 binary tarball, but that'=
s not necessarily maintainable long-term.<br>
<br>
-c</div>
</body>
</html>
--_000_46a48849401e482ebb10a7cc6a0a1eb2exch01COYHILECOM_--