[OpenAFS-port-darwin] Build configuration for Lion

Derrick Brashear shadow@gmail.com
Wed, 24 Aug 2011 13:57:21 -0400


On Wed, Aug 24, 2011 at 1:52 PM, William Ross <wross@cmf.nrl.navy.mil> wrot=
e:
> What is the release build configuration for 1.6.0 for Lion? I am getting =
the following error when trying to
> run aklog from a build off of HEAD:

well, HEAD isn't 1.6, so you're not going to end up with a 1.6.0 build
by doing that.
you want the openafs-stable-1_6_x branch.

effectively the releases are built:
ARCHFLAGS=3D"-arch i386 -arch x86_64" ./configure
--enable-transarc-paths --with-krb5-conf=3D/usr/bin/krb5-config
--enable-warnings --enable-checking
ARCHFLAGS=3D"-arch i386 -arch x86_64" make dest

and then the installer is created, as root:
ARCHFLAGS=3D"-arch i386 -arch x86_64" make packages


> leo:openafs admin$ aklog
> dyld: lazy symbol binding failed: Symbol not found: _strcasecmp
> =A0 =A0 =A0 =A0Referenced from: /usr/bin/aklog
> =A0 =A0 =A0 =A0Expected in: /usr/lib/librokenafs.dylib.1.1
> dyld: Symbol not found: _strcasecmp
> =A0 =A0 =A0 =A0Referenced from: /usr/bin/aklog
> =A0 =A0 =A0 =A0Expected in: /usr/lib/librokenafs.dylib.1.1
> Trace/BPT trap: 5
>
> I have been using default configure options with the exception that I def=
ined KRB5CONFIG to
> point to a custom MIT Kerberos build. I have tried with the default LLVM-=
GCC, GCC-4.2 and Clang 3.0.
>
> On a related note, would using a custom Kerberos eliminate the need to ha=
ve "allow_weak_crypto =3D true"
> in krb5.conf?

assuming you run configure against it.


--=20
Derrick