I keep getting this error every time I try to install openocd with the flag below ;(
See brew doctor and brew --config results at the very bottom.
csanz [master] $ brew install openocd --enable-ft2232_libftdi
==> Downloading http://downloads.sourceforge.net/projec … .1.tar.bz2
Already downloaded: /Users/csanz/Library/Caches/Homebrew/open-ocd-0.6.1.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/open-ocd/0.6.1 --enable-ftdi --enable-arm-jtag-ew --enable-jlink --enable-rlink --enable-stlink --enable-ulink --enable-usbprog --enabl
Build C compiler…cc
Checking for stdlib.h…not found
Error: Compiler does not work. See config.log
Try: ‘configure --help’ for options
configure: error: ./configure.gnu failed for jimtcl
Here is the gist file (doctor / config)
https://gist.github.com/csanz/5280074
Help!