From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 5902A17DB8A4 for ; Sun, 14 Sep 2014 02:11:52 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 85561B5D8CF for ; Sun, 14 Sep 2014 01:51:57 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id C0D7797A820 for ; Sun, 14 Sep 2014 01:51:58 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mu-d7IO57bL9 for ; Sun, 14 Sep 2014 01:51:58 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 2EA8B97A82B for ; Sun, 14 Sep 2014 01:51:58 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id EE75095241B for ; Sun, 14 Sep 2014 01:51:54 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 4DB5B120443; Sun, 14 Sep 2014 01:51:38 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o10.shared.sendgrid.net (o10.shared.sendgrid.net [173.193.132.135]) by neon.ruby-lang.org (Postfix) with ESMTPS id C567212040C for ; Sun, 14 Sep 2014 01:51:34 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=pTm2zkuW5TL0UWX9OphrniOTr7o=; b=d/X3Aegod3MSaNS+mC AtLLt9SFoGbRv3qLn6w9n6hapx6iriA9BsNkPopK8jFoGhNR2uEjKlODz0OegFHU 80fsThXaIclpBUH24ewwig+GgA5v19ah6DEC7F/qresUusNHTW7lzaM4SVei00x8 3KAJc7+Q+yG+iRrNH1f4N5m1o= Received: by mf240.sendgrid.net with SMTP id mf240.22864.541476102A 2014-09-13 16:51:31.452039664 +0000 UTC Received: from herokuapp.com (ec2-54-91-36-16.compute-1.amazonaws.com [54.91.36.16]) by ismtpd-021.iad1.sendgrid.net (SG) with ESMTP id 1486fed3b93.4725.e69bfb for ; Sat, 13 Sep 2014 16:51:31 +0000 (GMT) Date: Sat, 13 Sep 2014 16:51:31 +0000 From: opt4444@yahoo.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 39250 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 10235 X-Redmine-Issue-Author: opt1c X-Redmine-Sender: opt1c X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: OOF Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS4crGly8Yp+1R/LZuqu9/1mj94CFRvgqh2pxYkM7ZgXwmLJa0k6dhcMvFAy5UpdhUSrT71qrGHGgZOwjF1dawL3AmhK6aY/kLIFQ6/v1uIOtmecc62YfC8MCdBPkENU7Oo= X-ML-Name: ruby-core X-Mail-Count: 65017 Subject: [ruby-core:65017] [ruby-trunk - Bug #10235] make fails to configure OpenSSL on OS X 10.9.4 (Mavericks) X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #10235 has been updated by opt1c -. Please close, installing OpenSSL under my home directory appears to have resolved the problem (though the permissions on /usr/local/ssl looked ok). ---------------------------------------- Bug #10235: make fails to configure OpenSSL on OS X 10.9.4 (Mavericks) https://bugs.ruby-lang.org/issues/10235#change-48889 * Author: opt1c - * Status: Open * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: 2.1.2, 2.1.0 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- "Failed to configure openssl. It will not be installed." OPENSSL ------- $ which openssl /usr/local/ssl/bin/openssl $ openssl version OpenSSL 1.0.1i 6 Aug 2014 As recommended by: https://www.ruby-lang.org/en/news/2014/04/10/severe-openssl-vulnerability/ When installed, OpenSSL was configured with: ./Configure darwin64-x86_64-cc. It works fine. RUBY ---- I've tried both: ./configure --prefix=/Users/me/.rbenv/versions/2.1.2 --with-openssl-dir=/usr/local/ssl ./configure --prefix=/Users/me/.rbenv/versions/2.1.2 --with-openssl-dir=/usr/local/ssl --with-gcc=clang --enable-shared --enable-pthread CFLAGS=-D_XOPEN_SOURCE=1 (As well as attempts including "--with-opt-dir=/usr/local/ssl" which I believe was required of an older Ruby.) ruby-2.1.2/ext/openssl:$ ruby extconf.rb checking for t_open() in -lnsl... no checking for socket() in -lsocket... no checking for assert.h... yes checking for openssl/ssl.h... yes checking for OpenSSL_add_all_digests() in -lcrypto... no checking for OpenSSL_add_all_digests() in -llibeay32... no So errors include: conftest.c:13:57: error: use of undeclared identifier 't_open' conftest.c:13:57: error: use of undeclared identifier 'socket' conftest.c:13:57: error: use of undeclared identifier 'OpenSSL_add_all_digests' I use rbenv and install from source, but I've also since tried rbenv with the ruby-build plugin and it fails, too (as would be expected, based on the above, but it was attempted, anyway). -- https://bugs.ruby-lang.org/