Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using HomeBrew as a package manager. The operating system that I am using is Mountain Lion. I just tried to install openssl using the command : brew install openssl What I am getting is the following error :

==> Downloading http://openssl.org/source/openssl-1.0.1c.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssl-1.0.1c.tar.gz
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1c --openssldir=/usr/local/etc/openssl zlib-dynamic shared d
==> make
==> make test
==> make install MANDIR=/usr/local/Cellar/openssl/1.0.1c/share/man MANSUFFIX=ssl
created directory `/usr/local/Cellar/openssl/1.0.1c/lib/engines'
created directory `/usr/local/Cellar/openssl/1.0.1c/lib/pkgconfig'
created directory `/usr/local/Cellar/openssl/1.0.1c/include'
created directory `/usr/local/Cellar/openssl/1.0.1c/include/openssl'
make: *** [install_sw] Error 13

Error: openssl did not build
Logs: /Users/Administrator/Library/Logs/Homebrew/openssl/

Any ideas on how to overcome this? Thank you.

share|improve this question
    
What does the log say? Have you updated Homebrew to the latest version? –  slhck Oct 11 '12 at 14:36
    
Yes brew is the latest version (using 'brew update') –  skiabox Oct 11 '12 at 14:59
    
There are 4 log files but they're too big to post them here. –  skiabox Oct 11 '12 at 15:01
    
You can just post the most relevant lines or paste them somewhere else –  slhck Oct 11 '12 at 15:21

2 Answers 2

This is likely a user write permissions error, but checking the log will verify.

See gist for more details: https://gist.github.com/devinbrown/5084433

share|improve this answer

I had this error on my Mac 10.8.4

brew install openssl

created directory `/usr/local/Cellar/openssl/1.0.1e/include/openssl' make: * [install_sw] Error 13

Follow these steps to resolve it :

  1. Create a directory if it's not exist

    sudo mkdir /usr/local/etc/openssl

  2. Change the rights. Replace and with your name and group (e.g. serge:admin)

    sudo chown -R <username>:<group> /usr/local/etc/openssl/

  3. Repeat openssl installation

    brew install openssl

  4. Install curl-ca-bundle

    brew install curl-ca-bundle

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.