Skip to content

Instantly share code, notes, and snippets.

@gautamg795
Created April 6, 2014 04:57
Show Gist options
  • Save gautamg795/10001707 to your computer and use it in GitHub Desktop.
Save gautamg795/10001707 to your computer and use it in GitHub Desktop.
cscope on 10.9.2
s-164-67-61-115:~ gautam$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 9a26171eb661ad0d0719e9b101ebf610da8bfaa6
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1
CLT: 5.1.0.0.1.1393561416
GCC-4.2: build 5666
Clang: 4.0 build 421
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
s-164-67-61-115:~ gautam$ brew doctor
Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.
s-164-67-61-115:~ gautam$ brew install -v cscope 2>&1
Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.
==> Downloading https://downloads.sourceforge.net/project/cscope/cscope/15.8a/cscope-15.8a.tar.gz
Already downloaded: /Library/Caches/Homebrew/cscope-15.8a.tar.gz
==> Verifying cscope-15.8a.tar.gz checksum
tar xf /Library/Caches/Homebrew/cscope-15.8a.tar.gz
==> Patching
patching file src/constants.h
==> ./configure --prefix=/usr/local/Cellar/cscope/15.8a --mandir=/usr/local/Cellar/cscope/15.8a/share/man
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin13.1.0
checking host system type... x86_64-apple-darwin13.1.0
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... unsupported
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking whether clang and cc understand -c and -o together... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
configure: checking "location of ncurses.h file"...
Found ncurses on /usr/include/ncurses.h
checking for ncurses version... 5.7
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp in -lregex... no
checking for gnome-config... no
checking for pkg-config... no
./configure: line 5123: pkg-config: command not found
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/window.h usability... no
checking sys/window.h presence... no
checking for sys/window.h... no
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking floss.h usability... no
checking floss.h presence... no
checking for floss.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for sighandler_t... no
checking for sigsetjmp... yes
checking return type of signal handlers... void
checking for strchr... yes
checking for memcpy... yes
checking for memset... yes
checking for setmode... yes
checking for _setmode... no
checking for getcwd... yes
checking for regcmp... no
checking for regcomp... yes
checking for strerror... yes
checking for lstat... yes
checking for fixkeypad... no
checking for getopt_long... yes
checking for stdarg.h... no
checking for varargs.h... no
checking for vsnprintf... yes
checking whether vsnprintf is C99 compliant... no
checking for inttypes.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for struct lconv.decimal_point... yes
checking for struct lconv.thousands_sep... yes
checking for long double... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking for size_t... (cached) yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for ptrdiff_t... no
checking for localeconv... yes
checking for an ANSI C-conforming const... (cached) yes
checking for snprintf... yes
checking whether snprintf is C99 compliant... yes
checking for vsnprintf... (cached) yes
checking whether vsnprintf is C99 compliant... (cached) no
checking for inttypes.h... (cached) yes
checking for locale.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) yes
checking for struct lconv.decimal_point... (cached) yes
checking for struct lconv.thousands_sep... (cached) yes
checking for long double... (cached) yes
checking for long long int... (cached) yes
checking for unsigned long long int... (cached) yes
checking for size_t... (cached) yes
checking for intmax_t... (cached) yes
checking for uintmax_t... (cached) yes
checking for uintptr_t... (cached) yes
checking for ptrdiff_t... (cached) no
checking for localeconv... (cached) yes
checking for vasprintf... yes
checking for asprintf... yes
checking for vasprintf... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating contrib/Makefile
config.status: creating config.h
config.status: executing depfiles commands
==> make install
Making install in doc
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/Cellar/cscope/15.8a/share/man/man1" || .././install-sh -c -d "/usr/local/Cellar/cscope/15.8a/share/man/man1"
/usr/bin/install -c -m 644 cscope.1 '/usr/local/Cellar/cscope/15.8a/share/man/man1'
Making install in src
clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT fscanner.o -MD -MP -MF .deps/fscanner.Tpo -c -o fscanner.o fscanner.c
clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT egrep.o -MD -MP -MF .deps/egrep.Tpo -c -o egrep.o egrep.c
clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT alloc.o -MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c
clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT basename.o -MD -MP -MF .deps/basename.Tpo -c -o basename.o basename.c
clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT build.o -MD -MP -MF .deps/build.Tpo -c -o build.o build.c
clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT command.o -MD -MP -MF .deps/command.Tpo -c -o command.o command.c
clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT compath.o -MD -MP -MF .deps/compath.Tpo -c -o compath.o compath.c
clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT crossref.o -MD -MP -MF .deps/crossref.Tpo -c -o crossref.o crossref.c
alloc.cIn file included from build.c:50:
/usr/include/ncurses.h:142:10: fatal error: In file included from command.c::4450:48: 'stdarg.h' file not found
:
/usr/include/ncurses.h:142:10: fatal error: 'stdarg.h' file not found
#include <stdarg.h> /* we need va_list */
^
#include <stdarg.h> /* we need va_list */
^
error: too few arguments provided to function-like macro invocation
char *calloc(), *malloc(), *realloc(), *strcpy();
^
alloc.c:50:41: error: redefinition of 'strcpy' as different kind of symbol
char *calloc(), *malloc(), *realloc(), *strcpy();
^
/usr/include/string.h:79:7: note: previous definition is here
char *strcpy(char *, const char *);
^
2 errors generated.
make[1]: *** [alloc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/basename.Tpo .deps/basename.Po
1 error generated.
1 error generated.
make[1]: *** [command.o] Error 1
make[1]: *** [build.o] Error 1
mv -f .deps/compath.Tpo .deps/compath.Po
mv -f .deps/crossref.Tpo .deps/crossref.Po
mv -f .deps/egrep.Tpo .deps/egrep.Po
mv -f .deps/fscanner.Tpo .deps/fscanner.Po
make: *** [install-recursive] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 9a26171eb661ad0d0719e9b101ebf610da8bfaa6
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1
CLT: 5.1.0.0.1.1393561416
GCC-4.2: build 5666
Clang: 4.0 build 421
X11: 2.7.5 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: cscope did not build
Logs:
/Volumes/Data/Users/gautam/Library/Logs/Homebrew/cscope/01.configure
/Volumes/Data/Users/gautam/Library/Logs/Homebrew/cscope/01.configure.cc
/Volumes/Data/Users/gautam/Library/Logs/Homebrew/cscope/02.make
/Volumes/Data/Users/gautam/Library/Logs/Homebrew/cscope/02.make.cc
/Volumes/Data/Users/gautam/Library/Logs/Homebrew/cscope/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment