Skip to content

Instantly share code, notes, and snippets.

@morgant
Created November 20, 2014 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morgant/53b57c2eab7c74653eb2 to your computer and use it in GitHub Desktop.
Save morgant/53b57c2eab7c74653eb2 to your computer and use it in GitHub Desktop.
Asterisk editline failure (Yosemite)
cd editline && test -f config.h || CFLAGS="-D_THREAD_SAFE -I../..//include -I/opt/local/include -fno-strict-aliasing -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -D__Darwin__ -mmacosx-version-min=10.6 -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 " LDFLAGS="-L/opt/local/lib -L/usr/local/lib " ./configure --build=x86_64-apple-darwin14.0.0 --host=x86_64-apple-darwin14.0.0 --with-ncurses=/opt/local --with-curses= --with-termcap= --with-tinfo=
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -D_THREAD_SAFE -I../..//include -I/opt/local/include -fno-strict-aliasing -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -D__Darwin__ -mmacosx-version-min=10.6 -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -L/opt/local/lib -L/usr/local/lib ) works... yes
checking whether the C compiler (gcc -D_THREAD_SAFE -I../..//include -I/opt/local/include -fno-strict-aliasing -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -D__Darwin__ -mmacosx-version-min=10.6 -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -L/opt/local/lib -L/usr/local/lib ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for mawk... awk
checking host system type... x86_64-apple-darwin14.0.0
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... /opt/local/bin/ar
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for tgetent in -lcurses... no
checking for tgetent in -lncurses... no
configure: error: termcap support not found
make[1]: *** [editline/libedit.a] Error 1
make: *** [main] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment