Come installare Monkeysphere su OSX El Capitan

2

Ho provato a installare Monkeysphere tramite Homebrew ma si lamenta di una dipendenza non soddisfatta.

monkeysphere: Unsatisfied dependency: Crypt::OpenSSL::Bignum
Homebrew does not provide Perl dependencies; install with:
   cpan -i Crypt::OpenSSL::Bignum
Error: An unsatisfied requirement failed this build.

Quindi ho tentato di eseguire il comando sopracitato e verso la fine è stato eliminato.

Writing Makefile for Crypt::OpenSSL::Bignum
Writing MYMETA.yml and MYMETA.json
cp Bignum/CTX.pm blib/lib/Crypt/OpenSSL/Bignum/CTX.pm
cp Bignum.pm blib/lib/Crypt/OpenSSL/Bignum.pm
/usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp  -typemap     /System/Library/Perl/5.18/ExtUtils/typemap -typemap typemap  Bignum.xs > Bignum.xsc && mv Bignum.xsc Bignum.c
Please specify prototyping behavior for Bignum.xs (see perlxs manual)
cc -c   -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os   -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\"  "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"  -DPERL5 -DOPENSSL_NO_KRB5 Bignum.c
Bignum.xs:5:10: fatal error: 'openssl/err.h' file not found
#include <openssl/err.h>
     ^
1 error generated.
make: *** [Bignum.o] Error 1
KMX/Crypt-OpenSSL-Bignum-0.06.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
    
posta davidcondrey 17.02.2016 - 02:46
fonte

1 risposta

0

Ho funzionato in questo modo

#configure perl
sudo perl -MCPAN -e shell
perl> o conf init
#update perl (this takes a while)
sudo perl -MCPAN -e 'install Bundle::CPAN'
#link openssl
brew link openssl --force
#installing this dependency that monkeysphere was originally complaining about
cpan -i Crypt::OpenSSL::Bignum
#installing monkeysphere
brew install monkeysphere
    
risposta data 17.02.2016 - 03:06
fonte

Leggi altre domande sui tag