I'm trying to compile the tmux that has iTerm2 support.
This is the error I get:
configure.ac:105: error: possibly undefined macro: AC_SEARCH_LIBS If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1 autoreconf failed
The website says:
If you get an error like "undefined macro: AC_SEARCH_LIBS", run this: echo $(brew --prefix)/share/aclocal | sudo tee -a /usr/share/aclocal/dirlist
Even though I've ran that command (as root), I still have the same results. This is the result of that command:
I think the permissions of /usr/share/aclocal/dirlist shouldn't be a problem:
$ ls -lah /usr/share/aclocal total 8 drwxr-xr-x 5 root wheel 170B May 6 20:20 . drwxr-xr-x 69 root wheel 2.3K Mar 12 03:18 .. -rw-r--r-- 1 root wheel 69B May 6 20:54 dirlist -rw-r--r-- 1 root wheel 7.7K Mar 3 20:57 libxml.m4 -rw-r--r-- 1 root wheel 7.9K Mar 3 20:57 libxslt.m4
autoconf are all in
/usr/local/bin/, and I've tried installing them through
homebrew and I also tried compiling and installing them myself. I always have the same results.