denji / homebrew-nginx

:fire_engine: Community NGINX tap for custom modules

Home Page:https://denji.github.io/homebrew-nginx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: can not detect sig_atomic_t size

kalinwong opened this issue · comments

brew install nginx-full --with-rtmp-module 

./configure fails with this error:

checking for sig_atomic_t size ...
./configure: error: can not detect sig_atomic_t size
  • Upgrade XCode & Toolchains
  • brew up

XCode is latest version.
I tried only version 1.14.0 will appear this error.
But the other versions 1.12.2 or 1.15.2 can succeed.

Have you updated the Xcode Command Line Tools?

brew install nginx-full --devel --with-rtmp-module?

I have the same error:

==> Upgrading homebrew/nginx/nginx-full --with-http2 --with-pcre-jit
==> Downloading https://nginx.org/download/nginx-1.14.0.tar.gz
Already downloaded: /Users/pmarschik/Library/Caches/Homebrew/downloads/33cc7725cd74536100dd86fddb7dc009b0b247d03edbd927a7e5eaff14194d18--nginx-1.14.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.14.0 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx-full/1.14.0/
Last 15 lines from /Users/pmarschik/Library/Logs/Homebrew/nginx-full/01.configure:
checking for TCP_KEEPIDLE ... not found
checking for TCP_FASTOPEN ... found
checking for TCP_INFO ... not found
checking for accept4() ... not found
checking for eventfd() ... not found
checking for eventfd() (SYS_eventfd) ... not found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ...
./configure: error: can not detect sig_atomic_t size

macOS: 10.13.6
Xcode: Version 9.4.1 (9F2000)
xcode-select version 2349

MAS doesn't show any Xcode or Xcode Command Line Tools updates available.

I'm having the same issue.

Here is my brew config

HOMEBREW_VERSION: 1.7.5-65-gf239b7a
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: f239b7a62790cfb4f33bda9aab7597d43f1b1e3b
Last commit: 16 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 4ba5999b3d4d02c415eaa9b382f0cd212cddab0e
Core tap last commit: 17 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GIT: git
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MACOS_VERSION_NUMERIC: 101306
CPU: quad-core 64-bit arrandale
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.19.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 10.0.2, 1.8.0_181
macOS: 10.13.6-x86_64
CLT: 10.0.0.0.1.1535735448
CLT headers: N/A
Xcode: 10.0
XQuartz: 2.7.11 => /opt/X11

Compiling fine here now.