Skip to content

Instantly share code, notes, and snippets.

@boscoworks
Last active August 29, 2015 14:14
Show Gist options
  • Save boscoworks/f20ac299d85d91911e0a to your computer and use it in GitHub Desktop.
Save boscoworks/f20ac299d85d91911e0a to your computer and use it in GitHub Desktop.
bisonをソースコードビルドする ref: http://qiita.com/boscoworks/items/8591a152ed66d1391ae0
wget http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.gz -P /usr/local/share/downloaded/
tar -zxvf /usr/local/share/downloaded/bison-3.0.4.tar.gz -C /usr/local/src/
cd /usr/local/src/bison-3.0.4/
./configure --prefix=/usr/local/lib/bison-3.0.4
sudo make install
sudo ln -s /usr/local/lib/bison-3.0.4 /usr/local/bison
sudo rm -r /usr/local/share/downloaded/bison-3.0.4.tar.gz
sudo rm -r /usr/local/src/bison-3.0.4/
sudo rm -r usr/local/lib/bison-3.0.4/
sudo rm -r /usr/local/bison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment