{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/44099","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44099/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44099/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44099/events","html_url":"https://github.com/Homebrew/homebrew/issues/44099","id":107186419,"number":44099,"title":"\"epic5\" Fails to Install (Can't Find OpenSSL)","user":{"login":"the-real-tokai","id":8261828,"avatar_url":"https://avatars.githubusercontent.com/u/8261828?v=3","gravatar_id":"","url":"https://api.github.com/users/the-real-tokai","html_url":"https://github.com/the-real-tokai","followers_url":"https://api.github.com/users/the-real-tokai/followers","following_url":"https://api.github.com/users/the-real-tokai/following{/other_user}","gists_url":"https://api.github.com/users/the-real-tokai/gists{/gist_id}","starred_url":"https://api.github.com/users/the-real-tokai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-real-tokai/subscriptions","organizations_url":"https://api.github.com/users/the-real-tokai/orgs","repos_url":"https://api.github.com/users/the-real-tokai/repos","events_url":"https://api.github.com/users/the-real-tokai/events{/privacy}","received_events_url":"https://api.github.com/users/the-real-tokai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-18T11:45:45Z","updated_at":"2015-09-18T15:40:07Z","closed_at":"2015-09-18T13:32:47Z","body":"The **epic5** formula doesn't install for me (doesn't find `openssl` dependencies (only after system hacks) and other issues). Maybe someone has an idea…\r\n\r\n```\r\n$ brew -v install epic5\r\nHomebrew 0.9.5 (git revision f88ce; last commit 2015-09-18)\r\n==> Downloading http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/epic5-1.2.0.tar.xz\r\nAlready downloaded: /Library/Caches/Homebrew/epic5-1.2.0.tar.xz\r\n==> Verifying epic5-1.2.0.tar.xz checksum\r\n==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/homebrew/Cellar/epic5/1.2.0 --mandir=/usr/local/homebrew/Cellar/epic5/1.2.0/share/man --with-ipv6\r\ncreating cache ./config.cache\r\nthis is EPIC5 version 1.2\r\n\r\nchecking for gcc... clang\r\nchecking whether the C compiler (clang  ) works... yes\r\nchecking whether the C compiler (clang  ) is a cross-compiler... no\r\nchecking whether we are using GNU C... yes\r\nchecking whether clang accepts -g... no\r\nchecking how to run the C preprocessor... /lib/cpp\r\nchecking for POSIXized ISC... no\r\nchecking for AIX... no\r\nchecking for an extra library directory... yes, /usr/local\r\nchecking for solaris cc... ok\r\nchecking for setenv in -lcext... no\r\nchecking for Macintosh OS X... ok\r\nchecking if you want threaded stdout... no\r\nchecking which multiplexer function to use... select\r\nchecking for select... no\r\nchecking for socket in -lsocket... no\r\nchecking for archive_read_new in -larchive... yes\r\nchecking whether libarchive works the way I expect... no\r\nchecking whether to include SSL support... no\r\nconfigure: error: I was unable to find OpenSSL.  If it is not installed, please install it.  If it is installed, please help me find it using --with-ssl=/usr/local or similar.\r\n==> Formula\r\nPath: /usr/local/homebrew/Library/Formula/epic5.rb\r\n==> Configuration\r\nHOMEBREW_VERSION: 0.9.5\r\nORIGIN: https://github.com/Homebrew/homebrew.git\r\nHEAD: f88ced777924af889b5b6fe03881deef4601e84d\r\nLast commit: 2 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_REPOSITORY: /usr/local/homebrew\r\nHOMEBREW_CELLAR: /usr/local/homebrew/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com\r\nCPU: quad-core 64-bit haswell\r\nOS X: 10.10.5-x86_64\r\nXcode: 7.0\r\nCLT: N/A\r\nClang: 7.0 build 700\r\nX11: N/A\r\nSystem Ruby: 2.0.0-p481\r\nPerl: /usr/bin/perl\r\nPython: /usr/bin/python\r\nRuby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby\r\nJava: N/A\r\n==> ENV\r\nHOMEBREW_CC: clang\r\nHOMEBREW_CXX: clang++\r\nMAKEFLAGS: -j4\r\nCMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local\r\nCMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries\r\nCMAKE_FRAMEWORK_PATH: /System/Library/Frameworks\r\nPKG_CONFIG_PATH: /usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig\r\nPKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/homebrew/Library/ENV/pkgconfig/10.10\r\nHOMEBREW_SDKROOT: \r\nACLOCAL_PATH: /usr/local/share/aclocal\r\nPATH: /usr/local/homebrew/Library/ENV/4.3:/usr/local/opt/xz/bin:/usr/local/opt/openssl/bin:/usr/bin:/bin:/usr/sbin:/sbin\r\n\r\nError: epic5 1.2.0 did not build\r\nLogs:\r\n     /Users/tokai/Library/Logs/Homebrew/epic5/01.configure\r\n     /Users/tokai/Library/Logs/Homebrew/epic5/01.configure.cc\r\n     /Users/tokai/Library/Logs/Homebrew/epic5/config.log\r\n\r\n```\r\n\r\nI don't have the command line tools installed, just Xcode (upgraded to Version 7 very recently, not sure if the issue is related to the Xcode update). I also find `checking for select... no` very odd.\r\n\r\nOpenSSL is installed via Homebrew, of course:\r\n```\r\n$ brew info openssl\r\nopenssl: stable 1.0.2d\r\nOpenSSL SSL/TLS cryptography library\r\nhttps://openssl.org/\r\n\r\nThis formula is keg-only.\r\nApple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries\r\n\r\n/usr/local/homebrew/Cellar/openssl/1.0.2d_1 (464 files, 18M)\r\n  Built from source\r\nFrom: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/openssl.rb\r\n==> Dependencies\r\n```\r\n\r\n\r\nHacking the system and setting up a temporary softlink `/usr/include` which points to `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include` (no idea what happened to the 10.10 SDK in Xcode, considering I'm just running on Yosemite) seems to fix the \"select\" and the \"OpenSSL\" problems, but then it fails on iconv:\r\n\r\n```\r\n$ brew -v install epic5\r\nHomebrew 0.9.5 (git revision f88ce; last commit 2015-09-18)\r\n==> Downloading http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/epic5-1.2.0.tar.xz\r\nAlready downloaded: /Library/Caches/Homebrew/epic5-1.2.0.tar.xz\r\n==> Verifying epic5-1.2.0.tar.xz checksum\r\n==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/homebrew/Cellar/epic5/1.2.0 --mandir=/usr/local/homebrew/Cellar/epic5/1.2.0/share/man --with-ipv6\r\ncreating cache ./config.cache\r\nthis is EPIC5 version 1.2\r\n\r\nchecking for gcc... clang\r\nchecking whether the C compiler (clang  ) works... yes\r\nchecking whether the C compiler (clang  ) is a cross-compiler... no\r\nchecking whether we are using GNU C... yes\r\nchecking whether clang accepts -g... no\r\nchecking how to run the C preprocessor... /lib/cpp\r\nchecking for POSIXized ISC... no\r\nchecking for AIX... no\r\nchecking for an extra library directory... yes, /usr/local\r\nchecking for solaris cc... ok\r\nchecking for setenv in -lcext... no\r\nchecking for Macintosh OS X... ok\r\nchecking if you want threaded stdout... no\r\nchecking which multiplexer function to use... select\r\nchecking for select... yes\r\nchecking for socket in -lsocket... no\r\nchecking for archive_read_new in -larchive... yes\r\nchecking whether libarchive works the way I expect... no\r\nchecking whether to include SSL support... yes\r\nchecking for socket in -linet... no\r\nchecking for gethostname in -lnsl... no\r\nchecking for getpwnam in -lsun... no\r\nchecking for inet_addr in -ldgc... no\r\nchecking for gethostbyname in -lresolv... yes\r\nchecking for crypt in -lcrypt... no\r\nchecking for pow in -lm... yes\r\nchecking for clock_gettime in -lrt... no\r\nchecking whether you want to use termcap... no\r\nchecking for setupterm in -lncurses... yes\r\nchecking for fcntl.h... no\r\nchecking for ieeefp.h... no\r\nchecking for inttypes.h... no\r\nchecking for math.h... no\r\nchecking for ndbm.h... no\r\nchecking for netdb.h... no\r\nchecking for regex.h... no\r\nchecking for stddef.h... no\r\nchecking for stdint.h... no\r\nchecking for sys/fcntl.h... no\r\nchecking for sys/file.h... no\r\nchecking for sys/filio.h... no\r\nchecking for sys/select.h... no\r\nchecking for sys/sysctl.h... no\r\nchecking for sys/syslimits.h... no\r\nchecking for sys/time.h... no\r\nchecking for sys/un.h... no\r\nchecking for sys/param.h... no\r\nchecking for termios.h... no\r\nchecking for sys/termios.h... no\r\nchecking for xlocale.h... no\r\nchecking for term.h... no\r\nchecking for arc4random... yes\r\nchecking for clock_gettime... no\r\nchecking for fchdir... yes\r\nchecking for fpathconf... yes\r\nchecking for getlogin... yes\r\nchecking for getaddrinfo... yes\r\nchecking for getnameinfo... yes\r\nchecking for getpass... yes\r\nchecking for getpgid... yes\r\nchecking for getpgrp... yes\r\nchecking whether getpgrp takes no argument... yes\r\nchecking for getservbyport... yes\r\nchecking for gettimeofday... yes\r\nchecking for killpg... yes\r\nchecking for memmove... yes\r\nchecking for nanosleep... yes\r\nchecking for uname... yes\r\nchecking for realpath... yes\r\nchecking for setenv... yes\r\nchecking for setsid... yes\r\nchecking for tcsetpgrp... yes\r\nchecking for setupterm... yes\r\nchecking for snprintf... yes\r\nchecking for strerror... yes\r\nchecking for strlcat... yes\r\nchecking for strlcpy... yes\r\nchecking for strptime... yes\r\nchecking for strtoul... yes\r\nchecking for sysconf... yes\r\nchecking for sysctlbyname... yes\r\nchecking for unsetenv... yes\r\nchecking for vsnprintf... yes\r\nchecking for finite... yes\r\nchecking for isfinite macro in math.h... no\r\nchecking for tparm... yes\r\nchecking for newlocale... yes\r\nchecking whether term.h works by itself... yes\r\nchecking for ANSI C header files... no\r\nchecking whether time.h and sys/time.h may both be included... yes\r\nchecking for dirent.h that defines DIR... yes\r\nchecking for opendir in -ldir... no\r\nchecking return type of signal handlers... void\r\nchecking for mode_t... no\r\nchecking for pid_t... no\r\nchecking for size_t... no\r\nchecking for uid_t in sys/types.h... no\r\nchecking for working alloca.h... no\r\nchecking for alloca... yes\r\nchecking for intptr_t in inttypes.h or stdint.h... yes\r\nchecking for socklen_t... no\r\nchecking whether sys/types.h defines fd_set... no\r\nchecking whether sys/select.h defines fd_set... no. ugh.\r\nchecking for struct linger... no. ugh.\r\nchecking for useful SO_SNDLOWAT... no\r\nchecking for useful realpath... no\r\nchecking for sys_siglist declaration... no\r\ngenerating a list of signal names...\r\nchecking for intmax_t in inttypes.h or stdint.h... yes\r\nchecking for strtoimax in inttypes.h or stdint.h... yes\r\nchecking whether I can use intmax_t for intmax_t... yes\r\nchecking size of long long... 0\r\nchecking size of quad_t... 0\r\nchecking size of unsigned int... 0\r\nchecking size of unsigned long... 0\r\nchecking to see if your struct sockaddr includes a length field... no\r\nchecking whether to support ipv6... yes\r\nchecking for struct sockaddr_storage... no\r\nchecking for struct sockaddr_in6... no\r\nchecking for struct addrinfo... no\r\nchecking to see if your getaddrinfo supports AF_UNIX... no. ugh\r\nchecking whether to support SOCKS... no\r\nchecking whether to support SOCKS5... no\r\nchecking whether to include iconv support... looked but did not find it\r\nconfigure: error: Iconv support is required.  I could not find your system's iconv support.  If you have iconv installed, please re-run configure with the --with-iconv=/path/to/dir option where include/iconv.h and lib/iconv.a exist.\r\n==> Formula\r\nPath: /usr/local/homebrew/Library/Formula/epic5.rb\r\n==> Configuration\r\nHOMEBREW_VERSION: 0.9.5\r\nORIGIN: https://github.com/Homebrew/homebrew.git\r\nHEAD: f88ced777924af889b5b6fe03881deef4601e84d\r\nLast commit: 2 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_REPOSITORY: /usr/local/homebrew\r\nHOMEBREW_CELLAR: /usr/local/homebrew/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com\r\nCPU: quad-core 64-bit haswell\r\nOS X: 10.10.5-x86_64\r\nXcode: 7.0\r\nCLT: N/A\r\nClang: 7.0 build 700\r\nX11: N/A\r\nSystem Ruby: 2.0.0-p481\r\nPerl: /usr/bin/perl\r\nPython: /usr/bin/python\r\nRuby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby\r\nJava: N/A\r\n==> ENV\r\nHOMEBREW_CC: clang\r\nHOMEBREW_CXX: clang++\r\nMAKEFLAGS: -j4\r\nCMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local\r\nCMAKE_INCLUDE_PATH: /usr/include/libxml2:/usr/include/apache2\r\nCMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries\r\nCMAKE_FRAMEWORK_PATH: /System/Library/Frameworks\r\nPKG_CONFIG_PATH: /usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig\r\nPKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/homebrew/Library/ENV/pkgconfig/10.10\r\nHOMEBREW_SDKROOT: \r\nACLOCAL_PATH: /usr/local/share/aclocal\r\nPATH: /usr/local/homebrew/Library/ENV/4.3:/usr/local/opt/xz/bin:/usr/local/opt/openssl/bin:/usr/bin:/bin:/usr/sbin:/sbin\r\n\r\nError: epic5 1.2.0 did not build\r\nLogs:\r\n     /Users/tokai/Library/Logs/Homebrew/epic5/01.configure\r\n     /Users/tokai/Library/Logs/Homebrew/epic5/01.configure.cc\r\n     /Users/tokai/Library/Logs/Homebrew/epic5/config.log\r\n```\r\n\r\nI'm not sure if this is a problem with my config or some general problem. Some ideas and help appreciated.\r\n\r\n*(Though I'm somewhat reluctant of installing the CLT and waste even more space on my small system partition for something that I already have installed in the huge Xcode application bundle :wink: But maybe this would solve those kind of issues?)*"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/141485587","html_url":"https://github.com/Homebrew/homebrew/issues/44099#issuecomment-141485587","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44099","id":141485587,"user":{"login":"the-real-tokai","id":8261828,"avatar_url":"https://avatars.githubusercontent.com/u/8261828?v=3","gravatar_id":"","url":"https://api.github.com/users/the-real-tokai","html_url":"https://github.com/the-real-tokai","followers_url":"https://api.github.com/users/the-real-tokai/followers","following_url":"https://api.github.com/users/the-real-tokai/following{/other_user}","gists_url":"https://api.github.com/users/the-real-tokai/gists{/gist_id}","starred_url":"https://api.github.com/users/the-real-tokai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-real-tokai/subscriptions","organizations_url":"https://api.github.com/users/the-real-tokai/orgs","repos_url":"https://api.github.com/users/the-real-tokai/repos","events_url":"https://api.github.com/users/the-real-tokai/events{/privacy}","received_events_url":"https://api.github.com/users/the-real-tokai/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T15:40:06Z","updated_at":"2015-09-18T15:40:06Z","body":"Update:\r\n\r\nI added:\r\n\r\n```\r\n        # Also query xcrun…\r\n        opts << Utils.popen_read(locate(\"xcrun\"), \"--show-sdk-path\").chomp\r\n```\r\n\r\nto `sdk_path()` in `Homebrew/os/mac.rb` and epic5 build was successful."}}