Skip to content

Instantly share code, notes, and snippets.

View yano3's full-sized avatar
❄️
NO SNOW, NO LIFE.

Teppei Yano yano3

❄️
NO SNOW, NO LIFE.
View GitHub Profile
$ cd subversion-1.7.8
$ ./configure
$ make
$ sudo make install
@yano3
yano3 / gist:4491570
Created January 9, 2013 08:28
installed packages to compile subversion
$ sudo yum install apr-util-devel
$ sudo yum install sqlite-devel
$ sudo yum install neon-devel
@yano3
yano3 / gist:4491493
Created January 9, 2013 08:14
svn: E170000
$ svn co http://path/to/repo .
svn: E170000: Unrecognized URL scheme for 'http://path/to/repo'
@yano3
yano3 / gist:4491438
Created January 9, 2013 07:57
subversion 1.7.8 configure error
configure: checking sqlite library
checking sqlite amalgamation... no
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
checking sqlite library version (via pkg-config)... no
An appropriate version of sqlite could not be found. We recommmend
3.7.6.3, but require at least 3.6.18.
Please either install a newer sqlite on this system
@yano3
yano3 / gist:4491433
Created January 9, 2013 07:55
subversion 1.7.8 configure error
configure: Apache Portable Runtime (APR) library configuration
checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'
or
get it with SVN and put it in a subdirectory of this source:
@yano3
yano3 / gist:4118715
Created November 20, 2012 15:46
Sakura VPS df -h
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 192G 2.3G 180G 2% /
none 1001M 176K 1001M 1% /dev
none 1005M 0 1005M 0% /dev/shm
none 1005M 32K 1005M 1% /var/run
none 1005M 0 1005M 0% /var/lock
none 1005M 0 1005M 0% /lib/init/rw
@yano3
yano3 / gist:4108957
Created November 19, 2012 04:26
brew upgrade mysql
$ brew upgrade mysql
Warning: Your Xcode (3.2.5) is outdated
Please install Xcode 3.2.6.
==> Upgrading mysql
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.5.28.snowleopard.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mysql-5.5.28.snowleopard.bottle.tar.gz
==> Caveats
Set up databases to run AS YOUR USER ACCOUNT with:
unset TMPDIR
@yano3
yano3 / gist:4029721
Created November 7, 2012 05:29
installing perlbrew
## Download the latest perlbrew
## Installing perlbrew
perlbrew is installed: ~/perl5/perlbrew/bin/perlbrew
perlbrew root (~/perl5/perlbrew) is initialized.
Append the following piece of code to the end of your ~/.bash_profile and start a
new shell, perlbrew should be up and fully functional from there:
$ brew upgrade mysql
Warning: Your Xcode (3.2.5) is outdated
Please install Xcode 3.2.6.
==> Upgrading mysql
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.5.27.snowleopard.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mysql-5.5.27.snowleopard.bottle.tar.gz
==> Caveats
Set up databases to run AS YOUR USER ACCOUNT with:
unset TMPDIR
$ brew upgrade zsh
Warning: Your Xcode (3.2.5) is outdated
Please install Xcode 3.2.6.
==> Upgrading zsh
==> Downloading http://www.zsh.org/pub/zsh-5.0.0.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/zsh/5.0.0 --enable-fndir=/usr/local/Cellar/zsh/5.0.0/share/zsh/functions --enable-scriptdir=/usr/local/Cellar/zsh/5.0
==> make install
==> Caveats
To use this build of Zsh as your login shell, add it to /etc/shells.