Skip to content

Instantly share code, notes, and snippets.

@recursive
Created July 27, 2011 06:38
Show Gist options
  • Save recursive/1108800 to your computer and use it in GitHub Desktop.
Save recursive/1108800 to your computer and use it in GitHub Desktop.
brew install -v gnu-prolog
-> % brew install -v gnu-prolog
==> Downloading http://gprolog.univ-paris1.fr/gprolog-1.4.0.tar.gz
File already downloaded in /Users/developer/Library/Caches/Homebrew
/usr/bin/tar xf /Users/developer/Library/Caches/Homebrew/gnu-prolog-1.4.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gnu-prolog/1.4.0
./configure --prefix=/usr/local/Cellar/gnu-prolog/1.4.0
checking for gcc... /usr/bin/cc
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/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
checking build system type... i386-apple-darwin11.0.0
checking host system type... i386-apple-darwin11.0.0
checking for as... as
checking for ranlib... ranlib
checking for windres... no
checking for ar... ar
checking for strip... strip
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for socklen_t... yes
checking for inline... inline
checking how to run the C preprocessor... /usr/bin/cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 size of long... 4
checking size of void*... 4
checking sys/ioctl_compat.h usability... yes
checking sys/ioctl_compat.h presence... yes
checking for sys/ioctl_compat.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for mprotect... yes
checking for mallopt... no
checking for fgetc... yes
checking for atanh... yes
checking for acosh... yes
checking for asinh... yes
checking for socket... yes
checking for gethostbyname... yes
DIRECTORIES
--> Installation: /usr/local/Cellar/gnu-prolog/1.4.0/gprolog-1.4.0
--> Link to binaries: /usr/local/Cellar/gnu-prolog/1.4.0/bin
--> Documentation: /usr/local/Cellar/gnu-prolog/1.4.0/gprolog-1.4.0/doc
--> HTML documentation: /usr/local/Cellar/gnu-prolog/1.4.0/gprolog-1.4.0/doc/html_node
--> Examples: /usr/local/Cellar/gnu-prolog/1.4.0/gprolog-1.4.0/examples
configure: creating ./config.status
config.status: creating Makefile
config.status: creating TopComp/Makefile
config.status: creating Pl2Wam/Makefile
config.status: creating Wam2Ma/Makefile
config.status: creating Ma2Asm/Makefile
config.status: creating Fd2C/Makefile
config.status: creating Linedit/Makefile
config.status: creating W32GUICons/Makefile
config.status: creating EnginePl/Makefile
config.status: creating BipsPl/Makefile
config.status: creating EngineFD/Makefile
config.status: creating BipsFD/Makefile
config.status: creating Ma2Asm/FromC/Makefile
config.status: creating Win32/Makefile
config.status: creating Win32/gp-setup.iss
config.status: creating EnginePl/gp_config.h
==> make
make
cd EnginePl; make config
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -o pl_config pl_config.c
./pl_config
-------------------------------
--- GNU PROLOG INSTALLATION ---
-------------------------------
GNU Prolog version: 1.4.0 (Jul 7 2011)
Operating system : darwin11.0.0
Processor : i386
Size of a WAM word: 32 bits
C compiler : /usr/bin/cc
C flags : -O3 -fomit-frame-pointer
C flags machine : -march=i486 -m32
Assembler : as
Assembler flags :
Loader flags :
Loader libraries : -lm
Use line editor : Yes
Use piped consult : Yes
Use sockets : Yes
Use FD solver : Yes
Working sigaction : Yes
Use fast call : Yes
Use machine regs. : Yes
Used register(s) :
------------------------------
(cd ../TopComp; make gplc)
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -o gplc top_comp.c -lm
. ./SETVARS;for i in EnginePl TopComp Wam2Ma Ma2Asm Linedit BipsPl Pl2Wam Fd2C EngineFD BipsFD;do (cd $i; make) || exit 1; done;\
(cd TopComp; make top-level) || exit 1;\
(cd Pl2Wam; make stage2)
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -o cpp_headers cpp_headers.c
gplc -c -C '-O3 -fomit-frame-pointer' machine.c
gplc -c -C '-O3 -fomit-frame-pointer' machine1.c
gplc -c -C '-O3 -fomit-frame-pointer' mem_alloc.c
gplc -c -C '-O3 -fomit-frame-pointer' misc.c
gplc -c -C '-O3 -fomit-frame-pointer' hash.c
gplc -c -C '-O3 -fomit-frame-pointer' obj_chain.c
gplc -c -C '-O3 -fomit-frame-pointer' engine.c
gplc -c -o engine1.o engine1.c
gplc -c -C '-O3 -fomit-frame-pointer' wam_inst.c
gplc -c -C '-O3 -fomit-frame-pointer' atom.c
gplc -c -C '-O3 -fomit-frame-pointer' pred.c
gplc -c -C '-O3 -fomit-frame-pointer' oper.c
gplc -c -C '-O3 -fomit-frame-pointer' if_no_fd.c
gplc -c -C '-O3 -fomit-frame-pointer' main.c
rm -f libengine_pl.a
ar rc libengine_pl.a machine.o machine1.o mem_alloc.o misc.o hash.o obj_chain.o engine.o engine1.o wam_inst.o atom.o pred.o oper.o if_no_fd.o main.o
/Developer/usr/bin/ranlib: file: libengine_pl.a(mem_alloc.o) has no symbols
ranlib libengine_pl.a
ranlib: file: libengine_pl.a(mem_alloc.o) has no symbols
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -o hexgplc hexfilter.c
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -c wam2ma.c
WARNING: While resolving call to function 'Emit_One_Atom' arguments were dropped!
WARNING: While resolving call to function 'Emit_One_Atom_Tagged' arguments were dropped!
WARNING: While resolving call to function 'Emit_One_F_N_Tagged' arguments were dropped!
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -c wam_parser.c
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -o wam2ma wam2ma.o wam_parser.o
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -c ma2asm.c
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -c ma_parser.c
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -c ma2asm_inst.c
/usr/bin/cc -march=i486 -m32 -O3 -fomit-frame-pointer -o ma2asm ma2asm.o ma2asm_inst.o ma_parser.o
/usr/bin/cc -march=i486 -m32 -c -O3 -fomit-frame-pointer linedit.c
/usr/bin/cc -march=i486 -m32 -c -O3 -fomit-frame-pointer terminal.c
/usr/bin/cc -march=i486 -m32 -c -O3 -fomit-frame-pointer ctrl_c.c
rm -f liblinedit.a
ar rc liblinedit.a linedit.o terminal.o ctrl_c.o
ranlib liblinedit.a
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' error_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' c_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' foreign_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' pred_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' term_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' stream_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' scan_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' parse_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' write_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' dynam_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' callinf_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' bc_supp.c
gplc -c foreign.wam
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:4:32-bit absolute addressing is not supported for x86-64
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:4:cannot do signed 4 byte relocation
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:9:32-bit absolute addressing is not supported for x86-64
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:9:cannot do signed 4 byte relocation
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:14:32-bit absolute addressing is not supported for x86-64
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:14:cannot do signed 4 byte relocation
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:18:suffix or operands invalid for `push'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:19:suffix or operands invalid for `push'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:31:suffix or operands invalid for `pop'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:32:suffix or operands invalid for `pop'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:36:suffix or operands invalid for `push'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:37:suffix or operands invalid for `push'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:44:32-bit absolute addressing is not supported for x86-64
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:44:cannot do signed 4 byte relocation
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:48:32-bit absolute addressing is not supported for x86-64
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:48:cannot do signed 4 byte relocation
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:52:32-bit absolute addressing is not supported for x86-64
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:52:cannot do signed 4 byte relocation
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:56:32-bit absolute addressing is not supported for x86-64
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:56:cannot do signed 4 byte relocation
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:74:suffix or operands invalid for `pop'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:75:suffix or operands invalid for `pop'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:79:suffix or operands invalid for `push'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:80:suffix or operands invalid for `push'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:83:suffix or operands invalid for `pop'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:84:suffix or operands invalid for `pop'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:88:suffix or operands invalid for `push'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:89:suffix or operands invalid for `push'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:92:suffix or operands invalid for `pop'
/var/folders/4_/1nv24_j96yggnhw7r46h8f9m0000gn/T/gplcQetH1c.s:93:suffix or operands invalid for `pop'
compilation failed
make[1]: *** [foreign.o] Error 1
make: *** [all] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/gnu-prolog.rb#L15
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: bd4fdb650642030d2beb295f8ae35def6125028f
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
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
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/c++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
Error: Failed executing: make
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment