Last active
August 29, 2015 14:13
-
-
Save boscoworks/e2d3cd55a56d3281b746 to your computer and use it in GitHub Desktop.
apr/apr-utilをソースコードビルドする ref: http://qiita.com/boscoworks/items/dbe4eeeec4dd1ad36992
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://www.us.apache.org/dist/apr/apr-1.5.1.tar.gz -P /usr/local/share/downloaded/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -zxvf /usr/local/share/downloaded/apr-1.5.1.tar.gz -C /usr/local/src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /usr/local/lib/apr-util-1.5.4/ /usr/local/apr-util |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "/usr/local/lib/apr-util-1.5.4/lib" > /usr/local/etc/ld.so.conf.d/apr-util-1.5.4.conf | |
sudo ln -s /usr/local/etc/ld.so.conf.d/apr-util-1.5.4.conf /etc/ld.so.conf.d/apr-util-1.5.4.conf | |
sudo ldconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -r /usr/local/share/downloaded/apr-1.5.1.tar.gz | |
sudo rm -r /usr/local/src/apr-1.5.1/ | |
sudo rm -r usr/local/lib/apr-1.5.1/ | |
sudo rm -r /usr/local/apr | |
sudo rm -r /usr/local/etc/ld.so.conf.d/apr-1.5.1.conf | |
sudo rm -r /etc/ld.so.conf.d/apr-1.5.1.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ldconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -r /usr/local/share/downloaded/apr-util-1.5.4.tar.gz | |
sudo rm -r /usr/local/src/apr-util-1.5.4/ | |
sudo rm -r usr/local/lib/apr-util-1.5.4/ | |
sudo rm -r /usr/local/apr-util | |
sudo rm -r /usr/local/etc/ld.so.conf.d/apr-util-1.5.4.conf | |
sudo rm -r /etc/ld.so.conf.d/apr-util-1.5.4.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ldconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src/apr-1.5.1/ | |
./configure --prefix=/usr/local/lib/apr-1.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /usr/local/lib/apr-1.5.1 /usr/local/apr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "/usr/local/lib/apr-1.5.1/lib" > /usr/local/etc/ld.so.conf.d/apr-1.5.1.conf | |
sudo ln -s /usr/local/etc/ld.so.conf.d/apr-1.5.1.conf /etc/ld.so.conf.d/apr-1.5.1.conf | |
sudo ldconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://www.us.apache.org/dist/apr/apr-util-1.5.4.tar.gz -P /usr/local/share/downloaded/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -zxvf /usr/local/share/downloaded/apr-util-1.5.4.tar.gz -C /usr/local/src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src/apr-util-1.5.4/ | |
./configure --prefix=/usr/local/lib/apr-util-1.5.4 --with-apr=/usr/local/lib/apr-1.5.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment