Skip to content

Instantly share code, notes, and snippets.

View sam452's full-sized avatar

sam walton sam452

View GitHub Profile
@sam452
sam452 / gist:1164015
Created August 23, 2011 00:38
Error trying to install 1.9.2-head
rvm install ruby-1.9.2-head --trace
ruby-1.9.2-head --trace
rvm 1.2.8 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
+ export 'PS4=+[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() $ }'
+ PS4='+[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() $ }'
+[/Users/sam/.rvm/scripts/cli] : 705 : __rvm_parse_args() $ [[ -z install ]]
+[/Users/sam/.rvm/scripts/cli] : 707 : __rvm_parse_args() $ [[ 0 -eq 1 ]]
@sam452
sam452 / gist:1478714
Created December 14, 2011 21:49
homebrew PPC fails to install 'wget'
I'm wanting to set up an older PPC mac mini running 10.5.8 and have installed git via make install. I believe I've successfully installed the PPC port of homebrew on this machine. My first attempt to brew install wget failed noting that I should upgrade xcode to 3.1.4. I've done so and the errors are down to a smaller volume. The only issue brew doctor could find was two git config files that I'm reticent to remove because they may be required by git. Pls confirm I can remove them.
The existing issues mostly seem to be issues because 'wget' is not installed. So I think I've exhausted the simple answers unless I can remove those two git config files: /usr/local/git/bin git-config git-repo-config
Is there something I'm overlooking?
==> Environment HOMEBREW_VERSION: 0.7.1 HEAD: (none) HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_REPOSITORY: /usr/local HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew Hardware: single-core 32-bit powerpc_7450 OS X: 10.5.8 Kernel Architecture: Power
@sam452
sam452 / gist:1478808
Created December 14, 2011 22:13
homebrew -vd install wget output
Rockyserver:vitae wanzie$ brew install -vd wget
==> Build Environment
CC: /usr/bin/cc => /usr/bin/gcc-4.0
CXX: /usr/bin/c++ => /usr/bin/c++-4.0
LD: /usr/bin/cc => /usr/bin/gcc-4.0
CFLAGS: -O3 -mcpu=7450 -mtune=7450 -w -pipe
CXXFLAGS: -O3 -mcpu=7450 -mtune=7450 -w -pipe
MAKEFLAGS: -j1
==> Downloading http://ftp.gnu.org/gnu/wget/wget-1.12.tar.bz2
File already downloaded and cached to /Users/wanzie/Library/Caches/Homebrew
@sam452
sam452 / gist:1478984
Created December 14, 2011 23:00
homebrew wget PPC
Rockyserver:vitae wanzie$ brew install wget
==> Downloading http://ftp.gnu.org/gnu/wget/wget-1.12.tar.bz2
File already downloaded and cached to /Users/wanzie/Library/Caches/Homebrew
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file src/openssl.c
==> ./configure --disable-debug --prefix=/usr/local/Cellar/wget/1.12 --disable-i
==> make install
Making install in lib
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by readline configure 6.2, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/readline/6.2.1 --mandir=/usr/local/Cellar/readline/6.2.1/share/man --infodir=/usr/local/Cellar/readline/6.2.1/share/info --enable-multibyte
## --------- ##
## Platform. ##
==> Downloading http://ftpmirror.gnu.org/gawk/gawk-4.0.0.tar.bz2
File already downloaded in /Users/sam/Library/Caches/Homebrew
/usr/bin/tar xf /Users/sam/Library/Caches/Homebrew/gawk-4.0.0.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/gawk/4.0.0
./configure --prefix=/usr/local/Cellar/gawk/4.0.0
checking for a BSD-compatible install... ./install-sh -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
! Clear the input buffer. Useful if the parsing process goes wr
!pry Start a Pry session on current self; this even works mid mult
.<shell command> All text following a '.' is forwarded to the shell.
amend-line Amend a line of input in multi-line mode. Type `amend-line --
cat Show code from a file, Pry's input buffer, or the last except
cd Move into a new context (object or scope). Type `cd --help` f
edit Invoke the default editor on a file. Type `edit --help` for m
edit-method Edit a method. Type `edit-method --help` for more info.
exit Pop the previous binding (does NOT exit program). Type `exit
exit-all End the current Pry session (popping all bindings) and return
<form accept-charset="UTF-8" action="/prices" class="new_price" id="new_price" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="rEC0ei0bCc69fcMFriyEs1JWxlFu8zpHNAoaJ14rP0k=" /></div>
<input id="price_commodity_id" name="price[commodity_id]" type="hidden" value="1" />
<div class="field">
<label for="price_Quality">Quality</label><br />
<input id="price_quality" name="price[quality]" size="30" type="text" />
</div>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Keriakut</title>
<meta name="description" content="">
<meta name="author" content="">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Keriakut</title>
<meta name="description" content="">
<meta name="author" content="">