Skip to content

Instantly share code, notes, and snippets.

@ynadji
Created December 14, 2011 02:38
Show Gist options
  • Save ynadji/1475005 to your computer and use it in GitHub Desktop.
Save ynadji/1475005 to your computer and use it in GitHub Desktop.
homebrew error
==> Downloading http://downloads.sourceforge.net/project/wine/Source/wine-1.2.3.tar.bz2
File already downloaded in /Users/ynadji/Library/Caches/Homebrew
/usr/bin/tar xf /Users/ynadji/Library/Caches/Homebrew/wine-1.2.3.tar.bz2
==> Patching
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file configure
Hunk #1 succeeded at 6540 with fuzz 2 (offset 123 lines).
==> ./configure --prefix=/usr/local/Cellar/wine/1.2.3 --x-include=/usr/X11/include/ --x-lib=/usr/X11/lib/ --with-x --with-coreaudio --with-opengl --without-mpg123
./configure --prefix=/usr/local/Cellar/wine/1.2.3 --x-include=/usr/X11/include/ --x-lib=/usr/X11/lib/ --with-x --with-coreaudio --with-opengl --without-mpg123
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/gcc-4.2
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 /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... $(TOPOBJDIR)
checking for flex... flex
checking whether flex is recent enough... yes
checking for bison... bison
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking whether ln -s works... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ldconfig... true
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking for lclint... no
checking for lint... no
checking for fontforge... no
checking for pkg-config... pkg-config
checking for rsvg... no
checking for convert... convert
checking for icotool... no
checking for prelink... false
checking for i386_set_ldt in -li386... no
checking for _oss_ioctl in -lossaudio... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -m32 -E
checking for ANSI C header files... yes
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 AL/al.h usability... no
checking AL/al.h presence... no
checking for AL/al.h... no
checking AudioToolbox/AudioConverter.h usability... yes
checking AudioToolbox/AudioConverter.h presence... yes
checking for AudioToolbox/AudioConverter.h... yes
checking AudioUnit/AudioUnit.h usability... yes
checking AudioUnit/AudioUnit.h presence... yes
checking for AudioUnit/AudioUnit.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking CoreAudio/CoreAudio.h usability... yes
checking CoreAudio/CoreAudio.h presence... yes
checking for CoreAudio/CoreAudio.h... yes
checking DiskArbitration/DiskArbitration.h usability... yes
checking DiskArbitration/DiskArbitration.h presence... yes
checking for DiskArbitration/DiskArbitration.h... yes
checking IOKit/IOKitLib.h usability... yes
checking IOKit/IOKitLib.h presence... yes
checking for IOKit/IOKitLib.h... yes
checking IOKit/hid/IOHIDLib.h usability... yes
checking IOKit/hid/IOHIDLib.h presence... yes
checking for IOKit/hid/IOHIDLib.h... yes
checking OpenAL/al.h usability... yes
checking OpenAL/al.h presence... yes
checking for OpenAL/al.h... yes
checking alias.h usability... no
checking alias.h presence... no
checking for alias.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking asm/types.h usability... no
checking asm/types.h presence... no
checking for asm/types.h... no
checking capi20.h usability... no
checking capi20.h presence... no
checking for capi20.h... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking elf.h usability... no
checking elf.h presence... no
checking for elf.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking gsm.h usability... no
checking gsm.h presence... no
checking for gsm.h... no
checking gsm/gsm.h usability... no
checking gsm/gsm.h presence... no
checking for gsm/gsm.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking inet/mib2.h usability... no
checking inet/mib2.h presence... no
checking for inet/mib2.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking jack/jack.h usability... no
checking jack/jack.h presence... no
checking for jack/jack.h... no
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking lcms.h usability... yes
checking lcms.h presence... yes
checking for lcms.h... yes
checking lcms/lcms.h usability... no
checking lcms/lcms.h presence... no
checking for lcms/lcms.h... no
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking libaudioio.h usability... no
checking libaudioio.h presence... no
checking for libaudioio.h... no
checking link.h usability... no
checking link.h presence... no
checking for link.h... no
checking linux/cdrom.h usability... no
checking linux/cdrom.h presence... no
checking for linux/cdrom.h... no
checking linux/compiler.h usability... no
checking linux/compiler.h presence... no
checking for linux/compiler.h... no
checking linux/hdreg.h usability... no
checking linux/hdreg.h presence... no
checking for linux/hdreg.h... no
checking linux/input.h usability... no
checking linux/input.h presence... no
checking for linux/input.h... no
checking linux/ioctl.h usability... no
checking linux/ioctl.h presence... no
checking for linux/ioctl.h... no
checking linux/joystick.h usability... no
checking linux/joystick.h presence... no
checking for linux/joystick.h... no
checking linux/major.h usability... no
checking linux/major.h presence... no
checking for linux/major.h... no
checking linux/param.h usability... no
checking linux/param.h presence... no
checking for linux/param.h... no
checking linux/serial.h usability... no
checking linux/serial.h presence... no
checking for linux/serial.h... no
checking linux/types.h usability... no
checking linux/types.h presence... no
checking for linux/types.h... no
checking linux/ucdrom.h usability... no
checking linux/ucdrom.h presence... no
checking for linux/ucdrom.h... no
checking mach-o/nlist.h usability... yes
checking mach-o/nlist.h presence... yes
checking for mach-o/nlist.h... yes
checking mach/mach.h usability... yes
checking mach/mach.h presence... yes
checking for mach/mach.h... yes
checking mach/machine.h usability... yes
checking mach/machine.h presence... yes
checking for mach/machine.h... yes
checking machine/cpu.h usability... no
checking machine/cpu.h presence... no
checking for machine/cpu.h... no
checking machine/limits.h usability... yes
checking machine/limits.h presence... yes
checking for machine/limits.h... yes
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking machine/sysarch.h usability... no
checking machine/sysarch.h presence... no
checking for machine/sysarch.h... no
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking for mpg123.h... (cached) no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/tcp_fsm.h usability... yes
checking netinet/tcp_fsm.h presence... yes
checking for netinet/tcp_fsm.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking scsi/scsi.h usability... no
checking scsi/scsi.h presence... no
checking for scsi/scsi.h... no
checking scsi/scsi_ioctl.h usability... no
checking scsi/scsi_ioctl.h presence... no
checking for scsi/scsi_ioctl.h... no
checking scsi/sg.h usability... no
checking scsi/sg.h presence... no
checking for scsi/sg.h... no
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/asoundlib.h usability... no
checking sys/asoundlib.h presence... no
checking for sys/asoundlib.h... no
checking sys/cdio.h usability... no
checking sys/cdio.h presence... no
checking for sys/cdio.h... no
checking sys/elf32.h usability... no
checking sys/elf32.h presence... no
checking for sys/elf32.h... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/errno.h usability... yes
checking sys/errno.h presence... yes
checking for sys/errno.h... yes
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking sys/exec_elf.h usability... no
checking sys/exec_elf.h presence... no
checking for sys/exec_elf.h... no
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/limits.h usability... no
checking sys/limits.h presence... no
checking for sys/limits.h... no
checking sys/link.h usability... no
checking sys/link.h presence... no
checking for sys/link.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/mtio.h usability... no
checking sys/mtio.h presence... no
checking for sys/mtio.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking sys/protosw.h usability... yes
checking sys/protosw.h presence... yes
checking for sys/protosw.h... yes
checking sys/ptrace.h usability... yes
checking sys/ptrace.h presence... yes
checking for sys/ptrace.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/scsiio.h usability... no
checking sys/scsiio.h presence... no
checking for sys/scsiio.h... no
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/socketvar.h usability... yes
checking sys/socketvar.h presence... yes
checking for sys/socketvar.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/strtio.h usability... no
checking sys/strtio.h presence... no
checking for sys/strtio.h... no
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/tihdr.h usability... no
checking sys/tihdr.h presence... no
checking for sys/tihdr.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeout.h usability... no
checking sys/timeout.h presence... no
checking for sys/timeout.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vm86.h usability... no
checking sys/vm86.h presence... no
checking for sys/vm86.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking syscall.h usability... no
checking syscall.h presence... no
checking for syscall.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking valgrind/memcheck.h usability... yes
checking valgrind/memcheck.h presence... yes
checking for valgrind/memcheck.h... yes
checking valgrind/valgrind.h usability... yes
checking valgrind/valgrind.h presence... yes
checking for valgrind/valgrind.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking whether stat file-mode macros are broken... no
checking for sys/mount.h... yes
checking for sys/statfs.h... no
checking for sys/sysctl.h... yes
checking for sys/user.h... yes
checking for sys/vfs.h... no
checking for netinet/ip.h... yes
checking for net/if.h... yes
checking for net/if_arp.h... yes
checking for net/if_dl.h... yes
checking for net/if_types.h... yes
checking for net/route.h... yes
checking for netinet/if_ether.h... yes
checking for netinet/if_inarp.h... no
checking for netinet/in_pcb.h... yes
checking for netinet/ip_icmp.h... yes
checking for netinet/ip_var.h... yes
checking for netinet/udp.h... yes
checking for netipx/ipx.h... no
checking for netinet/tcp_timer.h... yes
checking for netinet/udp_var.h... yes
checking for netinet/icmp_var.h... yes
checking for netinet/tcp_var.h... yes
checking for linux/ipx.h... no
checking for linux/irda.h... no
checking for mach-o/dyld_images.h... yes
checking for resolv.h... yes
checking for ifaddrs.h... yes
checking for ucontext.h... no
checking for sys/thr.h... no
checking for pthread_np.h... no
checking for linux/videodev.h... no
checking for linux/capi.h... no
checking for ldd... true
checking for IOHIDManagerCreate... yes
checking whether 16-bit code can be built correctly... yes
checking for i686-w64-mingw32-gcc... no
checking for i586-w64-mingw32-gcc... no
checking for i486-w64-mingw32-gcc... no
checking for i386-w64-mingw32-gcc... no
checking for i686-pc-mingw32-gcc... no
checking for i586-pc-mingw32-gcc... no
checking for i486-pc-mingw32-gcc... no
checking for i386-pc-mingw32-gcc... no
checking for i686-mingw32msvc-gcc... no
checking for i586-mingw32msvc-gcc... no
checking for i486-mingw32msvc-gcc... no
checking for i386-mingw32msvc-gcc... no
checking for i686-mingw32-gcc... no
checking for i586-mingw32-gcc... no
checking for i486-mingw32-gcc... no
checking for i386-mingw32-gcc... no
checking for pthread_create in -lpthread... yes
checking for X... libraries /usr/X11/lib/, headers /usr/X11/include/
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for -lX11... libX11.6.dylib
checking for -lXext... libXext.6.dylib
checking for X11/Xlib.h... yes
checking for X11/XKBlib.h... yes
checking for X11/Xutil.h... yes
checking for X11/Xcursor/Xcursor.h... yes
checking for X11/extensions/shape.h... yes
checking for X11/extensions/XInput.h... yes
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/Xcomposite.h... yes
checking for X11/extensions/Xinerama.h... yes
checking for X11/extensions/Xrandr.h... yes
checking for X11/extensions/Xrender.h... yes
checking for X11/extensions/xf86vmode.h... yes
checking for X11/extensions/xf86vmproto.h... yes
checking for XkbQueryExtension in -lX11... yes
checking for -lXcursor... libXcursor.1.dylib
checking for -lXi... libXi.6.dylib
checking for XShmQueryExtension in -lXext... yes
checking for XShapeQueryExtension in -lXext... yes
checking for -lXxf86vm... libXxf86vm.1.dylib
checking for -lXrender... libXrender.1.dylib
checking for XRenderSetPictureTransform in -lXrender... yes
checking for -lXrandr... libXrandr.2.dylib
checking for -lXinerama... libXinerama.1.dylib
checking for -lXcomposite... libXcomposite.1.dylib
checking for XICCallback.callback... yes
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for -lGL... not found
checking for -lGL... not found
checking for -lGLU... not found
configure: error: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.
This is an error since --with-opengl was requested.
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/wine.rb#L70
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 27c7858f0bc118b0dcb0dde702fb0717f4197292
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1-163.7.1
MacPorts or Fink? false
X11 installed? true
==> Build Flags
"--use-gcc" was specified
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe -arch i386 -m32
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe -D_DARWIN_NO_64_BIT_INODE
CPPFLAGS: -I/usr/X11/include
LDFLAGS: -L/usr/X11/lib -arch i386 -m32 -framework CoreServices -lz -lGL -lGLU
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/wine/1.2.3 --x-include=/usr/X11/include/ --x-lib=/usr/X11/lib/ --with-x --with-coreaudio --with-opengl --without-mpg123
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/7947
https://github.com/mxcl/homebrew/issues/9109
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment