pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 2016Q2 - Darwin - can't build OpenSSL

* On 2016-07-13 at 17:07 BST, Louis Guillaume wrote:

> Looks like openssl is having trouble configuring on OS X...
> ===> Configuring for openssl-1.0.2hnb1
> cd /opt/pkgobj/security/openssl/work/openssl-1.0.2h && /opt/pkg/bin/perl
> util/ /opt/pkg/bin/perl
> Configuring for darwin64-i386-cc
> Usage: Configure [no-<cipher> ...] [enable-<cipher> ...]
> [experimental-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx]
> [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic]
> [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR]
> [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity]
> os/compiler[:flags]
> pick os/compiler from:
>   ... long list of compilers ...
> In mk.conf I have no options for openssl, and these properties...
> PKGSRC_COMPILER=        clang
> CONFIG_SHELL=           /bin/bash
> ABI=			64

The order of the variables here suggests you added ABI yourself after
bootstrap, which won't work.  You need to bootstrap with --abi set to
your desired ABI so that ABI and MACHINE_ARCH from bmake are in sync.

If that's not the case, then it's likely due to an older bootstrap
which hasn't rebuilt bmake with the correct MACHINE_ARCH encoded into
it, in which case you can either follow the permament fix instruction

or you can temporarily work around the problem by hardcoding


in your mk.conf.

Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index