Skip to content

Instantly share code, notes, and snippets.

@ericeche
Created May 18, 2013 03:46
Show Gist options
  • Save ericeche/5603163 to your computer and use it in GitHub Desktop.
Save ericeche/5603163 to your computer and use it in GitHub Desktop.
Error: pkg-config binary 'pkg-config' not found
HOMEBREW_VERSION: 0.9.4
HEAD: dad5917f6bd3ee86d6a9e26b99761da2e268c6be
CPU: quad-core 64-bit ivybridge
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1365549073
X11: N/A
# QEMU configure log Fri May 17 22:30:17 EDT 2013
# Configured with: './configure' '--prefix=/usr/local/Cellar/qemu/1.1.0' '--cc=cc' '--host-cc=cc' '--enable-cocoa' '--disable-bsd-user' '--disable-guest-agent'
#
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23713-8890-22605.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c:2:2: error: __i386__ not defined
#error __i386__ not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23713-8890-22605.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23713-8890-22605.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c:2:2: error: __linux__ not defined
#error __linux__ not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23713-8890-22605.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c:2:2: error: _WIN32 not defined
#error _WIN32 not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23713-8890-22605.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c:2:2: error: __OpenBSD__ not defined
#error __OpenBSD__ not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23713-8890-22605.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c:2:2: error: __sun__ not defined
#error __sun__ not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23713-8890-22605.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c:2:2: error: __HAIKU__ not defined
#error __HAIKU__ not defined
^
1 error generated.
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23713-8890-22605.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -Werror -fstack-protector-all -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Werror -Wendif-labels -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Werror -Wmissing-include-dirs -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Werror -Wempty-body -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Werror -Wnested-externs -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Werror -Wformat-security -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Werror -Wformat-y2k -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Werror -Winit-self -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Werror -Wignored-qualifiers -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Werror -Wold-style-declaration -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
clang: error: unknown warning option '-Wold-style-declaration'; did you mean '-Wout-of-line-declaration'?
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Werror -Wold-style-definition -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Werror -Wtype-limits -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -c -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-23713-8890-22605.o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c:2:10: fatal error: 'linux/futex.h' file not found
#include <linux/futex.h>
^
1 error generated.
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g -lz
cc -m64 -arch x86_64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -o /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-7403-8890-13929.exe /var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c -m64 -framework CoreFoundation -framework IOKit -arch x86_64 -g -lxenstore -lxenctrl -lxenguest
/var/folders/57/xc9b__ys7370175drhvyqkncmznj5d/T//qemu-conf-2672-8890-27102.c:1:10: fatal error: 'xenctrl.h' file not found
#include <xenctrl.h>
^
1 error generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment