Skip to content

Instantly share code, notes, and snippets.

@jrk
Created May 20, 2011 23:11
Show Gist options
  • Save jrk/983990 to your computer and use it in GitHub Desktop.
Save jrk/983990 to your computer and use it in GitHub Desktop.
GODI Homebrew install errors
Using PATH=/usr/local/Cellar/godi/3.12/bin:/usr/local/Cellar/godi/3.12/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/narwhal/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/Users/jrk/.cabal/bin:/Users/jrk/bin:/usr/local/cuda/bin:/usr/local/git/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Applications/Pixar/RenderMan.app/Versions/RenderManProServer-14.3/bin:/usr/local/bin:/usr/X11R6/bin:/Applications/Matlab/bin:/Developer/Tools:/Users/jrk/Projects/PFC/bin:/usr/local/Cellar/depot_tools/CURRENT:/Users/jrk/.rvm/bin:/Users/jrk/.rip/active/bin:/usr/local/Library/Contributions/examples
./configure -no-curses -no-shared-libs -no-pthread
cd byterun; /usr/bin/make libcamlrun.a
Makefile:16: ../config/Makefile: No such file or directory
make[1]: *** No rule to make target `../config/Makefile'. Stop.
make: *** [build] Error 2
make: *** Waiting for unfinished jobs....
Configuring for a i686-apple-darwin10.7.0 ...
gcc found
The C compiler is ANSI-compliant.
Checking the sizes of integers and pointers...
Wow! A 64 bit architecture!
This is a little-endian architecture.
Doubles can be word-aligned.
64-bit integers can be word-aligned.
Native division and modulus have round-towards-zero semantics, will use them.
ranlib found
#! appears to work in shell scripts
POSIX signal handling found.
getrusage() found.
times() found.
You have BSD sockets.
socklen_t is defined in <sys/socket.h>
inet_aton() found.
IPv6 is supported.
unistd.h found.
off_t is defined in <sys/types.h>
dirent.h found.
rewinddir() found.
lockf() found.
mkfifo() found.
getcwd() found.
getwd() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
sys/select.h found.
select() found.
symlink() found.
waitpid() found.
wait4() found.
getgroups() found.
POSIX termios found.
Asynchronous I/O are supported.
setitimer() found.
gethostname() found.
uname() found.
gettimeofday() found.
mktime() found.
setsid() found.
putenv() found.
setlocale() and <locale.h> found.
NSLinkModule() found. Using darwin dynamic loading.
mmap() found.
Replay debugger supported.
Cannot detect system stack overflow.
Bytecode threads library supported.
Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libgcc_s.1.dylib
/usr/local/lib/libgcc_s.10.4.dylib
/usr/local/lib/libgcc_s.10.5.dylib
/usr/local/lib/libgfortran.2.0.0.dylib
/usr/local/lib/libtcl8.5.dylib
/usr/local/lib/libtk8.5.dylib
Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libgfortran.a
/usr/local/lib/libtclstub8.5.a
/usr/local/lib/libtkstub8.5.a
Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libgfortran.la
Some "config" scripts were found in your path, but not in system or Homebrew folders.
`./configure` scripts often look for *-config scripts to determine if software packages
are installed, and what additional flags to use when compiling and linking.
Having additional scripts in your path can confuse software installed via Homebrew if
the config script overrides a system or Homebrew provided script of the same name.
/Library/Frameworks/Python.framework/Versions/2.6/bin
python-config python2.6-config
/usr/X11R6/bin
freetype-config libpng-config libpng12-config xft-config
Setting DYLD_LIBARY_PATH can break dynamic linking.
You should probably unset it.
Error: No such file or directory - /usr/local/Cellar/libpng/1.2.44/lib/libpng12.la
=> brew install -v godi
==> Downloading http://download.camlcity.org/download/godi-rocketboost-20091222.tar.gz
File already downloaded and cached to /Users/jrk/Library/Caches/Homebrew
/usr/bin/tar xf /Users/jrk/Library/Caches/Homebrew/godi-3.12.tar.gz
==> ./bootstrap --prefix /usr/local/Cellar/godi/3.12 --section 3.12
./bootstrap --prefix /usr/local/Cellar/godi/3.12 --section 3.12
*** Welcome to GODI, the O'Caml source distribution
*** RocketBoost bootstrap
GODI has been created by Gerd Stolpmann (mailto: [email protected]),
and is derived from the NetBSD pkgsrc system.
A number of packaging tools are now compiled and/or installed. Messages
are written to bootstrap.log.
Configuring make framework:
Looking up system commands...
/usr/bin/patch works fine
/usr/bin/patch can make backups with -V simple -b -z
/usr/bin/patch can remove empty files with -E
/usr/bin/patch can reject reverse patches with -N
/usr/bin/patch can be silent with -s
Selected release: 3.12
Installing into: /usr/local/Cellar/godi/3.12
Press [Return] to begin with the installation; press [CTRL-C] to abort.
>
===> Creating sample godi.conf
===> Building ocamlrun
Failure! (See bootstrap.log for details)
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/godi.rb#L10
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 86f6b58889d7103880d435012ae2d130390ac5bc
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit penryn
OS X: 10.6.7
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.0.2
GCC-4.0: build 5494
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/bin/c++-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
MAKEFLAGS: -j8
Error: Failed executing: ./bootstrap --prefix /usr/local/Cellar/godi/3.12 --section 3.12
require 'formula'
class Godi < Formula
url 'http://download.camlcity.org/download/godi-rocketboost-20091222.tar.gz'
homepage 'http://godi.camlcity.org/godi'
md5 '5ce87273e3ecce6a3785a6c538674e1e'
version '3.12'
def install
system "./bootstrap", "--prefix", "#{prefix}", "--section", "3.12"
system "PATH=#{prefix}/bin:#{prefix}/sbin:$PATH ./bootstrap_stage2"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment