Skip to content

Instantly share code, notes, and snippets.

View gist:1211204
make: *** [pure_site_install] Error 13
BOBTFISH/Catalyst-Runtime-5.90002.tar.gz
/usr/bin/make install -- NOT OK
----
You may have to su to root to install the package
(Or you may want to run something like
o conf make_install_make_command 'sudo make'
to raise your permissions.Failed during this command:
VPIT/Variable-Magic-0.46.tar.gz : install NO
FLORA/B-Hooks-EndOfScope-0.09.tar.gz : install NO
@Houdini
Houdini / gist:1192015
Created Sep 4, 2011
brew easy-tag install problem
View gist:1192015
houdini: ~/Music > brew install easy-tag
==> Installing easy-tag dependency: libiconv
==> Downloading http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
patching file Makefile.devel
Hunk #1 succeeded at 106 (offset 1 line).
@Houdini
Houdini / autobench_plot.py
Created Aug 31, 2011
python autobench grapher
View autobench_plot.py
from optparse import OptionParser
import sys
from pylab import *
parser = OptionParser()
parser.add_option('-f', '--file', dest = "filenames", help = "files devided by comma")
parser.add_option("-l", "--legend", dest = "legend", help = "legend for plots")
(options, args) = parser.parse_args()
View undefined method `parent' for nil:NilClass
activesupport (3.0.7) lib/active_support/whiny_nil.rb:48:in `method_missing'
haml (3.1.1) lib/haml/parser.rb:397:in `close'
haml (3.1.1) lib/haml/parser.rb:171:in `process_indent'
haml (3.1.1) lib/haml/parser.rb:171:in `times'
haml (3.1.1) lib/haml/parser.rb:171:in `process_indent'
haml (3.1.1) lib/haml/parser.rb:137:in `parse'
haml (3.1.1) lib/haml/engine.rb:124:in `initialize'
haml (3.1.1) lib/haml/template/plugin.rb:34:in `new'
haml (3.1.1) lib/haml/template/plugin.rb:34:in `compile'
haml (3.1.1) lib/haml/template/plugin.rb:39:in `call'
View gist:995276
host192-168-1-3:dm-rails houdini$ rake spec
/Users/houdini/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- dm--adapter/spec/setup (LoadError)
from /Users/houdini/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/houdini/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.1.0/lib/dm-core/spec/setup.rb:49:in `require_spec_adapter'
from /Users/houdini/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.1.0/lib/dm-core/spec/setup.rb:28:in `configure'
from /Users/houdini/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.1.0/lib/dm-core/spec/setup.rb:69:in `perform_action'
from /Users/houdini/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.1.0/lib/dm-core/spec/setup.rb:19:in `setup'
from /Users/houdini/fun-box/dm-rails/spec/spec_helper.rb:7:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
View gist:963203
set :config_yaml, YAML.load_file(File.dirname(__FILE__) + '/deploy_config.yml')
set :stages, ['production', 'staging']
set :default_stage, 'staging'
require 'capistrano/ext/multistage'
# set :whenever_command, "bundle exec whenever"
# set(:whenever_update_flags) {"--set environment=#{stage} --update-crontab #{whenever_identifier}"}
# require 'whenever/capistrano'
@Houdini
Houdini / mysql_install_db: segmentation fault: 11
Created Apr 25, 2011
mysql_install_db --force --basedir=/usr/local/Cellar/mysql/5.5.10 --datadir=/usr/local/Cellar/mysql/5.5.10/data/ --tmpdir=/tmp
View mysql_install_db: segmentation fault: 11
~ $ mysql_install_db --force --basedir=/usr/local/Cellar/mysql/5.5.10 --datadir=/usr/local/Cellar/mysql/5.5.10/data/ --tmpdir=/tmp
mkdir: /usr/local/Cellar/mysql/5.5.10/data//mysql: Permission denied
chmod: /usr/local/Cellar/mysql/5.5.10/data//mysql: Permission denied
mkdir: /usr/local/Cellar/mysql/5.5.10/data//test: Permission denied
chmod: /usr/local/Cellar/mysql/5.5.10/data//test: Permission denied
Installing MySQL system tables...
/usr/local/bin/mysql_install_db: line 428: 5078 Done { echo "use mysql;"; cat $create_system_tables $fill_system_tables; }
5079 Done(141) | eval "$filter_cmd_line"
5080 Segmentation fault: 11 | $mysqld_install_cmd_line > /dev/null
@Houdini
Houdini / brew info mysql
Created Apr 22, 2011
same segmentation error
View brew info mysql
Last login: Fri Apr 22 05:11:36 on console
~ $ brew info mysql
mysql 5.5.10
http://dev.mysql.com/doc/refman/5.5/en/
Depends on: cmake, readline, pidof
find: /usr/local/Cellar/mysql/5.5.10/data: Permission denied
du: /usr/local/Cellar/mysql/5.5.10/data: Permission denied
/usr/local/Cellar/mysql/5.5.10 (6232 files, 219M)
@Houdini
Houdini / facebook.rb
Created Apr 21, 2011
facebook connection with oauth2 gem. Works under 1.9.2 and error in ruby 1.8.7
View facebook.rb
require 'rubygems'
# require 'faraday'
# module Faraday
# class Adapter < Middleware
# def call(env)
# env[:ssl][:verify] = false if env[:ssl]
# process_body_for_request(env)
# end
@Houdini
Houdini / brew install libwmf
Created Apr 19, 2011
ENV.j1 is right after def install
View brew install libwmf
~/my_ruby $ brew install libwmf
==> Downloading http://downloads.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz
File already downloaded and cached to /Users/houdini/Library/Caches/Homebrew
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/libwmf/0.2.8.4 --with-freetype=/usr/X11
==> make
make all-recursive
Making all in .
make[2]: Nothing to be done for `all-am'.
Making all in src
Making all in extra