Skip to content

Instantly share code, notes, and snippets.

View davidfstr's full-sized avatar
⚙️
Happy coding!

David Foster davidfstr

⚙️
Happy coding!
View GitHub Profile
@davidfstr
davidfstr / gist:3726513
Created September 15, 2012 05:55
Linker errors for cosyTabs under Lion
Ld /Users/davidf/Library/Developer/Xcode/DerivedData/cosyTabs-dcgcuzxftgpnvkeounisoqrpoewb/Build/Products/Debug/cosyTabs.bundle/Contents/MacOS/cosyTabs normal x86_64
cd /Users/davidf/Downloads/inket-cosyTabs-95cf70e
setenv MACOSX_DEPLOYMENT_TARGET 10.7
/Developer/usr/bin/clang -arch x86_64 -bundle -isysroot /Developer/SDKs/MacOSX10.7.sdk -L/Users/davidf/Library/Developer/Xcode/DerivedData/cosyTabs-dcgcuzxftgpnvkeounisoqrpoewb/Build/Products/Debug -F/Users/davidf/Library/Developer/Xcode/DerivedData/cosyTabs-dcgcuzxftgpnvkeounisoqrpoewb/Build/Products/Debug -filelist /Users/davidf/Library/Developer/Xcode/DerivedData/cosyTabs-dcgcuzxftgpnvkeounisoqrpoewb/Build/Intermediates/cosyTabs.build/Debug/cosyTabs.build/Objects-normal/x86_64/cosyTabs.LinkFileList -mmacosx-version-min=10.7 -fobjc-arc -framework CoreFoundation -o /Users/davidf/Library/Developer/Xcode/DerivedData/cosyTabs-dcgcuzxftgpnvkeounisoqrpoewb/Build/Products/Debug/cosyTabs.bundle/Contents/MacOS/cosyTabs
Undefined symbols for architecture x
@davidfstr
davidfstr / gist:3754498
Created September 20, 2012 07:51
rvm reinstall 1.9.3
[davidf ~/Projects/Classic Package Manager/Prototypes/mediafire-ftp]$ rvm reinstall 1.9.3
Removing /Users/davidf/.rvm/src/ruby-1.9.3-p194...
Removing /Users/davidf/.rvm/rubies/ruby-1.9.3-p194...
Removing default ruby interpreter
Removing ruby-1.9.3-p194 aliases...
Removing ruby-1.9.3-p194 wrappers...
Removing ruby-1.9.3-p194 environments...
Removing ruby-1.9.3-p194 binaries...
Fetching yaml-0.1.4.tar.gz to /Users/davidf/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/davidf/.rvm/src
@davidfstr
davidfstr / gist:3759647
Created September 21, 2012 03:56
rvm info
ruby-1.9.3-p194:
system:
uname: "Darwin Cathode.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)"
zsh: "/bin/zsh => zsh 4.3.11 (i386-apple-darwin11.0)"
rvm:
version: "rvm 1.15.9 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "21 hours 42 minutes 33 seconds ago"
@davidfstr
davidfstr / gist:3768195
Created September 22, 2012 23:22
config.status
#! /bin/sh
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
debug=false
ac_cs_recheck=false
ac_cs_silent=false
@davidfstr
davidfstr / gist:3772265
Created September 23, 2012 16:45
config.status (yaml)
#! /bin/sh
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
debug=false
ac_cs_recheck=false
ac_cs_silent=false
(Lines prefixed with *** are colored red or looked suspicious to me)
================================================================================
[davidf /Users/davidf]$ rvm get head && rvm reinstall 1.9.3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10956 100 10956 0 0 8842 0 0:00:01 0:00:01 --:--:-- 10.4M
Downloading RVM from wayneeseguin branch master
% Total % Received % Xferd Average Speed Time Time Time Current
ERROR: Error installing rdiscount:
ERROR: Failed to build gem native extension.
C:/Ruby193/bin/ruby.exe extconf.rb
checking for random()... no
checking for srandom()... no
checking for rand()... yes
checking for srand()... yes
checking size of unsigned long... 4
checking size of unsigned int... 4
@davidfstr
davidfstr / gist:5219172
Created March 22, 2013 05:32
RDiscount 2.0.7.1 - Windows 7 - make in ext/
compiling rdiscount.c
In file included from c:\ruby193\devkit\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/windows.h:48:0,
from c:\ruby193\devkit\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:22,
from c:/Ruby193/include/ruby-1.9.1/ruby/win32.h:40,
from c:/Ruby193/include/ruby-1.9.1/ruby/defines.h:223,
from c:/Ruby193/include/ruby-1.9.1/ruby/ruby.h:67,
from c:/Ruby193/include/ruby-1.9.1/ruby.h:32,
from rdiscount.c:3:
c:\ruby193\devkit\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/windef.h:229:23: error: duplicate 'unsigned'
c:\ruby193\devkit\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/windef.h:238:23: error: duplicate 'unsigned'
@davidfstr
davidfstr / gist:5219304
Created March 22, 2013 06:00
RDiscount 2.0.7.1 - Windows 7 - make#2
compiling rdiscount.c
rdiscount.c: In function 'rb_rdiscount_to_html':
rdiscount.c:19:5: warning: implicit declaration of function 'rb_rdiscount__get_flags'
rdiscount.c:19:5: warning: ISO C90 forbids mixed declarations and code
rdiscount.c:32:5: warning: ISO C90 forbids mixed declarations and code
rdiscount.c: In function 'rb_rdiscount_toc_content':
rdiscount.c:68:5: warning: ISO C90 forbids mixed declarations and code
compiling resource.c
In file included from resource.c:17:0:
markdown.h:85:5: error: expected specifier-qualifier-list before 'DWORD'
@davidfstr
davidfstr / gist:5328582
Created April 7, 2013 02:15
RVM: OS X 10.8 Install Failure
mes-MacBook-Pro:~ me$ \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 831 0 --:--:-- --:--:-- --:--:-- 1323
100 13171 100 13171 0 0 14267 0 --:--:-- --:--:-- --:--:-- 41159
Please read and follow further instructions.
Press ENTER to continue.
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed